Re: libglade and gettext



There is a VERY simple way to do this :) Go to Preferences or Options or
Project Optionswhatever it is. You will find a 'libglade' tab where you can
set the file for 'translatable strings'. When you 'save' your .glade file it
will re-generate that file i believe. That file is /not/ to be compiled. But
you need to add it to the POTFILES.in or something like that :)

Enjoy,
Ali Abdin

----- Original Message -----
From: "Andy Kahn" <ackahn@netapp.com>
To: "Andy Kahn" <ackahn@netapp.com>
Cc: <gnome-devel-list@gnome.org>
Sent: Saturday, March 25, 2000 3:42 AM
Subject: Re: libglade and gettext


> On Fri, Mar 24, 2000 at 05:36:50PM -0800, Andy Kahn wrote:
> > If I use glade to generate an XML (.glade) file, and then use libglade
> > to read the .glade file to create my widgets, is there a way to have
> > the text strings within the .glade file be gettext'ized?
> >
> > The only solution I can think of is taking that .glade file, and then
> > manually translating the text strings withing it.  ugh.
>
> I spoke too soon.  To answer my own question, it looks like there *is*
> some sort of translation automatically done within libglade.  To what
> extent, I don't know yet.
> --andy
>
>
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
>



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