Sabayon Forums

Language setting in K3b [Solved]

Language setting in K3b [Solved]

Posted: Sun Sep 03, 2017 20:37

by moldmaker

HI everybody,

K3b apperas with the UI in english. I can live with that, but anyway I've been trying to set K3b to my language (which is german), but to no avail.
In the KDE options, I set the preferred language. And I installed the package "Kde4 L10n". In the program's options there is no entry for the UI language.
How do I proceed?

Mm.

Re: Language setting in K3b

Posted: Mon Sep 04, 2017 2:52

by Stupot

I noticed you can launch k3b from the command line and specify the language, in the form of locale. I can tell it's working from the command line, but it seems to produce mixed results, where the menu is still in english, but if you go into, say Settings and Plugins, the entries inside there are in german. If I had to guess, the rest of the menu is following a more generic KDE language setting.

Re: Language setting in K3b

[email protected] ~ $ k3b --lang de_DE
KGlobal::locale(): Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
[email protected] ~ $ K3bQProcess::QProcess(0x0)
K3bQProcess::QProcess(0x0)
k3b(3373)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory!
k3b(3373)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory!
k3b(3373)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory!
k3b(3373)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory!
[email protected] ~ $

When further investigating this, I found the command for language switching in K3B in the Help menu (not Settings menu), but it only let me choose American English. So I searched a little on the internet and found a Debian package "k3b-i18n_2.0.3a-2_all.deb". Version number is correct (2.0.3), so I downloaded the file, unpacked it and copied the contents manually to the path it pointed to. Now it is possible to change the language (in the Help menu). With the next program launch K3B is now in german language.
So the issue is solved.
Maybe it would be great to have this package in the Sabayon repos?