Skip to content

Instantly share code, notes, and snippets.

@NeonDaniel
Created September 23, 2022 21:56
Show Gist options
  • Save NeonDaniel/4b37bbed35c1c806b1755b553d8cf1cd to your computer and use it in GitHub Desktop.
Save NeonDaniel/4b37bbed35c1c806b1755b553d8cf1cd to your computer and use it in GitHub Desktop.
Language Specs

BCP-47

Language resources in Mycroft/OVOS/Neon are organized by BCP-47 Code which is not an official ISO spec (BCP=Best Common Practice) A BCP-47 code is defines as an ISO 639-1 Code (i.e. 'en') and an ISO 3166-1 Alpha-2 Country code (i.e. 'us'). There is no "source of truth" for valid BCP-47 codes; any combination of language and country is valid.

ISO 639-1

This is an official (outdated) ISO spec for languages. A free list is available on Wikipedia.

ISO 3166-1

This is an official ISO spec for countries; each of the recognized 249 countries has an Alpha-2, Alpha-3, and Numeric code. A free list is available on Wikipedia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment