Closed Fusl closed 6 years ago
Should this be further changed to en-US? The page is generally written from an American perspective, which is fairly different from British English for example.
en-US
wouldn't be a valid ISO code to fix into the html-elements lang attribute.
It isn't an ISO code yes, but BCP 47 and RFC 1766 seem to state that country/region subtags are valid (and encouraged in situations where spelling and vocabulary differ by region), so en-US
would be a valid code.
The syntax of this tag in RFC-822 EBNF is:
Language-Tag = Primary-tag *( "-" Subtag ) Primary-tag = 1*8ALPHA Subtag = 1*8ALPHA
In the first subtag:
- All 2-letter codes are interpreted as ISO 3166 alpha-2 country codes denoting the area in which the language is used.
(1766)
If I'm reading this right and that is the case, then we should be using en-US
, as from what I could gather, en
defaults to en-GB
, which is an entirely different set of spellings, etc.
Looks like you're right, en-US
is indeed a correct value for this attribute: https://stackoverflow.com/questions/31936783/which-language-attribute-is-correct
Deploy preview ready!
Built with commit e54a84d1e1868629f0beec0f41dc871827598a69
https://deploy-preview-17--opennic.netlify.com