other/2857: i18n, translations does not work

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


The following reply was made to PR other/2857; it has been noted by GNATS.

From: Dennis Bjorklund <db@zigo.dhs.org>
To: "Joseph S. Myers" <jsm28@cam.ac.uk>
Cc: Zack Weinberg <zackw@Stanford.EDU>, Mark Mitchell <mark@codesourcery.com>,
        Philipp Thomas <pthomas@suse.de>,
        <Gabriel.Dos-Reis@cmla.ens-cachan.fr>, <gcc-gnats@gcc.gnu.org>,
        <gcc-bugs@gcc.gnu.org>, <gcc-patches@gcc.gnu.org>
Subject: Re: other/2857: i18n, translations does not work
Date: Thu, 24 May 2001 18:22:09 +0200 (CEST)

 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-prs mailing list