kde vs. locales

Oswald Buddenhagen ossi at kde.org
Wed Nov 28 08:59:24 GMT 2007

On Tue, Nov 27, 2007 at 07:37:59PM +0100, Thiago Macieira wrote:
> So, I don't think we need an "Override" checkbox.
well, actually, you just described that you want it, sort of: you set
the regular pt_BR locale and explicitly override the monetary setting
(LC_MONETARY). making the override explicit is sort of a measure to
protect the hand-tuned values from being overwritten by switching the
"central" locale.

> 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.
that's why i said:
> > but thinking about it again, having the settings in a regular config
> > file and having kstartupconfig turn them into variables is much
> > simpler for the kcm.

we can ignore this ~/.i18n stuff:
- it is no standard, afaics
- suppose it was, what would be no advantage of following it?
- how about that: "WTF! KDE overwrites my startup scripts?!?! why not
  ~/.profile while it's already at it?!"

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Chaos, panic, and disorder - my work here is done.

More information about the kde-core-devel mailing list