After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344926 - Meld UI is not translated
Meld UI is not translated
Status: VERIFIED FIXED
Product: meld
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2006-06-14 22:38 UTC by Nickolay V. Shmyrev
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the problem (558 bytes, patch)
2006-11-05 15:21 UTC, Nickolay V. Shmyrev
none Details | Review

Description Nickolay V. Shmyrev 2006-06-14 22:38:01 UTC
If installed into a custom directory. The reason for that is a known problem

http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq22.003.htp

Although FAQ entry states it's already fixed, it's still here with Python 2.4.2 and pygtk 2.8
Comment 1 Stephen Kennedy 2006-06-15 21:13:23 UTC
I know very little about i18n, but it looks like I'm doing everything as recommended.

Not sure what I can do about this. Is it a meld or pygtk/glade/python bug?
Comment 2 Nickolay V. Shmyrev 2006-06-15 21:37:29 UTC
Actually it's a python/pygtk bug, but as FAQ advises, you need to add a call to the meld:

gtk.glade.bindtextdomain(APP, DIR)
gtk.glade.textdomain(APP)

to get a translatable UI
Comment 3 Nickolay V. Shmyrev 2006-06-24 13:21:59 UTC
Comment on this from python bugzilla:

http://sourceforge.net/tracker/?func=detail&atid=105470&aid=1511736&group_id=5470

Ah, that's a bug in meld. It shouldn't do
gettext.bindtextdomain, but locale.bindtextdomain (although
gtk.glade.bindtextdomain has the same effect).

It is intentional that the Python gettext implementation and
the C library's gettext implementation are separate. If you
want to use the C library's gettext, you should use the
locale.* functions; if you want the pure-Python
implementation, use gettext.*.

Closing as a third-party bug.
Comment 4 Wouter Bolsterlee (uws) 2006-11-04 20:00:10 UTC
The Meld 1.3 UI appears correctly (translated, that is). Marking fixed.
Comment 5 Nickolay V. Shmyrev 2006-11-05 15:20:10 UTC
This problem is still valid in current HEAD
Comment 6 Nickolay V. Shmyrev 2006-11-05 15:21:41 UTC
Created attachment 76027 [details] [review]
Patch to fix the problem
Comment 7 Stephen Kennedy 2007-08-13 21:02:51 UTC
Thanks Nickolay, this has been applied to svn.
Comment 8 Nickolay V. Shmyrev 2007-08-13 21:05:42 UTC
amazing, thanks a lot