i18n/README
author laurent
Sun, 10 Jun 2012 20:20:09 +0200
changeset 765 ef221ba41dec
parent 734 5c42cafaee15
child 814 5743cbdff669
permissions -rw-r--r--
Add support for reorganizing toolbars when their size changed
361
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     1
To generate message.pot file:
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     2
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     3
	python mki18n.py -p --domain=Beremiz
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     4
	
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     5
To generate .mo files for all languages:
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     6
331d698e1118 Adding support for internationalization
laurent
parents:
diff changeset
     7
	python mki18n.py -m --moTarget=../locale --domain=Beremiz
734
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 361
diff changeset
     8
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 361
diff changeset
     9
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 361
diff changeset
    10
To generate app.fil:
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 361
diff changeset
    11
	
5c42cafaee15 Moved LPC sources to a separate project
Edouard Tisserant
parents: 361
diff changeset
    12
    find .. -name "*.py" -exec grep -q '_(' {} ';' -print -o -name "*XSD*" -print | grep -v '/build/' | grep -v '/pyjs/' > app.fil