Closed Bug 403611 Opened 17 years ago Closed 9 years ago

Update navigator.language to be up-to-par with BCP 47

Categories

(Developer Documentation Graveyard :: API: DOM, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [bcp47] u=webdev p=0 c=DOM)

http://tools.ietf.org/html/rfc4646 describes in detail what a language tag is, which we use for navigator.language. That document is pretty involved, in what is required (length of subparts), what's recommended (casing), what's allowed and what's standardized elsewhere (like scripts). Someone with deeper writing skills than me should take a stab at this, and try to find the right balance between wrong and overly complex.
Depends on: bcp47
Summary: update navigator.language to be up-to-par with rfc 4646 → Update navigator.language to be up-to-par with BCP 47
Whiteboard: [bcp47]
Component: Documentation Requests → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
Whiteboard: [bcp47] → [bcp47] u=webdev p=0
Component: General → DOM
Whiteboard: [bcp47] u=webdev p=0 → [bcp47] u=webdev p=0 c=DOM
I've updated RFC4646 to BCP47 in the page.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.