This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: other/2857: i18n, translations does not work
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: other/2857: i18n, translations does not work
- From: Dennis Bjorklund <db at zigo dot dhs dot org>
- Date: Thu, 24 May 2001 18:22:09 +0200 (CEST)
- cc: Zack Weinberg <zackw at Stanford dot EDU>, Mark Mitchell <mark at codesourcery dot com>, Philipp Thomas <pthomas at suse dot de>, <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>, <gcc-gnats at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
On Thu, 24 May 2001, Joseph S. Myers wrote:
> On Thu, 24 May 2001, Dennis Bjorklund wrote:
>
> > I don't know anything about release scripts. But a make && make install
> > installs the binary files (as gcc.mo). Maybe one have to adjust so that
>
> But doesn't this require users to have gettext installed? The normal GNU
> practice is for users to get the translations installed without needing
> gettext installed - which requires the compiled gcc.mo to be included in
> the source tarball.
Yes. Just try to build a tar ball and see if sv.gmo is there, if it is, it
works. It's the sv.gmo that is renamed and installed as a gcc.mo. And the
same for other languages but there are no but swedish for now. This is how
it works for other packages and the .gmo is created when one do the "make
dist" if it's needed.
I found some more strings that are in the .po file that does not show up
translated:
$ gcc-3.0 --target-help
Speciella flaggor för målarkitektur:
-m96bit-long-double sizeof(long double) is 12.
-m128bit-long-double sizeof(long double) is 16.
<...>
still this is in the .po file:
#: config/i386/i386.h:305
msgid "sizeof(long double) is 16."
msgstr "sizeof(long double) är 16."
#: config/i386/i386.h:307
msgid "sizeof(long double) is 12."
msgstr "sizeof(long double) är 12."
So some more of that magic that was done before is needed.
--
/Dennis