objdictgen/i18n/README
author bmakuc <blaz.makuc@smarteh.si>
Fri, 24 Mar 2017 10:52:38 +0100
changeset 796 1c87f7a8cb8a
parent 580 2ae92a99ac10
permissions -rw-r--r--
Send timeout is set to 10 ms. Without timeout PLC can be blocked by CAN driver: if CAN bus is not connected to controller CAN driver never returns and therfore PLC application halts. This is a temporary solution.
580
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     1
To generate message.pot file:
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     2
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     3
	python mki18n.py -p --domain=objdictgen
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     4
	
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     5
To generate .mo files for all languages:
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     6
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     7
	python mki18n.py -m --moTarget=../locale --domain=objdictgen
2ae92a99ac10 Adding support for internationalization
laurent
parents:
diff changeset
     8