Laboratoire indépendant de recherche conviviale sur l'auto-production, la gratuité et la culture libre
∏ - À propos / Fonctionnement \ Admin - ∃ - Collecter des données / Évaluer \ Publier / Discuter \ Décider / Les contributeurs - ∈ - La Fabrique / Recherches \ Textes / Blog \ En chantier / La gratuiterie - ∑ - Le Boomerang / CEDREA \ Entrez sans payer / nonmarchand.org
Autoproduction / Culture libre / Économie non-marchande / Libertés / Recherche conviviale / Critique de la science économique / Critique de l'économie marchande alternative / De tout et de rien

Vue - Éditer - Historique - Imprimer - Référencé par

Inscription - Connexion
PmWiki /

I18n Variables

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

$DefaultPageCharset
Fix and correctly handle some pages with missing or wrong attributes when UTF-8 is enabled.
$EnableXLPageScriptLoad
This variable, if set to 0, will disable the 'xlpage-i18n' parameter in XLPage definitions and thus it will prevent editors from (accidentally) loading scripts and changing the website encoding. Note that if you use this variable, you should include the required scripts, eg. xlpage-utf-8.php, from config.php.
$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.


Suivre...
le sitela pagela rubrique



Le contenu du site GratiLab, laboratoire de recherche conviviale sur la gratuité, le DIY et la culture libre, sauf mentions contraires, ainsi que toute nouvelle contribution à ce site, est sous licence culturelle non-marchande.
Site gratuit, sans publicité, à but non lucratif, ouvert à tous ceux qui souhaitent effectuer des recherches sur les échanges non-marchands et la culture libre ou simplement partager leurs savoirs et savoirs-faire. Construit avec PmWiki.