$default-language — Default language.

Defined in:
Used in:
modules/gentext.xsl, modules/functions.xsl
Used by:
f:language(), f:l10n-language()


$default-language := 'en'


If the stylesheets need to generate text (the names of labels such as “Chapter”, for example), they attempt to do so in the same language as the document. This is determined by finding the nearast in-scope xml:lang attribute from the context where the generated text is required.

If there is no in-scope xml:lang attribute, or if there is no localization available for the language specified, the $default-language is used instead.