Item12482: Incorrect derivation of value for 'lang' and 'xml:lang' attributes
Current State: Closed
Released In: 1.1.9
Target Release: patch
Applies To: Engine
Branches: Release01x01 trunk
The value of the
attributes in the
tag of any output page is generated from the
macro. However this macro is incorrect - it generates language identifiers that are not compliant with any of the relevant RFCs or BCP 47, all of which require '-' as a separator - we are generating '_' (underscore).
This comes about because the language code is obtained from the locale setting (irrespective of whether
is set) and defaults to
See Support.Question1223 for how this was found.
- 01 May 2013
See also: Item8520