Hi to all, Sorry for my long absence, I am slightly busy.
Kip Warner <[email protected]> wrote: > I have a sample GtkListStore declared within a Gtk+ Glade file > containing a single row with just one column of type gchararray. The > string is marked as translatable="yes". > > I am using xgettext as follows, without any foo.pot being generated > against the minimal: > > $ xgettext --language Glade minimal.glade --output=foo.pot > > Am I using xgettext incorrectly? > No, It is fine, but Glade 3 support have been added with 0.18.3 version. ==================================================================== $ xgettext --version xgettext (GNU gettext-tools) 0.18.3 Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper. $ ls minimal.glade $ xgettext --language Glade minimal.glade --output=foo.pot $ ls foo.pot minimal.glade $ cat foo.pot # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-08-07 23:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: minimal.glade:11 msgid "stuff" msgstr "" ==================================================================== Also it works with "xgettext minimal.glade --output=foo.pot". Happy hacking! Miguel
