pyxfce and textdomain

Adriano Winter Bess awbess at gmail.com
Sun Jul 16 17:14:12 CEST 2006


Hi,

I'm writing a new plugin for the Xfce 4 Panel and this time I wanted to give
pyxfce a try. I'm having problems with the textdomain function in xfce4.util. If
I do this:

	xfce4.util.textdomain (NAME, LOCALEDIR, "UTF-8")

the strings in the plugin are not translated at all. But if I just replace the
above line for:

	gettext.bindtextdomain (NAME, LOCALEDIR)
	gettext.textdomain (NAME)

everything works fine. Does anyone else using pyxfce also have this problem?

Regards,
Adriano
-- 
Adriano Winter Bess
ICQ: 21569917
MSN: awbess-at-gmail.com
IRC: nyquide

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060716/76fcc597/attachment.pgp>


More information about the Xfce4-dev mailing list