Bug 2361244

Summary: Localizations for new window/private window action don't work for certain locales on plasma
Product: [Fedora] Fedora Reporter: Luan Vitor Simião Oliveira <luanv.oliveira>
Component: chromiumAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 42CC: pigpigman8686, spotrh, suraj.ghimire7, than, yaneti
Target Milestone: ---Keywords: Desktop, Translation
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: chromium-138.0.7204.168-1.el10_1 chromium-138.0.7204.168-1.el9 chromium-138.0.7204.168-1.fc42 chromium-138.0.7204.168-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-30 00:24:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luan Vitor Simião Oliveira 2025-04-20 17:47:40 UTC
languages that have country variations like es-AR,pt-PT and PT-BR have localized actions on the desktop file, but they don't work on plasma because they are using "Name[sv-SE]" instead of "Name[sv_SE]"

Reproducible: Always

Steps to Reproduce:
1. set system language to pt-BR or some other language with country variations.
2. on plasma desktop, right click the chromium icon in the launcher.
Actual Results:
the new window action will be in english

Expected Results:
the actions should be on system locale

Comment 1 Than Ngo 2025-07-22 11:30:28 UTC
Does it work for you if you do symlink like below?

   cd /usr/lib64/chromium-browser/locales && ln -s pt-BR.pak pt_BR.pak

Comment 2 Luan Vitor Simião Oliveira 2025-07-22 12:36:29 UTC
(In reply to Than Ngo from comment #1)
> Does it work for you if you do symlink like below?
> 
>    cd /usr/lib64/chromium-browser/locales && ln -s pt-BR.pak pt_BR.pak

localization inside chromium works without that.
the problem this issue is about is on the desktop file at /usr/share/applications/chromium-browser.desktop, the localized names under desktop action of "new-window" and "new-private-window" are using - instead of _

for example:
line 223 is "Name[pt-BR]=Nova janela" but it should be "Name[pt_BR]=Nova janela"
likewise, line 331 should be "Name[pt_BR]=Nova janela privativa"

Comment 3 Than Ngo 2025-07-22 13:10:00 UTC
It should be fixed in next build.
Thank you!

Comment 4 Fedora Update System 2025-07-24 05:21:23 UTC
FEDORA-2025-10d6b88be2 (chromium-138.0.7204.168-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-10d6b88be2

Comment 5 Fedora Update System 2025-07-24 05:21:23 UTC
FEDORA-2025-0069214e9f (chromium-138.0.7204.168-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0069214e9f

Comment 6 Fedora Update System 2025-07-24 05:21:24 UTC
FEDORA-EPEL-2025-94f44962fe (chromium-138.0.7204.168-1.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-94f44962fe

Comment 7 Fedora Update System 2025-07-24 05:21:24 UTC
FEDORA-EPEL-2025-11ee8c8dc3 (chromium-138.0.7204.168-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-11ee8c8dc3

Comment 8 Fedora Update System 2025-07-25 00:40:36 UTC
FEDORA-EPEL-2025-11ee8c8dc3 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-11ee8c8dc3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-07-25 02:13:03 UTC
FEDORA-2025-0069214e9f has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0069214e9f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0069214e9f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-07-25 02:14:39 UTC
FEDORA-EPEL-2025-94f44962fe has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-94f44962fe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-07-25 02:25:50 UTC
FEDORA-2025-10d6b88be2 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-10d6b88be2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-10d6b88be2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-07-30 00:24:08 UTC
FEDORA-EPEL-2025-94f44962fe (chromium-138.0.7204.168-1.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-07-30 00:34:59 UTC
FEDORA-EPEL-2025-11ee8c8dc3 (chromium-138.0.7204.168-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-07-30 01:22:38 UTC
FEDORA-2025-0069214e9f (chromium-138.0.7204.168-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-08-01 01:55:49 UTC
FEDORA-2025-10d6b88be2 (chromium-138.0.7204.168-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.