You are here: Foswiki>System Web>Category>UserDocumentationCategory>Macros>VarLANG (2024-12-23, UnknownUser)Edit Attach
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 Internationalization tab -> Locale sub-tab setting of {Site}{Locale}
. Otherwise it defaults to en
(English).
lang
attribute is defined like this: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%">
LANG
with LANGUAGE%LANG%
expands to en
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback