[Gimp-docs] Current status on migration
Ulf-D. Ehlert
ude88 at web.de
Mon Sep 8 04:56:34 PDT 2008
Hi Julien,
julien (Montag, 8. September 2008, 08:24):
> After updating xml2po-support, I ran:
> xml2po-support/DEST> xml2po --output=file-new.po --reuse
> fr/file-new.xml --language=fr en/file-new.xml
Thanks for testing it. :-)
> The file-new.po I got is wrong :-(.
> It is correct up to line 33, "Basic options".
>
> >From there, all msgstr are shifted:
Yes, I can reproduce it.
My "file-new.po" contains the following output:
#: .../en/file-new.xml:33(phrase) .../en/file-new.xml:41(phrase)
msgid "The <placeholder-1/> dialog"
msgstr "Modèle"
Looking at the relevant lines of "en/file-new.xml" I find
33: ... The <quote>New Image</quote> dialog</phrase>
42: ... The <quote>Template</quote> dialog
It seems that "xml2po" can't handle these lines when "reusing" an XML
file even when original XML file and reused XML file both have the same
structure.
However, I'm using my own patched version of "xml2po" - see
http://bugzilla.gnome.org/show_bug.cgi?id=545478
for the bugreport and
http://bugzilla.gnome.org/attachment.cgi?id=115553&action=view
for the patch.
Using the patched version of "xml2po" the output is usable. Some
messages are not translated, but that's ok.
Apparently we can't rely on the default gnome-doc-utils package, looks
like we have to provide a patched version of "xml2po".
Hmm, maybe that's not so bad, then we could apply more patches, e.g.
producing a useful header for our po files.
Ulf
More information about the Gimp-docs
mailing list