Wyszukaj:

I18n Variables

(:Summary: PmWiki group header. Includes styles and trail.:)

Documentation index

< Edit Variables | Variables | Layout Variables >

{PmWiki.I18nVariables$:Audience}

(:Summary:variables used for internationalization (i18n):)

This page describes the variables used by PmWiki for Internationalizations (i18n).

$VarPagesFmt
An array which contains the PageNames where you can find variable definitions. To be modified when documentation is not in english. See scripts/vardoc.php.
$XL
An array (hash) which contains pairs of language identifiers and translation hashes. Each translation hash maps a given lookup key (or phrase) into a corresponding text string for the given language. Thus, it is essentially a multi-lingual dictionary used for phrase translation. It is also used for handling user preference mappings. Thus, the 'e_row' value that one finds on the Site.Preferences page is loaded into $XL during preference processing.
$XLLangs
An array that contains the names of the currently active language definitions. Only dictionaries in $XL that are named in $XLLangs are used by the $[...] markup when performing a translation.

See also:

Documentation index

< Edit Variables | Variables | Layout Variables >


Data ostatniej modyfikacji: 31.08.2008, 12:34

Copyright© SIMB 2009.