Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken
Home

[Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: himasaram@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Oct 2005 10:52:31 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14476 >

Daniel Markstedt wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14476 >
> 
> Localization on Mac OS X appears to be broken.
> 
> When running under one of the supported language locales, only very few 
> strings are translated (only buttons?) See attached screen for an 
> example running in Japanese locale.
> 
> The issue is the same with pre-compiled 2.0.x Mac packages and with my 
> home-compiled dev version.

The strings you see that are translated are part of the GTK library, so 
it seems GTK i18n is working properly.

Getting gettext to work with the freeciv strings is another matter.  I 
don't really know what could be wrong...I'm sure it's some problem in 
the bootstrap (configure.ac or po/Makefile.*) code.


I'm no expert on gettext but let's see if we can figure out the problem. 
  On my machine (which works with i18n) I have in config.h:

/* Locale directory */
#define LOCALEDIR "/usr/local/share/locale"

...and then (after "make install") I have a bunch of $LANG directories 
in this directory, each of which contains an LC_MESSAGES directory, each 
of which contains a freeciv.mo file.

When doing "make install" inside my po/ directory I get lines like:

installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/freeciv.mo

-jason





[Prev in Thread] Current Thread [Next in Thread]