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

Localize language and country names #109

Open
hholzgra opened this issue Jan 18, 2023 · 0 comments
Open

Localize language and country names #109

hholzgra opened this issue Jan 18, 2023 · 0 comments

Comments

@hholzgra
Copy link
Owner

Currently country and language names are (mostly?) given in their local form, but it would probably be better to display local names according to the current UI language / locale selection. E.g. when using english UI locale "Österreich" should be shown as "Austria", and when using german UI locale "United States of America" should be shown as "Vereinigte Staaten von Amerika".

This would especially helpful for country names not using the same character set as the current UI language.

Main problem right now is to find a good data set for this, or even better: a PIP or npm package covering all of this already wrapped up ready to use.

So far the best data set I've been able to find was

https://github.com/grosser/i18n_data/tree/master/cache/file_data_provider

which unfortunately is part of a Ruby package though, so not of any direct use. It would not be much of an issue to e.g convert the provided text data into something else, e.g. some gettext .po files ...

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