GNOME Bugzilla – Bug 659927
Untranslated strings in password dialogs
Last modified: 2011-10-11 10:30:15 UTC
Created attachment 197329 [details] Screenshot of the problem Downstream bug reported at https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/857136 while using Oneiric Beta, I tried to change the default keyring password using seahorse (Passwords and Keys application in the Dash). The dialog that comes up if you right-click on the default keyring and choose to change the password, looks like is coming from gnome-keyring, since that strings there are in the gnome-keyring template. Not all of those strings are translated, albeit them being already translated since a while and also shipped with Ubuntu. Seahorse is at versione 3.1.92, gnome-keyring at version 3.1.92.
Created attachment 197331 [details] Another screenshot of the problem
Created attachment 197332 [details] One more screenshot
All these strings are present in the .po files, so my first guess would be that the gi18n.h includes in the files containing these strings should be changed to gi18n-lib.h.
Those strings come from gnome-keyring-daemon (whereas the other strings come from gnome-keyring-prompt). Do you think that the incorrect LOCALE is set on the daemon? Or perhaps the LOCALE is set too late?
Hi I was wrong about the gi18n-lib.h thing, that's not the problem here[1]. If I issue `gnome-keyring-daemon --replace` , and then try to change the keyring password, the strings appear translated. There was also a comment in the original report that suggests that the problem may be Ubuntu-specific: https://bugs.launchpad.net/ubuntu-translations/+bug/857136/comments/4 After trying all the possibilities with shuffling the i18n initialization code in the g-k-d and g-k-p, I have installed gdm and boom, everything is translated. So it must be lightdm being incompatible in some strange way. I wonder: what does gdm say to g-k-d, that lightdm maybe not? [1]: those may still cause problems in the future, I'll open another bug.
Interesting, thanks for the research.