On Thu, May 31, 2007 at 09:45:26AM -0500, Paul Elliott wrote: > > I have a number of problems with the internationalization section of > the tutorial: > http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch24.html#sec-internationalization-intro > > It is too cookbook. It tells you what to do but not what you are doing. When > you run into problems you don't know how to fix it, because you don't know > what you are doing. > > For example they tell you to add this code to your configure.ac file: > > IT_PROG_INTLTOOL([0.35.0]) > > GETTEXT_PACKAGE=programname > AC_SUBST(GETTEXT_PACKAGE) > AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The domain to use with gettext]) > AM_GLIB_GNU_GETTEXT > > PROGRAMNAME_LOCALEDIR=[${datadir}/locale] > AC_SUBST(PROGRAMNAME_LOCALEDIR) > > but they do not tell you what this code does! It feels like cargo cult programming. > > It tells you to add these files: intltool-extract.in intltool-merge.in intltool-update.in > to EXTRA_DIST, but it does not tell you what these files are or where to find them > or how to create them! You also need the file po/Makefile.in.in , but it does not mention this file at all! I got mine from my intltool package. -- Paul Elliott 1(512)837-1096 pelliott io com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
Attachment:
pgp07s0weCQzL.pgp
Description: PGP signature