Re: i18n with autoconf but not automake

It is quite easy.  Follow these steps:
  1) run gettextize
  2) copy the contents of $(prefix)/share/aclocal/{lcmessage.m4,gettext.m4}
     to your aclocal.m4 file.
  3) In your file, add the following:
     ALL_LINGUAS="ll ll ll"
     (replacing ll with the translations you have for the package)
  4) Edit your makefile so that it descends into the intl and po
     directories before building the program.
  5) Make sure that all of your programs link with $(INTLLIBS)
  6) Make sure that your "make install" target calls "make install" in
     the intl and po directories.

This should allow you to use gettext without automake.  For more info,
take a look at the gettext info pages.



On Thu, 3 Jun 1999 wrote:

> Hi,
> Is there any way to get i18n into my two gnome programs without
> using automake? I use autoconf at the moment. I now using automake
> is the easiest way, it works... but the produced is huge
> and I want to keep they small, using only autoconf.
> Some help?
> Thanks.
> Manuel Clos.
> -- 
> To unsubscribe: mail with "unsubscribe"
> as the Subject.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]