python-babel / babel

The official repository for Babel, the Python Internationalization Library
http://babel.pocoo.org/
BSD 3-Clause "New" or "Revised" License
1.29k stars 433 forks source link

Include nationality names in babel #687

Open nagylzs opened 4 years ago

nagylzs commented 4 years ago

This is a request, not a bug report. It would be nice to be able to get translated nationality names from babel. For example, the nationality names "mexican" is different from the territory name "Mexico" and it is also different from the language name "spanish". Listing available nationalities in the native language is part of the internationalization process, it could be included in babel.

akx commented 4 years ago

This is a great idea, but unfortunately it looks like the Unicode CLDR does not contain this data.

If you can find a trustworthy repository of translated nationality names, we could move forward with this :)

nagylzs commented 4 years ago

Maybe it should be added to CLDR first. Added https://unicode-org.atlassian.net/browse/CLDR-13548 - this problem is not specific to Babel. It would benefical if it could be included in CLDR instead.

nagylzs commented 3 years ago

This is a great idea, but unfortunately it looks like the Unicode CLDR does not contain this data.

If you can find a trustworthy repository of translated nationality names, we could move forward with this :)

That ticket at CLDR has just been closed. It may be possible to add demonyms to babel from CLDR/ICU now.