Bug 361979

Summary: Category names are not translated in the Qt 5 version
Product: [Translations] i18n Reporter: Lasse Liehu <lasse.liehu>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aacid, lueck, myriam, romain.perier, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lasse Liehu 2016-04-19 22:12:04 UTC
When using Qt 5 version of Phonon, Phonon::categoryToString() does not return translated name of a category.

This probably isn't be a packaging issue because while testing in Finnish, libphonon.mo was installed in /usr/share/locale/fi/LC_MESSAGES by package kde-l10n-fi. Kubuntu 15.10 is also affected.

Reproducible: Always

Steps to Reproduce:
1. Open Qt 5 based Phonon KCM using some fully-translated language, e.g. German or Finnish (or one of many more).

Actual Results:  
Most of the UI strings in the Phonon KCM are translated but the category names (Notifications, Music, Communication etc.) that come from the Phonon library are not.

Expected Results:  
Category names are translated.

This problem did not occur when using Kubuntu 14.04 that uses Qt 4 based Phonon and has a Qt 4 based Phohon KCM.
Comment 1 Harald Sitter 2016-06-10 10:40:12 UTC
Phonon never shipped translations. They should still be installed by some genearl purpose KDE tarball I think.

(that said Phonon not shipping translations *is* a problem as well, it's not a new one and we are aware of it)
Comment 2 Albert Astals Cid 2016-06-12 18:34:25 UTC
Harald, i don't think the problem is the files not being installed but simply you not loading the strings in the kcm module.

Which catalog is supposed to provide the translation for "Communication" and where do you load it?
Comment 3 Justin Zobel 2022-10-21 23:59:54 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 4 Lasse Liehu 2022-10-25 20:55:52 UTC
It looks like the KCM no longer exists. Phononsettings seems to exist as a replacement and category names are properly localized there. Everything else in the UI itself is not localized, though.