<< Previous Comment in Document
| Next Comment in Document >>
Document Details
| Add Comment
Comment Submitted by
Kevin Hawkins
2013-06-23 15:56:39
|
The following paragraph is misleading on a few points:
###
Typical values are described by the IETF RFC 5646, two-letter, lower-case language codes such as “fr” (French), “en” (English), “de” (German), and “zh” (Chinese). These values are NOT case sensitive, but current best practice uses all lower case. Values can be obtained from the IANA Language Subtag Registry: http://www.iana.org/assignments/language-subtag-registry.
###
RFC 5646 should be used to construct the value of @xml:lang, which RFC 5646 calls a "language tag". Each language tag consists of subtags for the primary language, extended language, script, region, etc.
|
| Submitter Proposed Solution |
Revise to something like the following:
The value of this attribute must conform to IETF RFC 5646 ( http://tools.ietf.org/html/rfc5646 ). For most uses, a primary-language subtag such as “fr” (French), “en” (English), “de” (German), and “zh” (Chinese) is sufficient. These values are NOT case sensitive, but current best practice uses all lower case. However, the value of the attribute may contain other subtags as well. Values for the various subtags (which can be used in certain combinations) can be obtained from the IANA Language Subtag Registry: http://www.iana.org/assignments/language-subtag-registry.
|