i18n/README
author Laurent Bessard
Wed, 05 Sep 2012 11:19:27 +0200
changeset 756 7eb469275611
parent 747 f36838792511
permissions -rw-r--r--
Fix bug when trying to open ForceVariableDialog from DebugVariablePanel
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