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

Feature idea: 1:1 mapping of code to native name #9

Open
ragesoss opened this issue Apr 26, 2018 · 0 comments
Open

Feature idea: 1:1 mapping of code to native name #9

ragesoss opened this issue Apr 26, 2018 · 0 comments

Comments

@ragesoss
Copy link

I tried this gem out briefly for use in a language switcher widget, where I want to take a list of available locales — the language codes from 639-1 or 639-2 — and turn it into a select widget with all the native names of the languages.

I was hoping for a method to get that directly, like:

ISO_639.find_native_name('am') # => 'አማርኛ'

The iso-639-1 npm module does something similar.

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