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

Re: debian-faq: convert german translation into po

On Sun, 17 May 2015 21:34:15 +0200
Beatrice Torracca wrote:
> On Sunday 17 May 2015, at 21:00 +0200, Holger Wansing wrote:

> > Now I tried po4a-gettextize, but it fails very early:
> > ted@IBM-T60:~/deb/debian-faq/debian-faq$ po4a-gettextize -v -f sgml -m basic_defs.sgml -l de/basic_defs.sgml -p de/01.po 
> What I find strange here is that you work on basic_defs.sgml file.
> That will also explain the complaints about "no document type
> declaration" since the document type is only declared in the
> debian-faq.sgml file (I think).
> 2) I used a command similar to:
> po4a-gettextize -f sgml -m project-history.it.sgml -M UTF-8 -L UTF-8 -l project-history.it.sgml -p it.po

yeah, specifying debian-faq.sgml worked.
1) do not forget to do "make" first to create faqdynamic.ent
2) without specifying their encoding,
   Encode Perl module produced other errors on my vm using jessie.

> Another thing I had to do was to find in the archives the sgml English
> version corresponding to the Italian sgml translation. otherwise the
> paragraphs did not match and I did end with errors and little
> translated.
> 1) Find in the archive/repo the original .sgml files corresponding to the Italian translation.

without sync, you'll see errors again
 but you can see the incomplete result in gettextization.failed.po :)

no need to CC me :-)
http://userscripts.org/scripts/show/163846 0.0.1
http://userscripts.org/scripts/show/163848 0.0.1

Reply to: