Re: Re: [Zinf-users] russian i18n

Robert Hart <[email protected]> Fri, 21 Nov 2003 00:27:20 +0000
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1069374440.26743.22.camel@euclid>
On Thu, 2003-11-20 at 16:40, Roman Shiryaev wrote:
> п▓ я│п╬п╬п╠я┴п╣п╫п╦п╦ п╬я┌ 20/11/2003 п╡ 13:26 Robert Hart п╫п╟п©п╦я│п╟п╩:

> So did I. AIUI, translated buttons are in the GTK2 library (I 
> don't know exatly, I think so) 

Yep. They are - wherever you use a stock item, you get translation for
free! Although there are probably loads of places we don't use a stock
item where we could.

> I wasn't clear expressed -- I can't see the files & directories 
> at all. They don't appear in the *add-track & in other boxes.

screenshot?


> > If I run in ru_RU.KOI8-R, I just get blanks were all the
> > translated text would be.
> >
> > Presumably your other apps run fine in Russian?
> Of cause. I've built xcdroast-0.98alpha15  -- It also uses GTK2 
> now -- and everything is good

I tried a few other gtk2 apps, and they seemed to work fine in both
UTF-8 and KOI8-R, so I figured we must be doing something wrong.

Looking through the source of gedit, they have:

	bindtextdomain (GETTEXT_PACKAGE, GEDIT_LOCALEDIR);
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
	textdomain (GETTEXT_PACKAGE);

Anyway, we didn't seem to have the bind_textdomain_codeset line. I have
added it, and what-do-you-know, everything works in both. Have committed
the change. Let me know if it works for you.

Rob

-- 
Robert Hart <[email protected]>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/