polkitd translations for actions not working with gettext
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
policykit-1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1) The release of Ubuntu you are using
Release: Ubuntu 24.04.1 LTS
2) The version of the package you are using
Package: polkitd 124-2ubuntu1
3) What you expected to happen
Dialog messages asking for permissions shows fully translated
4) What happened instead
If a action file for polkit defines translations inline (i.e. /usr/share/
<message xml:lang="es (or whatever)"<Se requiere autorización<
then the dialog for permissions shows the translated message but if action file uses "gettext-domain" (i.e. /usr/share/
<message gettext-
then only gets translated the first time the dialog is shown, after that the message shows always untranslated.
If polkitd is restarted then the first time works as expected, but only the first time. After that messages will show untranslated again.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: polkitd 124-2ubuntu1
Uname: Linux 6.11.10-
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 28 12:53:00 2024
InstallationDate: Installed on 2024-11-14 (14 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)