other/2857: i18n, translations does not work

Dennis Bjorklund db@zigo.dhs.org
Thu May 24 09:22:00 GMT 2001


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



More information about the Gcc-bugs mailing list