[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]
Subject: |
[Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken |
From: |
"Daniel Markstedt" <himasaram@xxxxxxxx> |
Date: |
Thu, 27 Oct 2005 13:54:33 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14476 >
> Från: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
> Till: himasaram@xxxxxxxx
> Rubrik: [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken
> Datum: Thu, 27 Oct 2005 10:52:31 -0700
> <url: <a
> href=http://bugs.freeciv.org/Ticket/Display.html?id=14476>http://bugs.freeci
> v.org/Ticket/Display.html?id=14476</a>>
>
> Daniel Markstedt wrote:
> > <url: <a
> href=http://bugs.freeciv.org/Ticket/Display.html?id=14476>http://bugs.freeci
> v.org/Ticket/Display.html?id=14476</a>>
> >
> > 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
Actually, it seems like I'm missing Freeciv's .mo files in
/usr/local/share/locale/... (only subversion mo's are in there)
A "make install" in my po/ dir produce the following output:
if test "freeciv" = "gettext"; then \
/bin/sh `case "bootstrap/mkinstalldirs" in /*) echo "bootstrap/mkinstalldirs"
;; *) echo "../bootstrap/mkinstalldirs" ;; esac`
/Users/daniel/freeciv-bin/share/gettext/po; \
/usr/bin/install -c -m 644 ./Makefile.in.in \
/Users/daniel/freeciv-bin/share/gettext/po/Makefile.in.in; \
else \
: ; \
fi
Something to do with that 'config.h' file? The only such file I have in my
freeciv source is in the amiga/ dir...
-Daniel
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Jason Short, 2005/10/27
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken,
Daniel Markstedt <=
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Jason Short, 2005/10/27
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Daniel Markstedt, 2005/10/27
- [Freeciv-Dev] (PR#14476) Localization on Mac OS X broken, Daniel Markstedt, 2005/10/27
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Jason Short, 2005/10/27
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Jason Short, 2005/10/27
- [Freeciv-Dev] (PR#14476) Localization on Mac OS X broken, Daniel Markstedt, 2005/10/27
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Jason Short, 2005/10/27
- [Freeciv-Dev] Re: (PR#14476) Localization on Mac OS X broken, Jason Short, 2005/10/27
- [Freeciv-Dev] (PR#14476) Issues with gettext on Mac OS X, Daniel Markstedt, 2005/10/28
|
|