Skip to content

Commit

Permalink
Item1926: add doc on LANG
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@8594 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Aug 19, 2010
1 parent f9fb427 commit bc69aea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/data/System/VarLANG.txt
@@ -0,0 +1,10 @@
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="$Rev: 1838 $"}%
%META:TOPICPARENT{name="Macros"}%
#VarLANG
---+++ LANG -- the =lang= attribute of generated HTML pages
* In templates the =lang= attribute is defined like this:
<verbatim><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%"></verbatim>
* The value is read from configure setting ={Site}{Locale}=
* Do not confuse =LANG= with [[VarLANGUAGE][LANGUAGE]]
* Syntax: =%<nop>LANG%=
* Expands to: =%LANG%=
1 change: 1 addition & 0 deletions core/lib/Foswiki/Contrib/core/MANIFEST
Expand Up @@ -218,6 +218,7 @@ data/System/VarIF.txt 0644
data/System/VarINCLUDE.txt 0644
data/System/VarINCLUDINGTOPIC.txt 0644
data/System/VarINCLUDINGWEB.txt 0644
data/System/VarLANG.txt 0644
data/System/VarLANGUAGE.txt 0644
data/System/VarLANGUAGES.txt 0644
data/System/VarLIME.txt 0644
Expand Down

0 comments on commit bc69aea

Please sign in to comment.