[Top][All Lists]

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

Using gettext support with an external xgettext program ?

From: Guillaume Rousse
Subject: Using gettext support with an external xgettext program ?
Date: Wed, 18 Feb 2009 23:45:45 +0100
User-agent: Thunderbird (X11/20081231)

Hello list.

I'm trying to sanitize sympa ( usage of autotools. I made a few attempts to use automake builtin gettext support, as explained at, but I don't think that is really suited for my needs.

First, sympa is mainly a perl program, and the only native parts are only wrapper without any translation, meaing I don't need any support for libintl linking.

Second, many of the strings to be translated occurs in tt2 template files, and (distributed in Locale-Maketext-Lexicon) does a far better job than GNU xgexttext to extract them (I don't think gnu gettext could recognize patterns such as [% |l(args) %]string[% END %], even with --keyword option).

So, is there a way to benefit from automake-generated make rules for managing (building, installing, distributing, etc...) .pot, .mo and .po files, but with an external xgettext program ?

Or should I manage this just as ordinary data files, such as:

localedir = $(datadir)/locale
nobase_locale_DATA = fr_FR/LC_MESSAGES/ \


BOFH excuse #184:

loop found in loop in redundant loopback

reply via email to

[Prev in Thread] Current Thread [Next in Thread]