Difference between revisions of "Silme:apps"

From Braniecki's Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== webtool ===
+
== webtool ==
  
 
* install [http://www.djangoproject.com/ django]
 
* install [http://www.djangoproject.com/ django]
* pull mozpyl10n
+
* pull silme
 
* enter ./www
 
* enter ./www
 
* prepare settings.py
 
* prepare settings.py
Line 8: Line 8:
 
* python manage.py runserver
 
* python manage.py runserver
  
=== GUI tool ===
+
== GUI tool ==
  
 
* install QT4
 
* install QT4
 
* install PyQT4
 
* install PyQT4
* pull mozpyl10n
+
* pull silme
 
* enter ./gui/qt4
 
* enter ./gui/qt4
 
* python l10nObject.py
 
* python l10nObject.py
  
=== Command line tools ===
+
== Command line tools ==
  
* make sure you have python 2.5 and python-xml package
+
* make sure you have python 2.5
* pull verbatim
+
* 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

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