Log In | Users | Register
%SITEMAPWHAT%
Edit | Attach | New | Raw | Delete | History | Subscribe | Print | Tools
You are here: System » Macros » VarLANG

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: pt_BR
spacer
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
Syndicate this site RSS ATOM