Re: Multi-language support in gladexml

On Fri, Jul 30, 2004 at 11:58:17 +1000, Chris Debenham - SSA Systems Engineer wrote:
Hopefully a simple question, but one I have no idea about.
How do you create/edit/use a gladexml file that supports multiple
Basically my app ( is in english only
at the moment but there is some interest in translating it into other
Is there a proper way to do this? I saw in the gladexml pod reference to
a "translation-domain" but I couldn't find anything about creating these
domains or how to use them?

Any ideas?

The 'translation-domain' is a textdomain for calls to gettext. If you
set it, gettext is called on all translatable strings in the file.

You must look in the *C* level documentation for things like this --
The translation happens in the libglade library itself, NOT the

Oh, all Gtk stock items will be translated automaticaly when you set
LC_MESSAGES or LC_ALL (they must be set by the time gtk_init is

                                                 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature

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