[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Gattrib bugs fixed (hopefully). Please test!!



On Thu, 10 Mar 2005 07:13:20 -0500 (EST)
sdb@xxxxxxxxxx (Stuart Brorson) wrote:

> > Do you have Spanish language turned on when you build gEDA/gattrib?
> > Some of the Pango stuff used to draw cells  and other graphical
> > widgets relies on the I18N stuff.  I am wondering if something is
> > misconfigured for a Spanish build, or if I have not done the right
> > thing for I18N.  I wonder if anybody has tried to build gattrib in,
> > say, German?
> 
> OK, I set the LC_ALL, LANG, and LC_MESSAGES variables to spanish, and
> ran gattrib.  It had no problems, so I guess I18N isn't the culprit.
> (BTW, there were no translations of the text.  Hmmm. . . .  eventually
> I'll have to provide some hooks for translators.)  BTW: gschem ran
> fine with these env vars set, and the translations also showed up, so
> I guess I did the right thing.

Maybe you need locale data files set up to get translations to work.
I do this when I need to check a translation.

As root (need to run only once unless locales package is reinstalled):
    localedef -i es_ES -f ISO-8859-1 es_ES

Then
    export LANG=es_ES
    run program, of course the program must be compiled with i18n support
    and the es.mo file installed.

Bill