bug-gettext
[Top][All Lists]
Advanced

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

[bug #64481] Gtk.builder.new_from_string strings not extracted


From: Bruno Haible
Subject: [bug #64481] Gtk.builder.new_from_string strings not extracted
Date: Sat, 5 Oct 2024 21:23:08 -0400 (EDT)

Update of bug #64481 (group gettext):

                  Status:               Confirmed => Need Info              

    _______________________________________________________

Follow-up Comment #3:

Assume we had this functionality in xgettext (that it can recognize an
invocation of gtk_builder_new_from_string in the C code and then pass the
argument to the XML extractor): What would you want to do with it?

The end-to-end procedure for internationalization of an XML file that
describes a GUI is:
1. xgettext produces a POT file.
2. The translator produces a translation (PO file).
3. The translation gets merged back into the XML file.
4. The UI library's runtime picks the translated strings from the XML file
that contains the translation.

How would you do steps 3 and 4 in this scenario?

I claim that step 3 needs the XML in a file. But when you have it in a file,
you don't call gtk_builder_new_from_string on a string literal in the first
place.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64481>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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