l10n.lang.value.rfc.compliant
l10n.lang.value.rfc.compliant — Make value of lang attribute RFC compliant?
Synopsis
<xsl:param name="l10n.lang.value.rfc.compliant" select="1"></xsl:param>
Description
If non-zero, ensure that the values for all lang attributes in HTML output are RFC
compliant.
by taking any underscore characters in any lang values found in source documents, and
replacing them with hyphen characters in output HTML files. For
example, zh_CN in a source document becomes
zh-CN in the HTML output form that source.
Note
This parameter does not cause any case change in lang values, because RFC 1766
explicitly states that all "language tags" (as it calls them) "are
to be treated as case insensitive".