Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/VarLANGUAGES?rev1=2;rev2=1;skin=kubrick.nat%2Cnat%2C%20pattern;sortcol=1;table=3;up=0
Дата изменения: Unknown
Дата индексирования: Sun Mar 2 13:50:03 2014
Кодировка:
%TOPICTITLE% (1 vs. 2) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r2  >  r1  ...
VarLANGUAGES 2 - 2005-03-27 - Main.TWikiContributor
Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Deleted:
<
<
 

LANGUAGES -- list available TWiki languages

  • List the languages available (as PO files) to TWiki. Those are the languages in which TWiki's user interface is available.

VarLANGUAGES 1 - 2005-03-27 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

LANGUAGES -- list available TWiki languages

  • List the languages available (as PO files) to TWiki. Those are the languages in which TWiki's user interface is available.
  • Syntax: %LANGUAGES{...}%
  • Supported parameters:
    Parameter: Description:
    <-- -->
    Sorted ascending
    Default:
    selection="%LANGUAGE%" Current language to be selected in list (none)
    format format for each item. See below for variables available in the format string. "   * $langname"
    separator separator between items. "\n" (newline)
    marker="selected" Text for $marker if the item matches selection "selected"
  • format variables:
    Variable Meaning
    $langname language's name, as informed by the translators
    $langtag language's tag. Ex: en, pt-br, etc.
  • Example: <select>%LANGUAGES{format="<option $marker value='$langtag'>$langname</option>" selection="%LANGUAGE%"}%</select> creates an option list of the available languages with the current language selected

Revision 2r2 - 2005-03-27 - 13:14:15 - TWikiContributor
Revision 1r1 - 2005-03-27 - 13:14:15 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarLANGUAGES
Syndicate this site RSSATOM