Документ взят из кэша поисковой машины. Адрес оригинального документа : http://wiki.cmc.msu.ru/System/VarLANGUAGES?sortcol=0;table=1;up=1
Дата изменения: Unknown
Дата индексирования: Mon Apr 11 11:27:09 2016
Кодировка: koi8-r
VarLANGUAGES < System < Foswiki

LANGUAGES -- list available languages

  • List the languages available (as PO files). These are the languages in which the user interface is available.
  • Syntax: %LANGUAGES{...}%
  • Supported parameters:
    Parameter:Sorted descending Description: Default:
    separator separator between items. "\n" (newline)
    selection="%LANGUAGE%" Current language to be selected in list (none)
    marker="selected" Text for $marker if the item matches selection "selected"
    format format for each item. See below for format tokens available in the format string. "   * $langname"
  • format tokens:
    Token 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
Topic revision: r1 - 07 Jan 2009, ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback