Bug 477528 - Audio Device & Port translations are not applied from upstream
Summary: Audio Device & Port translations are not applied from upstream
Status: RESOLVED FIXED
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:
: 468368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-25 21:28 UTC by Emir SARI
Modified: 2023-12-29 03:14 UTC (History)
4 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 Emir SARI 2023-11-25 21:28:58 UTC
See: https://bugs.kde.org/show_bug.cgi?id=477509

PulseAudio KCM does not provide localised device and port names.
Comment 1 Emir SARI 2023-12-26 09:56:39 UTC
*** Bug 468368 has been marked as a duplicate of this bug. ***
Comment 2 Carlos De Maine 2023-12-26 12:43:13 UTC
hmmm.  but where  should the translations be coming from??  

seems like ubuntu in there infinite wisdom strip the translations - https://launchpadlibrarian.net/587772959/buildlog_ubuntu-jammy-amd64.pulseaudio_1%3A15.99.1+dfsg1-1ubuntu1_BUILDING.txt.gz

"pkgstriptranslations: processing pulseaudio (in debian/pulseaudio); do_strip: 1, oemstrip: "
Comment 3 Carlos De Maine 2023-12-26 12:43:45 UTC
hmmm.  but where  should the translations be coming from??  

seems like ubuntu in there infinite wisdom strip the translations - https://launchpadlibrarian.net/587772959/buildlog_ubuntu-jammy-amd64.pulseaudio_1%3A15.99.1+dfsg1-1ubuntu1_BUILDING.txt.gz

"pkgstriptranslations: processing pulseaudio (in debian/pulseaudio); do_strip: 1, oemstrip: "
Comment 4 Emir SARI 2023-12-26 12:45:14 UTC
I think they should be coming from PulseAudio (or Pipewire if that’s the one used).
Comment 5 Carlos De Maine 2023-12-27 04:07:37 UTC
debian doesn't strip them out like ubuntu seems to do - https://buildd.debian.org/status/fetch.php?pkg=pulseaudio&arch=amd64&ver=16.1%2Bdfsg1-2%2Bb1&stamp=1665905231&raw=0

will investigate why ubuntu is setting pkgstriptranslations on their packages.
Comment 6 Carlos De Maine 2023-12-27 05:07:50 UTC
you will need to install language-pack-tr-base.  it contains all the translations that ubuntu strip out of the base packages and conglomerate together into specific-language-packs.

neon will need to install the appropriate language-pack when a new language is selected on the system and also at install if a language other than english is used for the install
Comment 7 Emir SARI 2023-12-27 07:52:10 UTC
Thanks for the tip! This fixed #477510, but #473708 is still valid.

For this bug, there is great improvement though, now the drop-down menu contents are translated, however Line In-Out headers are still in English. They are translated at the source[1]. Maybe there is a setting that I can purge, that would help?

[1] https://translate.fedoraproject.org/translate/pulseaudio/pulseaudio/tr/?q=line&sort_by=-priority%2Cposition&offset=5
Comment 8 Carlos De Maine 2023-12-29 03:14:49 UTC
(In reply to Emir SARI from comment #7)
> Thanks for the tip! This fixed #477510, but #473708 is still valid.
> 
> For this bug, there is great improvement though, now the drop-down menu
> contents are translated, however Line In-Out headers are still in English.
> They are translated at the source[1]. Maybe there is a setting that I can
> purge, that would help?
> 
> [1]
> https://translate.fedoraproject.org/translate/pulseaudio/pulseaudio/tr/
> ?q=line&sort_by=-priority%2Cposition&offset=5

yep..  transalations are in tree at https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/po/

those strings seem to be translated in the 15.99.1 tag that is being shipped - https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/v15.99.1/po/tr.po?ref_type=tags

maybe restarting the session will help