[Glade-users] Translation, gtk labels, and gettext
- From: caleb.marcus at gmail.com (Caleb Marcus)
- Subject: [Glade-users] Translation, gtk labels, and gettext
- Date: Fri, 07 Dec 2007 19:26:18 -0500
On Fri, 2007-12-07 at 14:42 -0200, Tristan Van Berkom wrote:
On Dec 7, 2007 4:06 AM, Caleb Marcus <caleb.marcus at gmail.com> wrote:
I'm now having issues with glade and gettext. I can run
xgettext directly on the glade file, but that just produces a
file with ALL the strings, not just the translatable ones. I
can run intltool-extract on the glade file to produce a .h
file, but running xgettext on the result doesn't produce any
output unless I use the -a argument, which just extracts all
the strings, which I don't want. What should I do?
I was under the impression that there is an intltool rule for this
(similar to INTLTOOL_XML_NOMERGE_RULE) that you can
add to your project's makefile to create myproject.glade from
myproject.glade.in .
although I just noticed that glade 2 used to dump translatable
strings
into a file for this purpose; IMO this should be the domain of
intltool
to extract translations from glade files (or gtkbuilder files).
I would recommend that you verify that such a rule doesnt exist
yet and file an rfe under intltool for that.
Cheers,
-Tristan
I don't have a makefile... I'm just using the .glade file with libglade
in Python.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20071207/bfb5670e/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/glade-users/attachments/20071207/bfb5670e/attachment.bin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]