Replies: 1 comment
|
the fact is that only a small fraction of languages have an ISO 639-1 code: https://en.wikipedia.org/wiki/ISO_639:a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi, in some environment like web browser only support ISO 639-1, so its useful to add ISO 639-1 support, for example:
and we can use
navigator.language.split('-')[0];without 3rd library to convert into ISO 639-3All reactions