This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i18n


>>>>> Dennis Bjorklund writes:

 > Hi!
 > I've tried to create a swedish translation of cvs-gcc but I have
 > some problems:

 > * xgettext is called with the flag "--defines" which does not
 >   exist in my xgettext. And I use getttext 0.10.35 which is
 >   the latest released version.
You should use the version from CVS, this is documented in the CVS
version of GCC in the file ABOUT-GCC-NLS.

 >   But I solved this for now by removing "--defines". And it
 >   looked like it worked at least.

 > * After I have created the sv.gmo file I copied it to
 >   {prefix}/share/locale/sv/LC_MESSAGES/gcc.mo but it didn't
 >   work. I still get no swedish output.

 >   So I ran the compiler with ltrace and saw that it did call
 >   bindtextdomain() and other initialize functions but it
 >   never called any gettext() functions. That's a bit strange..
Did you use --enable-nls when configuring?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]