[PATCH] Allow languages to override nounDeclension of locale

Adriaan de Groot adridg at cs.kun.nl
Thu Apr 29 22:19:40 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 29 April 2004 22:41, Leo Savernik wrote:
> Am Donnerstag 29 April 2004 22:10 schrieb Adriaan de Groot:
> > The attached patch moves some stuff around in KLocale, reading from
> > _three_ config files instead of just two, now. [...]
>
> Does this mean that *every* kde app has to load even more kconfig files at
> startup?

Yes, they would have to, to get the correct information about the language 
they are using. For KOrganizer, that means:

Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/korganizerrc
Parsing file /usr/local/kde-HEAD/share/icons/crystalsvg/index.theme
Parsing file /usr/local/kde-HEAD/share/icons/hicolor/index.theme
Parsing file /usr/local/kde-HEAD/share/config/kdebugrc
Parsing file /home-local/adridg/.kde32/share/config/kdebugrc
Parsing file /usr/local/kde-HEAD/share/locale/l10n/C/entry.desktop
Parsing file /usr/local/kde-HEAD/share/locale/hsb/entry.desktop
Parsing file /usr/local/kde-HEAD/share/icons/crystalsvg/index.theme
Parsing file /usr/local/kde-HEAD/share/icons/hicolor/index.theme
Parsing file /home-local/adridg/.kde32/share/config/profilerc
Parsing 
file /home-local/adridg/.kde32/share/apps/korganizer/docprefs.todolist.kconfig
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kresources/calendar/stdrc
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/emaildefaults
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/emaildefaults
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals
Parsing file /home-local/adridg/.kde32/share/config/kdeglobals

(This was generated by adding debug output to 
KConfigINIBackEnd::parseSingleConfigFile) Looking at the list of config files 
it parses, I don't see any other sensible place to store the language 
settings except in the language's entry.desktop. Heck, it's conceivable that 
we could create a settings.desktop that optionally stores these settings if 
relevant (so for every language that doesn't take the default of false,false 
for nounDeclension and dateMonthPosessive, which I would guess is a fair 
chunk of them).

The alternative, of course, is a violent civil war leading to independence of 
the Sorbian-speaking minority in the de locale, so that it can have its own 
locale.

- -- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
                     Would you like a freem?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAkXFxdqzuAf6io/4RAgbsAKCOCPwEUL+SR3ZE1h22K1tWiLek5wCfRKgu
exaC6o/dcfhQgoyLHVmtDRc=
=qHyY
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list