To: OpenOffice.org l10n list Cc: Andreas Pauley of Wordforge
On 16/08/2007, at 4:36 PM, Robert Ludvik wrote:
When I run po2oo on PO files for SRC_G680, I get the following error:po2oo: warning: Error processing: input po/helpcontent2/source/text/ swriter/guide.po, output helpcontent2/source/text/swriter/guide.oo, template helpcontent2/source/text/swriter/guide.oo: IndexError: list index out of rangeguide.po seems OK, it is translated 100%, I can open it with Kbabel. po2oo don't put any string from guide.po in output GSI. What can be wrong?And I just noticed the same for po/helpcontent2/source/text/shared/ 02.po and po/helpcontent2/source/text/schart/01.po
Quoting Ain Vagula <[EMAIL PROTECTED]>:gsicheck doesnt find errors too?no, because po2oo doesn't include the whole files in the output GSI file :-)
Robert, check that the PO files concerned have string headers.po2oo can't integrate a PO file into the GSI file without string headers as ID.
I encountered this problem [1] when updating. Somewhere in the process, the string headers were removed from _some_ files.
I don't know if this is a toolkit error (so far, I've been the only person to report it), or whether it's caused by manual editing of the GSI file before converting it to PO and updating with the new POTs. (I've wondered if somehow I've messed the spacing up in the GSi file.)
To fix this, I search (grep) my PO tree for any PO files missing string headers:
___ "$\r\rmsgid ___then msgmerge them with the new POTs manually. If there are many of them, I msgmerge the whole tree, e.g.
___find . -name \*po -exec msgmerge -o ../po_vi_2.3/{} {} ../po_vi_2.3/{} t \;
___(the directory names must be identical, but they can have different paths).
I'm not exactly happy that someone else has this problem, but I'll be happy when we sort it out. :S
from Clytie (vi-VN, Vietnamese free-software translation team / nhóm Việt hóa phần mềm tự do)
http://groups-beta.google.com/group/vi-VN [1] http://bugs.wordforge.org/show_bug.cgi?id=274
PGP.sig
Description: This is a digitally signed message part
