Closed agrabeli closed 9 months ago
I think we should update country-util to support pulling in the translated country names from unicode cldr: https://github.com/unicode-org/cldr-json/tree/main/cldr-json/cldr-localenames-full/main
I would like to work on this. Have a few questions.
I think what should be done to implement this is the following:
While we are at it, we should update the country-util download script to fetch data from the new unicode repository (see: https://github.com/ooni/country-util/blob/master/scripts/download-data.py#L13).
I don't think any transifex interaction is necessary for this. Since all the country names are already translated by unicode, we shouldn't require our translators to duplicate all this work.
This has been fixed: we're using Intl.DisplayNames from format.js which uses https://cldr.unicode.org/ as a source
The various country names, continents (as listed above), and the "Search for countries" field are untranslated.
Sarath mentioned that we could potentially use the standard translation of countries from the browser for the country names (instead of requiring Transifex translators to translate every single country name), while keeping an eye out for how that translates for places like Taiwan and Hong Kong.
We should probably add "Search for countries" to a string on Transifex though.