[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Query about why $KDE_LANG is required instead of $LANG or
From: Jon Grant <jg () jguk ! org>
Date: 2006-11-11 15:43:37
Message-ID: 4555EFA9.5050407 () jguk ! org
[Download RAW message or body]
Hi,
Thiago Macieira elucidated on 06/11/06 20:18:
> Jon Grant wrote:
>> Ok, so how about simply seeding the kdelobals [Locale] with defaults
>> imported from the environment variables available when the kdeglobals
>> [Locale] section is not present?
>>
>> -- At present I end up with a "C" locale when I start KDE on a fresh
>> user account; despite all my locale env variables being en_GB.UTF-8.
>
> That's a good idea. But the kdeglobals file doesn't have to change -- only
> the defaults in KDE 4 do.
Ah ok, so kdeglobals only uses the defaults if no existing [Locale]
section is present?
-- if I understand you correctly that means we just needs code to
populate the defaults with the fields from Environment variables then.
Shall I file this as a wishlist with this information? I can look into
writing the patch when I get time.
Paper as Metric A4 or US Letter can be inferred from the country,
which means we'd have either a hard coded table or a file read somewhere
containing the mapping.
Paper from the county in LC_PAPER
Metric measurement from: LC_MEASUREMENT
£ Pound Sterling from: LC_MONETARY
Language from: LANG
Numbers and thousands separators from: LC_NUMERIC
Then the populated [Locale] can be saved in kdeglobals.
Cheers
Jon
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic