LANG -- the lang attribute of generated HTML pages

  • In templates the lang attribute is defined like this:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%">
  • The value is read from configure setting {Site}{Locale}
  • Do not confuse LANG with LANGUAGE
  • Syntax: %LANG%
  • Expands to: de_DE

This topic: System > WebHome > Macros > VarLANG
Topic revision: 09 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