i18n/README
author Laurent Bessard
Mon, 27 Aug 2012 17:51:55 +0200
changeset 750 fedef839bfa8
parent 747 f36838792511
permissions -rw-r--r--
Merge Minyoung Sung and Reinhard Lee korean translations and update with latest messages.pot
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