add KLocale method for getting flag by country code?

John Layt johnlayt at
Mon Feb 22 14:42:35 GMT 2010

On Monday 22 Feb 2010 13:39:11 John Tapsell wrote:
> On 22 February 2010 13:12, John Layt <johnlayt at> 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:
> 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.


More information about the kde-core-devel mailing list