Z41 Pro / Lite / COM
http://www.zennio.com
Tecnical Support:
http://support.zennio.com
31
2.11
TRANSLATIONS
Texts shown on the screen can be translated into up to five different languages.
Switching from language to another can be done through two types of communication
objects:
A one-byte object
. The values expected by this object are fixed from 0 to 4,
to select the corresponding language. When receiving the value of a non-
enabled language, the main language will be activated. When the received
value is out of range, the active language remains unchanged.
A
two-byte ASCII object
. The values expected by this object are two ASCII
code characters corresponding to the ISO 639-1 standard. When receiving the
value of a non-enabled language, the main language is selected.
Note
:
please refer to
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
for
a table with the language codes
The language corresponding to the texts introduced in ETS must be indicated by means
of a parameter and will be the one shown by default (main language).
Translations should be uploaded to the device through an external USB memory. The
desired language can be selected by means of the mentioned communication object. If
the value does not correspond to any language the current language will be maintained.
2.11.1
IMPORT AND EXPORT TRANSLATIONS
The translations
will be saved in “.xlf” files in the Z41. After a download, the ETS
parameterized texts will be the ones in the main language (or language 0 file), and it will
be overwritten.
Other languages files will have to be generated externally and, afterwards, uploaded to
the Z41. For this purpose, it will be possible to export and import languages via USB.
Only 1 to 4 languages can be imported and only de main language or language 0 can
be exported. The next requirements must be fulfilled:
Export:
it must be created an
empty
folder named “
lang_export
” on the root
directory of a pen drive and connect it to the Z41. A
file named “
text-dflt_0.xlf
”,
with all the parameterised texts in ETS will be created in the mentioned folder.