This library has 16 classes.
ECF: i18n.ecf
An internationalization library with support for translations rendered in Pyxis format. There are a number of tools in el_toolkit to support the use of this library.
Locale that defines the language used for translations keys via the country code id key_language.
Further Information
Click on class link to see client examples.
Object accessible via EL_MODULE_LOCALE that returns translated strings using the syntax:
Locale * "<text>"
The translation files are named locale.x where x is a 2 letter country code, with expected location defined by Localization_dir, By default this is set to Directory.Application_installation accessible via EL_MODULE_DIRECTORY.
The locale data files are compiled from Pyxis format using the el_toolkit -compile_translations sub-application option.
Further Information
Click on class link to see client examples.
Localization implementation via once routine Locale. By calling the once routine Locale in the application before the once routine {EL_MODULE_DEFERRED_LOCALE}.Locale, any library classes that have deferred localization will now use Locale.
Further Information
Click on class link to see client examples.
Compile a manifest list of Pyxis locale translation files into a directory locales binary data files. For example:
locales/en locales/de locales/fr
Further Information
Click on class link to see notes and client examples.
Shared FUNCTION to create Pyxis source for adhoc-translations. Useful for decrypted credit titles for application "about dialog".
Define the language that is be used for translation item identifiers
Further Information
Click on class link to see client examples.
Compiles a set of language codes from a Pyxis translation source
Further Information
Click on class link to see client examples.
Translated storable item. Lookup keys may have an optional language prefix, "en." for example.
Storable chain of translation items conforming to EL_TRANSLATION_ITEM
Further Information
Click on class link to see client examples.
Translation table that stores all translation item text and lookup keys as a single shared UTF-8 encoded string of type IMMUTABLE_STRING_8
Further Information
Click on class link to see client examples.
Table of locale data file paths
Further Information
Click on class link to see client examples.
Translation table for multiple languages with each key having a language code prefix: en. de. fr. for example.
Further Information
Click on class link to see client examples.
EL_MULTI_LANGUAGE_TRANSLATION_TABLE that is initialized by a localization configuration file in Pyxis format.
pyxis-doc: version = 1.0; encoding = "ISO-8859-1" # class TEST_PHRASES_TEXT # Testing ISO-8859-1 encoding in EL_MERGED_PYXIS_LINE_LIST translations: item: id = "Enter a passphrase" # first has no check translation: lang = de 'Geben sie ein passphrase für "$NAME" tagebuch' translation: lang = en 'Enter a passphrase for "$NAME" journal'
Further Information
Click on class link to see client examples.
Translation table
Further Information
Click on class link to see client examples.
EL_MULTI_LANGUAGE_TRANSLATION_TABLE that is initialized by a localization configuration file in XML format.
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- class TEST_PHRASES_TEXT --> <translations> <item id = "Enter a passphrase"> <!--first has no check--> <translation lang = "de">Geben sie ein passphrase für "$NAME" tagebuch</translation> <translation lang = "en">Enter a passphrase for "$NAME" journal</translation> </item> <item id = "Delete journal"> <translation lang = "de" check = "true"> Löschen tagebuch: "%S" Sind sie sicher? </translation> <translation lang = "en"> Delete journal: "%S" Are you sure? </translation> </item> </translations>
Further Information
Click on class link to see client examples.
Routines to test localization keys present
Further Information
Click on class link to see client examples.