[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Request: better override functionality in locale settings
From:       John Layt <jlayt () kde ! org>
Date:       2014-08-28 8:38:10
Message-ID: CAM1DM6nuHeMQQTY0DTioutd1OZ2o0=3kX9dfH3u1qB70=pG84Q () mail ! gmail ! com
[Download RAW message or body]

On 28 August 2014 09:28, Martin Klapetek <martin.klapetek@gmail.com> wrote:
> On Wed, Aug 27, 2014 at 11:34 AM, Sebastian Kügler <sebas@kde.org> wrote:
>>
>>
>> There's more than just metric and imperial. This page gives you a slight
>> impression of the complexity:
>> http://en.wikipedia.org/wiki/Imperial_units#Current_use_of_imperial_units
>>
>> A binary combobox is just not enough to portray this correctly.
>
>
> I'm actually quite curious what does QLocale do with this complexity. Do
> they really do
>
> if (en_GB) {
>     beer_unit = pint;
>     milk_unit = liter;
>     etc...
> }
>
> That would be quite strange. I'll investigate and post back.

Yes, the locale code for each each category does determine what
translations will get used for that category.  While Qt doesn't (yet)
have that level of complexity, other toolkits may, such as glibc or
gtk or Java or ICU.  We're setting a desktop-wide setting here, not
just something for KDE/Qt apps only to use.

John.
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic