Next: How to use po-lib on Hoot, Previous: Maintain translations with GNU Gettext, Up: Pure Scheme internationalization with po-lib [Contents][Index]
Once you are done translating, you should have a PO file. Open it as an input port, and read all translations, as a list.
Read a new translation entry from port, or the current input port. If port is at the end, return the end-of-file object.
In order to be usable, the translations must be registered to the run-time translator.
This parameter controls which PO files are used. Provided that you get multiple PO files, one for each language, you will have a list of list of translations. You can parameterize this with such a value. The PO files will be indexed in a binary search tree for efficient retrieval.
This parameter holds a list of languages to try in order. They can
have a regional component, separated from the language by an
underscore character. It is initialized with the value of the
LANG environment variable.
When loading the po-lib library, the current-languages variable
is initialized by the environment. In most cases, it is the content of
the LANG environment variable, and on Hoot, it is based on the
navigator.languages variable.
Return the list of language specified by the environment.