Functions summary
i18n |
gettext wrapper (for future extensions). |
i18nEmulateGettext |
Emulates GNU gettext |
i18nGetAvailableLanguages |
Returns the available_languages array to prevent globals. |
i18nInit |
Initializes the i18n stuff. |
i18nMatchBrowserAccept |
Tries to match the language given by $accept to one of the languages in the
system. |
i18nRegisterDomain |
Registers a new i18n domain. |
i18nStripAcceptLanguages |
Strips all unnecessary information from the $accept string. Example:
de,nl;q=0.7,en-us;q=0.3 would become an array with de,nl,en-us |
mi18n |
If a translation is missing its key will be returned. If the setting
debug/module_translation_message is set to true, which is the default, it then
will be prefixed by 'Module translation not found: '. |
trans |
gettext wrapper (for future extensions). |