Bug 361979 - Category names are not translated in the Qt 5 version
Summary: Category names are not translated in the Qt 5 version
Status: RESOLVED WORKSFORME
Alias: None
Product: i18n
Classification: Translations
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 22:12 UTC by Lasse Liehu
Modified: 2022-10-25 20:55 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 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.