Re: Translating The GIMP

From: Pablo Saratxaga <pablo mandrakesoft com>

To: gnome-i18n gnome org

Subject: Re: Translating The GIMP

Date: Wed, 29 Aug 2001 16:04:17 +0200

Kaixo!
On Wed, Aug 29, 2001 at 12:50:54PM +0200, Sven Neumann wrote:
> (3) We need to handle the UTF-8 problem somehow. GTK+-2.0 solved
> this by keeping UTF-8 encoded po files in the tree and I do
> like this solution but I'm open for suggestions.
it is not needed to convert to UTF-8; providing the charset info in the
header is enough, gettext() will do the conversion at runtime depending
on the requested charset at display time (so, as long as gtk+ 2 asks
to display in utf-8 it will be transparent).
What need to be in utf-8 are things that don't provide charset info,
like the *.desktop files and such.
And those are now created from the po files with xml-i18n-tools, so
that may be an argument to use utf-8 on po files.
On the other hand, xml-i18n-tools could read the charset of the po file
and call iconv while writting the desktop files...
The only case when utf-8 is mandatory is when non ascii is used in
the msgsid entries.
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975