KLocale host system integration

Chusslove Illich caslav.ilic at gmx.net
Fri Aug 6 09:11:13 BST 2010


> [: John Layt :]
> I believe we do it the right way around, you choose a country and a
> language and your formats get determined from that in an intelligent
> manner [...]

I don't like it, because currently there is no intelligent manner in which
formats are determined, instead we put in country files entries like:

  AddressFormat=...
  AddressFormat[lang1]=...
  AddressFormat[lang2]=...

This is really just the same as monolithic locale approach when the user
chooses a language and a country planned to "work together" in this way, but
it breaks horribly once the user combines a language and a country which are
not such. And I can't think of what intelligent manner of combining could
be, since it's all highly dependent on locality.

> The golden rule is a users selected preferences always trump any system
> settings or guesses. [...] The key here is to make it obvious in the kcm
> where the user has overridden the defaults and make it easy to revert a
> single setting at a time. I'm currently re-writing the kcm to do this
> [...]

Hm, well, that is the general idea I had, but decided it would be way too
complex. Good luck :)

-- 
Chusslove Illich (Часлав Илић)
-------------- 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/20100806/1be1a339/attachment.sig>


More information about the kde-core-devel mailing list