i18n/README
author Laurent Bessard
Mon, 27 Aug 2012 23:09:48 +0200
changeset 752 6b63246474ff
parent 747 f36838792511
permissions -rw-r--r--
Fix bug in GraphicViewer in ToolTip of ResetZoomOffsetButton
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