.
PmWiki / I18nVariables

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

$VarPagesFmt
An array which contains the PageNames where you can find lists (trails) of pages containing 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:


This page may have a more recent version on pmwiki.org: PmWiki:I18nVariables, and a talk page: PmWiki:I18nVariables-Talk.


If you have been voting for politicians who promise to give you goodies at someone else's expense, then you have no right to complain when they take your money and give it to someone else, including themselves.

Thomas Sowell
1992

A2 Web Hosting
Creative Commons License
Get your Domain at GoDaddy.com
search engine by freefind advanced

loaded 2025-12-23 22:14:43 • last modified 2009-10-05 05:26:53
Privacy PolicyDisclaimer
• awcolley.com is powered by PmWiki
• all content (unless otherwise noted) © 2025 A W Colley