Re: libglade and gettext
- From: James Henstridge <james daa com au>
- To: Andy Kahn <ackahn netapp com>
- cc: gnome-devel-list gnome org
- Subject: Re: libglade and gettext
- Date: Sat, 25 Mar 2000 19:02:25 +0800 (WST)
You can get glade to output a header file containing all the translatable
strings that you can use xgettext on (you don't actually have to compile
the header into your app). Just go to the project options dialog and
tell it to output this header on the libglade options tab.
If you initialise gettext for your translation domain (ie. call
bindtextdomain and textdomain), libglade should take care of the rest.
James.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/
On Fri, 24 Mar 2000, 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.
>
> thanks,
> --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]