3 ms·
ISO 639-2 defines "grc" for Ancient Greek. But I couldn't find a specification for HTTP_ACCEPT_LANGUAGE. Going by the language tag best practices every program
by bhaak 11y ago
ISO 639-2 defines "grc" for Ancient Greek. But I couldn't find a specification for HTTP_ACCEPT_LANGUAGE.
Going by the language tag best practices every program should accept 3 letter language codes if it also accepts 2 letter language codes. But with software, you never know.
- acdha 11y agohttps://tools.ietf.org/html/rfc7231#section-3.1.3.1 https://tools.ietf.org/html/rfc7231#section-3.1.3.1 says that Accept-Language uses a RFC 5646 language tag. That now says that the three-character ISO 639 codes are valid, although it looks like the two-character versions are preferred when available: https://tools.ietf.org/html/rfc5646#section-2.2.1 https://tools.ietf.org/html/rfc5646#section-2.2.1 That said, it would be amusing to see how many servers and clients actually support this.