i18n/README
author Reinhard Lee
Mon, 27 Aug 2012 17:33:41 +0200
changeset 748 18b38821201b
parent 747 f36838792511
permissions -rw-r--r--
Update Korean 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