Difference between revisions of "Silme:apps"
Jump to navigation
Jump to search
Zbraniecki (talk | contribs) |
Zbraniecki (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == webtool == | |
* install [http://www.djangoproject.com/ django] | * install [http://www.djangoproject.com/ django] | ||
Line 8: | Line 8: | ||
* python manage.py runserver | * python manage.py runserver | ||
− | + | == GUI tool == | |
* install QT4 | * install QT4 | ||
Line 16: | Line 16: | ||
* python l10nObject.py | * python l10nObject.py | ||
− | + | == Command line tools == | |
* make sure you have python 2.5 | * make sure you have python 2.5 | ||
* pull silme | * pull silme | ||
+ | |||
+ | === compare-locales === | ||
+ | |||
+ | compares two locales | ||
+ | |||
+ | launch by | ||
+ | <code> | ||
+ | ./scripts/compare-locales.py PATH1 PATH2 | ||
+ | </code> | ||
+ | |||
+ | === compare-versions === | ||
+ | |||
+ | compares two paths including value changes | ||
+ | |||
+ | <code> | ||
+ | ./scripts/compare-locales.py PATH1 PATH2 | ||
+ | </code> | ||
+ | |||
+ | === l10nconv === | ||
+ | |||
+ | converts one format to another | ||
+ | <code> | ||
+ | ./scripts/l10nconv.py file1 file2 | ||
+ | </code> | ||
+ | |||
+ | === l10nmerge === | ||
+ | |||
+ | 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
Contents
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