From: Masao Mutoh Date: 2003-07-02T03:08:40+09:00 Subject: Re: Message catalogs (I18N) overnight hack... Hi, On Tue, 1 Jul 2003 22:48:21 +0900 Brian Candler wrote: > # pkg_add gmake-3.79.1_1.tgz > pkg_add: could not find package libiconv-1.7_5 ! > pkg_add: could not find package expat-1.95.2 ! > pkg_add: could not find package gettext-0.11.1_3 ! > > It seemed strange to me that a 'make' utility would have a dependency on an > XML parser. It turns out that gettext is the GNU way to deal with this: > > [man gettext] > > DESCRIPTION > The gettext program translates a natural language message > into the user's language, by looking up the translation in > a message catalog. > > I imagine that the source format for these message catalogues is XML, and > hence the requirement on an XML parser (although IMO gettext should be split > into two: a client side which just reads the message catalogues, which > appear to be in a binary format, and a -devel package which includes the > XML-to-message-catalogue tools. But I digress). expat is used in xgettext for glade only. xgettext is the tool which extract translatable strings from given source codes. -- .:% Masao Mutoh