i18n.eh
Internationalization support More...
Types
Functions
Description
This header provides support for multilingual applications.
Type details
catalog of translated messages
Function details
Sets locale to be used in this program.
Do not forget to reload message catalogs after changing locale.
def settextdomain(domain: String);
|
Sets the default text domain for this application.
This function attempts to load
Returns translated string from the default message catalog.
If message catalog is not set or does not contain translation
then the original string is returned.
Loads and returns message catalog for current locale.
This function always returns non-null value. If the message catalog
does not exist or can not be loaded then empty catalog is returned.
Returns translated string from the message catalog.
If message catalog is not set or does not contain translation
then the original string is returned.