Language Tags (BCP 47)
Official docs outline
6 sections- Syntax of language tags
Language, script, region, variant and extension subtags.
- Language subtag sources
ISO 639, ISO 15924, ISO 3166-1 and UN M.49 subtags.
- Choice of language tag
Guidelines for tagging content.
- Primary language subtag
ISO 639 language codes such as en, zh and fil.
- Canonicalization of language tags
Canonical form and case conventions.
- Extended filtering of language tags
Basic and extended filtering of language ranges.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.