Results 1 to 9 of 9

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

  1. #1
    Join Date
    May 2011
    Location
    Nürnberg, Germany
    Posts
    26

    Default 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
    Code:
    Name=Open with File manager
    but the translations are missing, e.g.:
    Code:
    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.

  2. #2
    Join Date
    Feb 2014
    Location
    Heraklion , Crette , Greece
    Posts
    9

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

    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.

  3. #3

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

    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.

  4. #4
    Join Date
    May 2011
    Location
    Nürnberg, Germany
    Posts
    26

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

    Quote Originally Posted by kestes View Post
    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.
    On my system, it's de_DE.UTF-8, so that should be correct.

  5. #5
    Join Date
    May 2011
    Location
    Nürnberg, Germany
    Posts
    26

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

    Quote Originally Posted by wolfi323 View Post
    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...
    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.

  6. #6

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

    Quote Originally Posted by fstappert View Post
    On my system, it's de_DE.UTF-8, so that should be correct.
    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.
    Last edited by wolfi323; 08-Nov-2014 at 13:03.

  7. #7
    Join Date
    May 2011
    Location
    Nürnberg, Germany
    Posts
    26

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

    Quote Originally Posted by wolfi323 View Post
    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):

    Code:
    [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:
    Code:
    [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: http://bugzilla.opensuse.org/show_bug.cgi?id=904524

    Cheers,
    Friedhelm.

  8. #8
    Join Date
    Feb 2014
    Location
    Heraklion , Crette , Greece
    Posts
    9

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

    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.

  9. #9

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

    Quote Originally Posted by kestes View Post
    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.

    Quote Originally Posted by fstappert View Post
    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):
    ...
    i.e., all translations are missing. The same holds for most of the other .desktop files.
    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.

    Thank you.
    Last edited by wolfi323; 08-Nov-2014 at 15:21.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •