%LanguageISO meta-HTML element
Description
At runtime %LanguageISO is replaced with a string value representing the current session’s language code or language code and country code if a country code exists.
Use %LanguageISO to declare the language of a Web page using the HTML lang attribute.
For instance, if the
language for the current language is English, then <html lang="%LanguageISO"> resolves to <html lang="en"> at runtime. If the current language
is Canadian French then it would resolve to <html lang="fr-ca"> .
Note:
This variable is valid for use in auxiliary JavaScript files.
Example
&html = "<html dir='" | %Direction | "' lang='" | %LanguageISO | "'>";