Search notes:

BCP-47

BCP-47 is the Best Current Practices for language tags. Such tags allow to identify spoken and written languages.
Basic structure of language tags:
The hyphens separate each element from one another. The first element is required, up to three additional elements are optional.
These elements are:
Some examples of language tags are:
A language might be tagged und (undetermined?), for example und-Latn. This matches any language that uses Latin script.

See also

RFC 1766, ISO 3166, RFC 4646

Index