Red Hat Bugzilla – Bug 72693
Glade stock menu items not translated correctly
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020712
Description of problem:
Stock Menu items within the glade/gnome widget pool are not being translated
correctly. Menu items do not show for certain languages.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run Glade-2 and build a new gnome app
2.Select the gnome app window and save.
3.Now build a python module to use the glade file.
4.Run the glade module with the following command
LANG=jp_JP.eucJP python2.2 test.py
Actual Results: Translated menu line will not appear.
Expected Results: Translated menu line should appear.
Created attachment 73124 [details]
test case showing the problem
Have a look at e.g. redhat-config-packages. We seem to have a little convenience
module rhpl.translate that handles some of the details.
I don't believe any of the rhpl/translate routines will help. The problem here
is not english words in my code that are not being translated, but english words
within the glade stuff that is not being translated. Stock item _About does not
have a corresponding _("About") in my code.
the problem is that gnome.ui.program_init is not calling bindtextdomain on
libgnomeui. Matt, do you have a fix forthcoming?
this is fixed in the current libgnome package