https://bugzilla.redhat.com/show_bug.cgi?id=2004265
Mike FABIAN <mfabian(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mfabian(a)redhat.com
--- Comment #13 from Mike FABIAN <mfabian(a)redhat.com> ---
My guess is that anaconda gets this by using python3-pycountry which gets its
data from ico-codes:
$ python3
Python 3.10.4 (main, Mar 25 2022, 00:00:00) [GCC 12.0.1 20220308 (Red Hat
12.0.1-0)] on linux
Type "help", "copyright", "credits" or "license"
for more information.
>> import pycountry
>> pycountry.countries.get(alpha_2='TW')
Country(alpha_2='TW',
alpha_3='TWN', common_name='Taiwan', flag='🇹🇼',
name='Taiwan, Province of China', numeric='158',
official_name='Taiwan,
Province of China')
Anaconda could maybe use langtable instead:
$ python3
Python 3.10.4 (main, Mar 25 2022, 00:00:00) [GCC 12.0.1 20220308 (Red Hat
12.0.1-0)] on linux
Type "help", "copyright", "credits" or "license"
for more information.
>> import langtable
>> langtable.territory_name('TW')
'Taiwan'
>>
langtable doesn’t get its data from iso-codes but from CLDR and if the CLDR
English names or translated names are inappropriate, I can change it easily.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2004265