[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Localization
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Localization |
Date: |
Sun, 4 Aug 2002 20:14:04 +0000 |
User-agent: |
Mutt/1.2.5.1i |
On Sun, Aug 04, 2002 at 07:35:47PM +0000, Joern Thyssen wrote
> On Sun, Aug 04, 2002 at 08:37:17PM +0000, Øystein Johansen wrote
>
> > The resulting .mo files should be in UTF-8!!! Have anyone successfully
> > created any .mo file which uses UTF-8? At least I know the scandinavian
> > letters ÆØÅ and øæå does not display in gtk-2.0 and gtk for windows,
> > unless the .mo files are in UTF-8. How can we transform filesto UTF-8?
>
> Good question... I'll look into it.
Emacs can save the files in uft8 with
C-x REF f utf-8 RET
Try loading da.po into emacs, run C-x REF f utf-8 RET and change
Content-Type in the first msgid to UTF-8.
When you start gnubg you should set LC_ALL or LANG to
setenv LANG da_DK.UTF-8
If you don't use UTF-8 gettext will translate back to whatever you're
using.
Alternatively, we should add a call to bind_textdomain_codeset (
PACKAGE, "UTF-8" ) in InitGTK just before gtk_set_locale()
gtkgame.c:2129.
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)