w3c / i18n-drafts

A place to edit articles, tutorials, and the like for the /International subtree of the W3C site. Also, captures issues and comments.
63 stars 61 forks source link

[questions/qa-html-language-declarations] Using ISO 639-3 Code in Language Tag #351

Closed tadisdef closed 2 years ago

tadisdef commented 2 years ago

[source] (https://www.w3.org/International/questions/qa-html-language-declarations) [en] Is it acceptable practice to use an ISO 639-3 code (3 letter, not registered with library of congress) for a website in a language undergoing current revival? Example: Yola Language (ISO 639-3 "yol") is currently undergoing revitalization but does not have enough modern text to have a ISO 639-2 three letter code or ISO 639-1 two letter code.

aphillips commented 2 years ago

Yes. Language tags use a registry of subtags derived from the different parts of ISO639. See https://rfc-editor.org/bcp/bcp47 for details.

r12a commented 2 years ago

This web page will tell you what's available: https://r12a.github.io/app-subtags/?find=yola