Re: gettext
- From: Sébastien Wilmet <swilmet gnome org>
- To: desktop-devel-list gnome org
- Subject: Re: gettext
- Date: Fri, 22 Apr 2016 19:08:37 +0200
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
Examples of GNOME projects using upstream gettext:
- gtk+
- gtksourceview
- gspell
- probably others
But in gtk+ the po/Makefile.in.in file has been modified.
--
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]