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! It does not tell you which steps are unique to gtkmm2 and which steps would be required for any program that uses gettext. BTW, what is the answer to this? Which of the steps are unique to gtkmm2? It tells you to "Add po to the SUBDIRS variable." It there anyway to do internationalization without using recursive make? In a famous paper: "Recursive Make Considered Harmful" http://aegis.sourceforge.net/auug97.pdf Peter Miller argues that recursive make should not be used. Is there anyway to do this? Is there any other documentation on how to setup internationalization using gettext? Thank You. -- 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:
pgpBwGtPtYigd.pgp
Description: PGP signature