[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: KGeography needs your help
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2005-08-10 15:18:24
Message-ID: 200508101718.26595.caslav.ilic () gmx ! net
[Download RAW message or body]


> [: Stephan Kulow :]
> If it's loadable I guess I would register a
> KLocale::loadComplexScriptingThingy() method that changes the callback
> functions for i18n to ones in a plugin ;)

(mumbling, reading Qt's tutorial...)

Ok, I admit, I havent got much clue what I am supposed to do in this 
direction (and that wink also worries me :), but there are some external 
things that I find strange:

Original i18n() is returning a QString, while a scripted i18n() must return 
a class (to capture arguments afterwards). So there cannot be one call 
covering both, with functionality changing by a switch.

If original i18n() is changed to return same class (but with no scripting 
happening inside), that reduces to same solution I currently have, few 
posts back (dynamic loading would come in that if(useTranScript) {...} 
block).

Then, if I am changing KLocale, I am again messing with the core, and that 
is also something that I have already done.

Since I might be talking rubbish, do feel free to say "Back to the drawing 
board and get your facts straight!" :) (I wouldn't mind a pointer, 
though.)

-- 
Chusslove Illich (Часлав Илић)
Serbian KDE translation team

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic