Bugzilla – Bug 1167317
RPM locale supplements don't work for /usr/share/locale/kf5/
Last modified: 2020-04-01 13:30:38 UTC
Created attachment 833569 [details] Screenshot of TW KDE Plasma 5.18 Language mixing Hi everyone! A fresh installation of Tumbleweed with KDE Plasma 5.18 german language leads to a mixture of english and german. For example "Zu Favoriten hinzufügen" is still "Add to Favorites". The Startmenu has "Applications" instead of "Anwendungen", or"Leave" instead of "Verlassen", etc. Switching the language to english and then back to german does not help, neither does a „sudo zypper inr“. It only occures if you install TW from a current DVD or network image, if you upgrade an old KDE Plasma 5.17, everything stays german. This problem is not limited to german, I opened a thread on reddit and it is the same with the spanish an portuguese versions. https://www.reddit.com/r/openSUSE/comments/flv87i/germanenglish_mixture_since_kde_518/ I also added a screenshot of a new TW installation on a Virtualbox. (It is the same on a real machine). Greetings, Steffen
The same with català and spanish languages
*** Bug 1167318 has been marked as a duplicate of this bug. ***
Install plasma5-desktop-lang and those strings should be translated.
I installed plasma5-desktop-lang and all is ok now.
A similar problem with the Russian language.
(In reply to Wolfgang Bauer from comment #3) > Install plasma5-desktop-lang and those strings should be translated. It seems that plasm5-desktop-lang is neither required nor recommended. Regarding the latter, is this on purpose?
The issue seems to be that the new locale provides don't work for /usr/share/locale/kf5/*/LC_MESSAGES/*.mo: https://github.com/openSUSE/rpm-config-SUSE/commit/fca03384a5a48e1274b604279625b364b0f67889
(In reply to Frank Kruger from comment #6) > (В ответ на Вольфганга Бауэра из комментария № 3 ) > > Установите plasma5-desktop-lang, и эти строки должны быть переведены. > > Кажется, что plasm5-desktop-lang не требуется и не рекомендуется. Что > касается последнего, это специально? Previously, when you selected any language other than English, the plasma 5-desktop-lang package was installed automatically, but now this does not happen.
Actually, it probably makes more sense to take advantage of the modularity here and do this in kf5-filesystem instead.
Is there a reason why a subdir is used in /usr/share/locale?
(In reply to Ludwig Nussel from comment #10) > Is there a reason why a subdir is used in /usr/share/locale? AFAIK, coinstability with Qt 4/KDE4 applications and libraries.
(In reply to Fabian Vogt from comment #9) > Actually, it probably makes more sense to take advantage of the modularity > here and do this in kf5-filesystem instead. Just an .attr file was needed, the .prov worked OOTB: https://build.opensuse.org/request/show/790597
I don't know how exactly but I'd suggest to have some kind of check somewhere to make sure this keeps working in the future. It would be all too easy to break the .prov file without noticing the use case by KDE. Alternatively move the attr file to rpm-config-SUSE too.
(In reply to Ludwig Nussel from comment #13) > I don't know how exactly but I'd suggest to have some kind of check > somewhere to make sure this keeps working in the future. There aren't any openQA tests of openSUSE for non-english languages unfortunately :-( > It would be all too > easy to break the .prov file without noticing the use case by KDE. > Alternatively move the attr file to rpm-config-SUSE too. I assume you mean kf5-filesystem? Ok, sr superseded.