Документ взят из кэша поисковой машины. Адрес оригинального документа :
http://wiki.cs.msu.ru/System/VarLANG?cover=print;raw=on
Дата изменения: Unknown
Дата индексирования: Sun Apr 10 14:48:46 2016
Кодировка:
#VarLANG ---+++ LANG -- the language specified by the server locale This macro is used to generate the =lang= (and =xml:lang=) attribute in generated HTML pages. If ={UseLocale}= is enabled, it is calculated from the [[%SCRIPTURLPATH{"configure"}%#Locale$Internationalisation][configure]] setting of ={Site}{Locale}=. Otherwise it defaults to =en= (English). * In templates the =lang= attribute is defined like this: <verbatim><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%"></verbatim> * Do not confuse =LANG= with [[VarLANGUAGE][LANGUAGE]] * Syntax: =%<nop>LANG%= * Expands to: =%LANG%=
This topic: System
>
WebHome
>
Macros
>
VarLANG
Topic revision:
19 Sep 2010,
ProjectContributor
(raw view)
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback