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 configure setting of {Site}{Locale}. Otherwise it defaults to en (English).
  • In templates the lang attribute is defined like this:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%">
  • Do not confuse LANG with LANGUAGE
  • Syntax: %LANG%
  • Expands to: en
Topic revision: r1 - 19 Sep 2010 - 08:45:34 - ProjectContributor
 

Herausgeberin:
Hochschülerinnen- und Hochschülerschaft an der Technische Universität Wien
(Vorsitzender: Lukas BÜRSTMAYR)
Wiedner Hauptstraße 8-10
1040 Wien
T: +43-1-58801-49501
F: +43-1-58691-54
sekretariat@htu.at