- From: James Henstridge <james daa com au>
- To: bob cs csoft net
- cc: gnome-devel-list gnome org
- Subject: Re: gettext
- Date: Fri, 19 Nov 1999 09:10:31 +0800 (WST)
Maybe the best way of doing this would be for the server object to pass
back untranslated strings, and make sure all the clients have access to
the message catalog. They can then use dgettext(domain, msg) to translate
the string with their preferred language (domain is the translation
domain of the server -- if it is the same as for the clients, you can use
straight gettext() or _()).
On Thu, 18 Nov 1999 email@example.com wrote:
> gettext question.
> Say I have a corba object acting as a shared server. Multiple clients can
> be hitting this object. Each client can have a different language set. I
> would like to be able to pass the LANGUAGE variable from the client to the
> server as one of its arguments, and the server should then return data in
> that language. is there a function that would work like
> gettext("some text to translate", "en:fr") ?
> To unsubscribe: mail firstname.lastname@example.org with "unsubscribe"
> as the Subject.
] [Thread Prev