[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Fwd: Using multiple klocales uses stale translations
From: John Layt <johnlayt () googlemail ! com>
Date: 2010-11-09 21:32:52
Message-ID: 201011092132.52255.johnlayt () googlemail ! com
[Download RAW message or body]
On Monday 08 November 2010 23:29:13 Stephen Kelly wrote:
> It took me a while to figure out that the country must be in lower case.
>
> KLocale de_DE("kwrite", "de", "DE"); // does not work
> KLocale de_DE("kwrite", "de_DE"); // does not work
> KLocale de_DE("kwrite", "de_DE.UTF-8"); // does not work
> KLocale de_DE("kwrite", "de", "de"); // works!
That's bad. For historic reasons the KDE country code is lowercase, in spite
of the ISO standard explicitly being uppercase, fixing it is a KDE5 thing.
But I can't see any reason why it shouldn't lowercase any given value, I'll
fix that and update the apidox to state it should be lowercase.
John.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic