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

Use Wikidata as fallback source for language names #1189

Open
claysmalley opened this issue Jan 18, 2025 · 0 comments
Open

Use Wikidata as fallback source for language names #1189

claysmalley opened this issue Jan 18, 2025 · 0 comments
Labels

Comments

@claysmalley
Copy link
Member

This is fine as a start, but maybe we could try to source the names dynamically from Wikidata, like we do for route networks in the legend. That would allow us to support more interface languages than just English, which seems appropriate for a feature focused on multilingualism.

Originally posted by @1ec5 in #1186 (comment)

In the language picker, Americana sources language names from CLDR. Many languages are missing names in CLDR, including hundreds of indigenous languages of North America. As a result, these languages are labeled as their 2- or 3-letter ISO 639 code, which makes them hard to recognize and search for.

#1186 includes a fallback English name for each of the languages it introduces support for, but this is not a fully multilingual solution. Sourcing language names from Wikidata would improve multilingual support and make it easier for the general public to contribute translations.

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

No branches or pull requests

1 participant