13.2 / KDE: Missing translations in context menus and device actions

Hello all,

after a fresh install of 13.2, setting the language to German, I notice that the entries in the context menus in dolphin (right-click on a file or folder) are mixed. Some appear in German, but most are still English.
The same happens for the choice of device actions, e.g. when a USB-stick is plugged in.

I found out that most of the *.desktop files in:
/usr/share/kde4/services/ServiceMenus
and:
/usr/share/kde4/apps/solid/actions

seem to be incomplete. Mostly, there is only one entry like

Name=Open with File manager

but the translations are missing, e.g.:

Name[de]=Mit Dateimanager öffnen

Is there a way to get correctly translated versions of these files, without editing them all by hand? Is this a (known) bug in 13.2?

Cheers,
Friedhelm.

The same issue appeared to my opensuse factory box the first time i changed the language settings from english to greek from yast → etc/sysconfig editor. After editting the /etc/sysconfig/language file the problem was fixed. The language entries in was at the form of el_GR.UTF.8 so i changed it to el_GR.UTF-8.

And/or did you set the language in KDE’s systemsettings? (“Configure Desktop”->Locale)
Just setting the system language in YAST (/etc/sysconfig/language) does not always have full effect in KDE in my experience…

And check that you have the package desktop-translations installed. AFAIK those translations are in there.

On my system, it’s de_DE.UTF-8, so that should be correct.

I changed both: the system language in YAST and the language in the KDE settings.

And check that you have the package desktop-translations installed. AFAIK those translations are in there.

desktop-translations are installed.

Well, I have “de_AT.UTF-8” and the “Open With” entry in the device notifier is english as well as I just noticed. (others are in german though)

The context menus are correctly translated here, but the Actions, Extract and so on submenu entries are not.
Probably something went wrong (again) with the openSUSE translations. I.e. they got stripped (by openSUSE) from the .desktop files, but not added correctly to where they should be (desktop-translations).
I do remember a bug report or mailinglist thread about this during the development phase.

I will try to find it, but if you want to you could file a new bug report in the meantime…

Or maybe they just didn’t get translated in time.

Would be interesting to know if only german is affected, or other languages as well though.

I’m quite sure other languages are affected, too. I still have a 13.1 installation on a different machine, there, e.g. the file /usr/share/kde4/apps/solid/actions/solid_camera.desktop looks like this (shortened):

[Desktop Entry]
X-KDE-Solid-Predicate=Camera.supportedDrivers == 'gphoto'
Type=Service
Actions=open;

[Desktop Action open]
Exec=kioclient exec camera:/
Icon=system-file-manager
Name=Open with File Manager
...
Name[ast]=Abrir con Xestor de Ficheros
Name[bg]=Отваряне в файлов браузър
Name[bs]=Otvori menadžerom datoteka
Name[ca]=Obre amb el gestor de fitxers
Name[ca@valencia]=Obri amb el gestor de fitxers
Name[cs]=Otevřít ve správci souborů
Name[da]=Åbn med filhåndtering
Name[de]=Mit Dateimanager öffnen
Name[el]=Άνοιγμα με τον διαχειριστή αρχείων
Name[en_GB]=Open with File Manager
Name[es]=Abrir con el gestor de archivos
...

The 13.2 version just reads:

[Desktop Entry]
X-KDE-Solid-Predicate=Camera.supportedDrivers == 'gphoto'
Type=Service
Actions=open;

[Desktop Action open]
Exec=kioclient exec camera:/
Icon=system-file-manager
Name=Open with File Manager

i.e., all translations are missing. The same holds for most of the other .desktop files.

I’ve created a bug for this: 904524 – KDE: Missing translations in context menus and device actions

Cheers,
Friedhelm.

As far as i remember my problem was fixed after i installed the kde4-l10n-el package which on previous releases was installed automaticaly when the primary language changed from yast->languages.You should check if you have the kde4-l10n-de installed.

Of course we have.
Otherwise you cannot even select “German” as language in KDE’s settings.

Yes, but this is on purpose AIUI.
The translations (possibly modified by the openSUSE translation team) should be in the package “desktop-translations” then IIANM.

I’ve created a bug for this: 904524 – KDE: Missing translations in context menus and device actions

Thank you.