Summary: | My country isn't listed in the Settings > Home Country Dropdown | ||
---|---|---|---|
Product: | [Applications] KDE Itinerary | Reporter: | Caleb <caleb> |
Component: | general | Assignee: | Volker Krause <vkrause> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 23.08.3 | ||
Target Milestone: | --- | ||
Platform: | Android | ||
OS: | Android 14.x | ||
Latest Commit: | https://invent.kde.org/frameworks/ki18n/-/commit/b8c4b6a2f05fa46b8427aed862de1cfaf6f481f0 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | screenshot of the country dropdown on android |
Description
Caleb
2025-03-25 04:50:11 UTC
Itinerary gets the country list from KF::I18n which gets the (translated) names from https://salsa.debian.org/iso-codes-team/iso-codes, so this would need to be fixed there. (In reply to Volker Krause from comment #1) > Itinerary gets the country list from KF::I18n which gets the (translated) > names from https://salsa.debian.org/iso-codes-team/iso-codes, so this would > need to be fixed there. Thank you for mentioning this. I'm happy to issue a bug report there or, since this looks very text-forward (rather than requiring specific technical knowledge), issue a patch myself if possible. Interestingly, there may be another alternative. According to this list: https://salsa.debian.org/iso-codes-team/iso-codes/-/blob/main/iso_3166-1/zh_TW.po?ref_type=heads the correct name for Taiwan is available under :1578 `#. Common name for TWN`. Also fascinating, the official name of Taiwan in Mandarin, "中華民國" (Kind of like how Korea's official name is Republic of Korea), is listed next to the nonexistent country written in English, "Taiwan, Province of China." In any case, is it possible that apps choose to use the `Common name for TWN`? The Mandarin version of same, "臺灣", is how the vast majority of people the vast majority of the time, write Taiwan. Interesting, `common_name` might not have existed when this was initially implemented, that indeed seems to improve the result for several countries. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ki18n/-/merge_requests/142 Git commit b8c4b6a2f05fa46b8427aed862de1cfaf6f481f0 by Volker Krause. Committed on 30/03/2025 at 14:11. Pushed by vkrause into branch 'master'. Use iso-codes' common_name field for country names when present This provides more expected names for the countries having this set, e.g. "Venezuela" instead of "Venezuela, Bolivarian Republic of". M +2 -0 autotests/kcountrytest.cpp M +12 -2 src/localedata/isocodescache.cpp https://invent.kde.org/frameworks/ki18n/-/commit/b8c4b6a2f05fa46b8427aed862de1cfaf6f481f0 |