Bug 373487 - buttons in dialog boxes are not translated
Summary: buttons in dialog boxes are not translated
Status: RESOLVED UPSTREAM
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-10 02:28 UTC by grouchomarx.fr
Modified: 2016-12-20 18:03 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grouchomarx.fr 2016-12-10 02:28:34 UTC
How to reproduce :
- open any qt5 app (dolphin, konsole, system settings, ...)
- go into the app settings or open a dialog box

Expected results :
- everything is translated

Actual results :
- buttons such as "cancel", "apply", "yes", "no", "discard", ... are in english

System : Kubuntu 16.10 and KDE Neon 5.8
all the french packages are installed
Comment 1 Burkhard Lück 2016-12-13 14:48:40 UTC
that is no i18n bug, it is a packaging bug in Neon:

* you have no systemsettings.mo -> only en_US is available in systemsettings/translations

* the qt translations (used for "cancel", "apply", "yes", "no", etc) are not installed

see https://docs.kde.org/trunk5/en/kde-workspace/kcontrol/translations/index.html
Comment 2 grouchomarx.fr 2016-12-13 15:33:13 UTC
Hi,
thank you for your answer.

* After seeing that I had an issue with KDE Neon, I tried OpenSuse.
It has the same issue.
I have installed the german language pack on OpenSuse and everything seemed to be translated in German.

* Right now I am using Arch Linux.
The issue is also there.
And I have just checked, there is a file /usr/share/locale/fr/LC_MESSAGES/systemsettings.mo


Here is a french review of OpenSuse I have found. The issue can be seen for example at 15:24
https://www.youtube.com/watch?v=8I1tut7KkSI&t=15m24s
Comment 3 Burkhard Lück 2016-12-13 17:47:54 UTC
"cancel", "apply", "yes", "no", etc are untranslated you have no qt translations installed, eg in /usr/share/qt5/translations/*_fr.qm
Comment 4 grouchomarx.fr 2016-12-13 17:55:49 UTC
I have qt5-translations installed and the files *_fr.qm are in /usr/share/qt/translations/
And like I said, the buttons are translated if I choose German as my language.
Comment 5 grouchomarx.fr 2016-12-14 20:30:17 UTC
I have updated my KDE Neon install and the buttons are now translated.
Thank you very much.

I hope the other distros will also be fixed (just tried OpenSuse Leap 42.2 : German and Spanish work, not French). I don't know if there are missing or corrupt files, or if it is a bug from plasma apps or qt.
Comment 6 grouchomarx.fr 2016-12-20 18:03:12 UTC
The buttons are also translated in Arch Linux.

I guess it was a bug from qt.

I will mark this bug report as resolved.