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

Krzysztof Lichota krzysiek at lichota.net
Sun Mar 4 20:08:29 GMT 2007


Aaron J. Seigo napisaƂ(a):
> 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());

Is this the translated name?

> 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"... 

Currently it is set to "None" when fallback is added. Some nations could
feel offended if "American" is used. I think that users might also not
understand that they can change it.
Anyway, I will send an e-mail about it to kde-usability (I have changed
usability to accessibility in my previous e-mail), we will see what they
say.

> how does one remove fallback languages?

You set it to "None". Maybe button "Remove last fallback language" would
be better.

>> 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.

OK. I will move it and send updated patch in a few days. I have to do my
other duties now.

>> 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 =)

Good, one problem less :)

	Krzysztof Lichota


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070304/7cba6738/attachment.sig>


More information about the kde-core-devel mailing list