Последние изменения - Поиск:

Новости
Хроника

2017-98-08-Deb:

2017-05-03-11-24-57:

2011-10-02:

2011-08-27:

2011-05-30:

2011-05-28:

2011-04-16:

2011-01-22:

2010-12-03-13-04-04:

2010-09-24:

2010-01-08:

2009-11-16:

2009-09-xx:

2008-01-25:

2007-09-28:

2007-04-21:

2007-04-13:

2006-12-01:

2006-09-22:

2006-09-06:

2006-04-20:

2006-03-XX:

2006-01-XX:

2006-01-28-04-57-02:

2005-09-23:

2005-08-12:

2005-01-24:

2004-09-24:

2004-05-13:

2003-12-08:

2003-04-04:

2002-02-22:

2002-01-25:

Архив


Старый сайт External Link to http://gaish78.narod.ru/
Хочу жить вечно External Link to http://virtualphotoalbum.tau-site.ru/2009_FFMeeting/index.htm

I18nVariables

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

$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 External Link to http://www.pmwiki.org: PmWiki:I18nVariables External Link to http://www.pmwiki.org/wiki/PmWiki/I18nVariables, and a talk page: PmWiki:I18nVariables-Talk External Link to http://www.pmwiki.org/wiki/PmWiki/I18nVariables-Talk.

Править - История - Печать - Последние изменения - Поиск
Редакция от 10.09.2011 20:08