GNOME Bugzilla – Bug 663469
Python plugins are not internationalized
Last modified: 2011-11-07 11:46:37 UTC
Every plugin written in Python (I tested artdisplay, context, im-status, lyrics, python-console, sendto) is not internationalized in the UI.
I discovered that .py files are missing "import gettext" headers. I think adding them would fix the issue.
Created attachment 200788 [details] [review] Patch fixing the problem This patch fixes the issue in my (very limited) testing.
We should do something like this instead: import gettext gettext.install('rhythmbox', localedir) since that's what we used to do for python plugins automatically.
Created attachment 200805 [details] [review] Fixed patch Ok, so here is second version of the patch.
The second one doesn't work. I'm not a programmer, so this is it for me. I hope you could fix it properly.
Sorry, I should have explained that there wasn't a way to get the value for 'localedir' previously. I just added a function to do that, then fixed up your patch to use it and pushed as commit 7021991. Thanks for helping out with this.