I would think that the attached patch is what's needed to fix this. Caveat: This is untested. The regular xgettext() would extract those .policy file strings fine, but I don't know if xgettext-go() does. If not, a slightly different solution is needed.
** Patch added: "0001-Translate-polkit-strings.patch" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1747272/+attachment/5053935/+files/0001-Translate-polkit-strings.patch ** Changed in: snapd (Ubuntu) Importance: Undecided => Medium ** Changed in: snapd (Ubuntu) Status: New => In Progress ** Changed in: snapd (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1747272 Title: Polkit dialogs of snapd are not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-translations/+bug/1747272/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs