[PATCH] RFC: Changing the language of individual KDE programs

Aaron J. Seigo aseigo at kde.org
Sun Mar 4 19:56:55 GMT 2007


On March 4, 2007, Krzysztof Lichota wrote:
> 3. UI is not awesome and I want to run it through kde-accessibility
> before committing. Maybe they come up with better design.

perhaps something that mentions the application name, e.g. this (well, it's 
kde4-ish, but whatever =):

i18n("Select which language to use in %1 below", 
        KGlobal::mainComponent().aboutData()->programName());

and isn't the fall back language always american english? if so, then perhaps 
you can get rid of the "Add Fallback Languae" button and always have a fall 
back language set to "American English". if the user changes that, then add 
another combo below set to "American English"... 

how does one remove fallback languages?

> 4. I have added GUI source in khelpmenu.{h,cpp} files as I did not want
> to create new files. If necessary I can put it into separate files.

separate files would be nice.

> 5. I am assuming KGlobal::config() is always not-NULL. If it is not the

if they have a kde help menu, KGlobal::config() exists =)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070304/4b9d3fd3/attachment.sig>


More information about the kde-core-devel mailing list