-
Notifications
You must be signed in to change notification settings - Fork 428
Open
Labels
Description
Use case for the feature
Right now, the library only provides the country name in its native language (e.g. España, Deutschland, 日本).
In many cases, applications need to show the country name in the language of the user’s preference, not necessarily the country’s native one.
For example, if a user’s interface is set to English, they would expect to see Spain or Germany, even if the country’s native name differs. This is pretty common in multilingual or globally used systems (dashboards, e-commerce apps, etc.), where the display language is user-specific.
Having translations for country names would make the library a lot more flexible for these use cases.
Examples or links
- CLDR (Common Locale Data Repository) for reference: https://cldr.unicode.org/
- Example dataset: https://github.com/umpirsky/country-list
JaapWeijland
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog