Difference between revisions of "Silme:apps"

From Braniecki's Wiki
Jump to navigation Jump to search
 
Line 41: Line 41:
  
 
converts one format to another
 
converts one format to another
 +
<code>
 +
./scripts/l10nconv.py file1 file2
 +
</code>
  
 
=== l10nmerge ===
 
=== l10nmerge ===
  
 
merges two locales (for example xy to en-US) to build usable bundle
 
merges two locales (for example xy to en-US) to build usable bundle
 +
<code>
 +
./scripts/l10nmerge.py PATH1 PATH2 RESULTPATH
 +
</code>

Latest revision as of 17:38, 28 July 2008

webtool

  • install django
  • pull silme
  • enter ./www
  • prepare settings.py
  • python manage.py syncdb
  • python manage.py runserver

GUI tool

  • install QT4
  • install PyQT4
  • pull silme
  • enter ./gui/qt4
  • python l10nObject.py

Command line tools

  • make sure you have python 2.5
  • pull silme

compare-locales

compares two locales

launch by ./scripts/compare-locales.py PATH1 PATH2

compare-versions

compares two paths including value changes

./scripts/compare-locales.py PATH1 PATH2

l10nconv

converts one format to another ./scripts/l10nconv.py file1 file2

l10nmerge

merges two locales (for example xy to en-US) to build usable bundle ./scripts/l10nmerge.py PATH1 PATH2 RESULTPATH