Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get all languages #68

Open
weeco opened this issue May 15, 2017 · 1 comment
Open

Get all languages #68

weeco opened this issue May 15, 2017 · 1 comment

Comments

@weeco
Copy link

weeco commented May 15, 2017

Hello,
I am working on a translation management system and therefore I need all available languages and it's ISO codes. However this list var languageList = languages.all contains entries like:

alpha2=, alpha3=zxx, bibliographic=, name=No linguistic content

alpha2=, alpha3=zxx, bibliographic=, name=Not applicable

alpha2=, alpha3=und, bibliographic=, name=Undetermined

alpha2=, alpha3=gmh, bibliographic=, name=German, Middle High (ca.1050-1500)

All these entries are obviously very irrelevant for my purpose. Instead I want to get English (USA), English (GB) and such. Is there a way to get only the official languages including differences like American vs British English?

@weeco
Copy link
Author

weeco commented May 15, 2017

Basically I am looking for the ISO 639-1 languages: http://www.andiamo.co.uk/resources/iso-language-codes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant