![JAR search and dependency download from the Maven repository](/logo.png)
cloud.war.dist.xslt.base.common.l10n.xsl Maven / Gradle / Ivy
A hook for customizer localization data
This template is hook for customizers to add localization data.
Any localization rules provided by this template will override the default
localization data.
Any customizer-supplied localization data.
Identifies the natural language associated with an element
This function returns the natural language associated with specified
target.
target
The node for which the language should be calculated.
xref-context
If true, the resolution is taking place in a cross-reference context.
FIXME: I think there's a bug here!
The language.
_
No localization exists for "
" or "
". Using default "
".
Returns a language attribute, if appropriate.
This template returns an attribute named lang
with the language of the specified node, if the specified node has
an in-scope language declaration.
node
The node for which the language should be calculated.
A lang attribute, or ().
Returns the generated text associated with a particular key
in a particular language (locale)
This template finds the gentext associated with a specified key
in a specified locale. If no key can be found in the specified language,
English will be used to locate a default.
node
The context node.
key
The gentext key, defaults to the local name of the context node.
lang
The gentext language (locale), defaults to the language of the
context node.
The generated text.
No "
" localization of "
" exists
.
; using "en".
Returns the generated text associated with a particular key
in a particular language (locale)
This template finds the gentext associated with a specified key
in a specified locale. If no key can be found in the specified language,
English will be used to locate a default.
key
The gentext key, defaults to the local name of the context node.
lang
The gentext language (locale), defaults to the language of the
context node.
The generated text.
Returns the generated text template associated with a particular set
of criteria
This template finds the gentext template associated with the specified
parameters.
context
The context of the template.
name
The name of the template.
purpose
The purpose of the template.
xrefstyle
If the purpose is for a cross reference, the cross reference style.
referrer
If the purpose is for a cross reference, the referrer.
lang
The language, defaults to the language of the current context node.
The generated text template.
No "
" localization exists.
No context named "
" exists in the "
" localization.
No template for "
" (or any of its leaves) exists
in the context named "
" in the "
" localization.
Tests if the generated text template associated with a particular set
of criteria exists
This template attempts to find the gentext template associated with
the specified parameters.
context
The context of the template.
name
The name of the template.
purpose
The purpose of the template.
xrefstyle
If the purpose is for a cross reference, the cross reference style.
referrer
If the purpose is for a cross reference, the referrer.
lang
The language, defaults to the language of the current context node.
“1” if the template exists, “0” otherwise.
1
0
Returns the symbol associated with a named dingbat
See dingbat .
dingbat
The name of the dingbat for which a symbol is sought.
lang
The language, defaults to the language of the current context node.
The symbol.
bullet
Returns the symbol associated with “startquote”
See dingbat .
The symbol.
Returns the symbol associated with “endquote”
See dingbat .
The symbol.
Returns the symbol associated with “nestedstartquote”
See dingbat .
The symbol.
Returns the symbol associated with “nestedendquote”
See dingbat .
The symbol.
Translates a dingbat name into a symbol
This function returns the symbol associated with the named
dingbat. The symbols used are locale-dependent, so a context item must
be specified. The default language of that item is used to determine
which locale is used.
If the specified dingbat does not exist in that locale, the English
locale value will be used as the default.
context
The context item.
dingbat
The name of dingbat.
The symbol associated with the specified dingbat.
Translates a dingbat name into a symbol
This function returns the symbol associated with the named
dingbat. The symbols used are locale-dependent.
If the specified dingbat does not exist in the specified locale,
the English locale value will be used as the default.
context
The context item.
dingbat
The name of dingbat.
lang
The language to use for mapping the name to a symbol.
The symbol associated with the specified dingbat.
No "
" localization of dingbat
exists; using "en".
Test whether there is localization file for specified languahe
This function returns true/false.
lang
BCP 47 code of language.
true/false
Returns localization data for the specified language
This function returns localization data for specified language.
lang
BCP 47 code of language.
Document node of localization document for specified language.
Loads localization file for the specified language
This function returns localization data for specified language.
lang
BCP 47 code of language.
Document node of localization document for specified language.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy