f:locales
f:locales — Returns the locales detected in the document.
Function:
{http://docbook.org/ns/docbook/functions}locales#1
Defined in:
modules/gentext.xsl
Used in:
modules/gentext.xsl
Synopsis
f:locales( | $context as document-node()) as xs:string+ |
Description
This function returns the locales (languages) detected in the document.
It always returns the $default-language
and “en
” as well.
This function replaces the $v:locales
variable.