f:l10n-language

f:l10n-language — Returns the best matching localization language.

Function:
{http://docbook.org/ns/docbook/functions}l10n-language#1
Defined in:
modules/functions.xsl
Used in:
modules/gentext.xsl, modules/l10n.xsl, modules/functions.xsl, modules/index.xsl, modules/inlines.xsl
Used by:

Synopsis

f:l10n-language($target as element()) as xs:string

Description

This function returns the localization language that best matches the language of the $target node. If $gentext-language is specified, it is always returned. The $default-language will be returned if there is no localization available for the declared language of the $target.