i18n/README
author Laurent Bessard
Sat, 25 Aug 2012 14:47:23 +0200
changeset 747 f36838792511
parent 391 07447ee3538e
permissions -rw-r--r--
Update list of messages to be translated for internationalization and french translations
391
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     1
To generate message.pot file:
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     2
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     3
	python mki18n.py -p --domain=PLCOpenEditor
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     4
	
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     5
To generate .mo files for all languages:
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     6
07447ee3538e Adding support for internationalization
laurent
parents:
diff changeset
     7
	python mki18n.py -m --moTarget=../locale --domain=PLCOpenEditor
747
f36838792511 Update list of messages to be translated for internationalization and french translations
Laurent Bessard
parents: 391
diff changeset
     8
f36838792511 Update list of messages to be translated for internationalization and french translations
Laurent Bessard
parents: 391
diff changeset
     9
To generate app.fil:
f36838792511 Update list of messages to be translated for internationalization and french translations
Laurent Bessard
parents: 391
diff changeset
    10
	
f36838792511 Update list of messages to be translated for internationalization and french translations
Laurent Bessard
parents: 391
diff changeset
    11
    find .. -name "*.py" -exec grep -q '_(' {} ';' -print -o -name "*.csv" -print > app.fil