kde vs. locales
Thiago Macieira
thiago at kde.org
Tue Nov 27 18:37:59 GMT 2007
Em Sunday 25 November 2007 17:35:21 Chusslove Illich escreveu:
> > [: Oswald Buddenhagen :]
> > anyway, that's not what i was talking about. one might want
> > LC_MONETARY=de_DE, LC_NUMERIC=de_DE, LC_MESSAGES=en_US and LANG=C for the
> > rest - this isn't even far from what i have currently.
>
> One possibility would be to simply allow user in KCM to set not only
> LC_ALL, but also these partials. But I feel that's a bit too much for the
> GUI. If you want these strange combos, then "shell" it :) (note that e.g.
> your paper format would be US Letter with this...)
>
> On the other hand, if one would only want special LC_MESSAGES, that's
> covered by the languages override, through LANGUAGE.
I guess this is becoming far too complicated. Even your "Override" options
seemed complicated to me.
Looking at the KCM, I'd expect to be able to choose my locale (my language)
and be able to fine-tune some things. We can even allow choosing a different
locale for the individual settings, or we can go straight to editing the
fields.
I'm considering my use-case here: I like my desktop in Brazilian Portuguese,
which means messages, dates and times, collation, measurement, etc. should be
in that. However, I am living in Norway, so I want to switch the monetary
information to Norway's.
You could argue that I'm creating locale pt_NO...
So, I don't think we need an "Override" checkbox. I keep my position as
before:
- in the absence of specific configuration, KDE inherits the system-provided
locale
- if the user comes into the KCM and chooses a locale, write the LC_*
settings to ~/.i18n
- if the user fine-tunes any setting, write the formatting for that group to
the ~/.i18n file as well (shell variables, properly prefixed)
- startkde sources $KDEDIRS/share/config/i18n and ~/.i18n if present
Consequence: the locales are no longer a Kiosk-protected, cascading KConfig
setting.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071127/45744927/attachment.sig>
More information about the kde-core-devel
mailing list