Bug 477509

Summary: [PA] Port and device names are not localised
Product: [Plasma] plasmashell Reporter: Emir SARI <emir_sari>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nicolas.fella
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KCM
Overlay

Description Emir SARI 2023-11-25 16:51:20 UTC
Created attachment 163471 [details]
KCM

Latest Plasma 6 Git, neon Unstable

See screenshots.

There are three parts that are not localised:

1. Port names, "Line In-Out"
2. Device names, "Analog Stereo Duplex" etc.
3. Title for the test overlay, "Built-in %1"

Port names are also not localised in the system tray as well.

All available strings have been translated, and at 100%.
Comment 1 Emir SARI 2023-11-25 16:51:43 UTC
Created attachment 163472 [details]
Overlay
Comment 2 Nicolas Fella 2023-11-25 21:16:08 UTC
Audio device names come directly from the underlying audio infrastructure/the hardware. There's no real way for Plasma to localize those.

I've seen localize device names, not sure where that happens. Somewhere in PulseAudio and/or ALSA
Comment 3 Emir SARI 2023-11-25 21:17:45 UTC
I see, thanks for the information. What about the port names though? They should be fairly simple, along with the speaker locations.
Comment 4 Emir SARI 2023-11-25 21:21:26 UTC
Okay, I think they also come from PulseAudio. This is probably a packaging issue with neon.
Comment 5 Nicolas Fella 2023-11-25 21:26:20 UTC
right, port names are also opaque backend strings to us.

"pactl list" should show you localized values, if not then there's a translation missing or something else wrong