add KLocale method for getting flag by country code?

Andriy Rysin arysin at gmail.com
Mon Feb 22 16:00:28 GMT 2010


On Feb 22, 2010, at 9:42, John Layt <johnlayt at googlemail.com> wrote:

> On Monday 22 Feb 2010 13:39:11 John Tapsell wrote:
>> On 22 February 2010 13:12, John Layt <johnlayt at googlemail.com> wrote:
>>> Using flags for languages is not a great idea, it gets quite  
>>> political
>>> when you have multiple languages per country and multiple  
>>> countries per
>>> language, which do you choose?
>>
>> Flags-per-country are just as bad.  Has everyone so quickly forgotten
>> the reason we removed flags altogether from kcontrolcenter?
>>
>> Which flag are you going to put for Taiwan / Republic of China?
>>
>> For a bit of fun, try visiting the bug reports on this:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=70235
>> https://bugzilla.redhat.com/show_bug.cgi?id=61946
>>
>> Both give "You are not authorized to access with logging in" errors,
>> and you're blocked from these bug reports completely from China.
>> And then you've got petitions from both sides,
>>
>> And then you've got the whole "Palestinian Territory" flag mess etc.
>>
>>
>> Stay away from political landmine.
>>
>> John
>
> Err, we already do have Taiwan and Palestinian Territories locales  
> and flags
> in kdelibs, and display their flags in systemsettings and all the  
> other places
> I listed.  I haven't heard a complaint about that for years.
>
> Our rule, as far as I'm concerned, is we implement the ISO standard  
> for
> country codes.  If a particular country or distro wishes to or is  
> required to
> remove another country's locale file, flag or language, then that is  
> their
> concern, they are free to do so, and we make it simple for them by  
> not hard-
> coding anything.  (I believe Red Hat maintain a  set of patches for  
> their
> Chinese distro for this purpose).  Just as any region not in the ISO  
> standard
> is free to add their own files.
>
> KDE is apolitical, and we work hard to respect our many communities,  
> but at
> the end of the day we require a mutual respect, and communities  
> should be able
> to agree to disagree.
I would agree here:
1) we should follow ISO - if there's a country iso code we should  
treat it as a country - let the politicians talk to iso if they don't  
like it
2) not sure if the flag is the culprit, if I have a "country" combobox  
with Taiwan in it - wether the flag is shown is irrelevant, as it's  
already treated as the country
3) in the worst case (if we implement common place for iso codes) we  
could provide (I'd suggestvsome obscure) config file to exclude iso  
entries from ui altogether

Andriy




More information about the kde-core-devel mailing list