Re: gettext



On 04/22/2016 10:08 AM, Sébastien Wilmet wrote:
On Fri, Apr 22, 2016 at 08:39:33AM -0500, Michael Catanzaro wrote:
We really need an intltool -> pure gettext transition guide, if anyone
feels up for taking that on, because it's not at all clear how this is
supposed to work.
gettext is well documented. For maintainers:
http://www.gnu.org/software/gettext/manual/html_node/Maintainers.html#Maintainers

In the po/Makevars file, here is the XGETTEXT_OPTIONS when using
glib/gi18n.h or glib/gi18n-lib.h:

XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 
--keyword=g_dngettext:2,3

Also note that using "ide create-project -t empty foo" will create you a
new empty autotools project using pure-gettext. That might an easy way
to compare things. (It does require Builder from git).

-- Christian


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