On Sat, Mar 07, 2009 at 08:45:43PM +0800, dongsheng.song(a)gmail.com wrote:
For example, we put source in 'en', po files in
'po':
% cd en && po4a-updatepo -o includeexternal -m book.xml -p ../po/zh.po
The string location in zh.po is not correct:
#: ch05-repository-admin.xml:2705
msgid "svnsync Bookkeeping"
The po tools, like Poedit, can not display source reference.
It should be:
#: ../en/ch05-repository-admin.xml:2705
msgid "svnsync Bookkeeping"
There are no specification on the PO reference lines.
If the reference must be relative to the PO file itself, then po4a must be
run from this directory.
Then the po tools, like Poedit, can display source reference
correctly.
PS: Resolve external in book.xml, the path should relative to book.xml,
not current directory.
I changed the Xml module so that it is now possible to run po4a from any
directory, not only the base directory used for external entities
references.
Best Regards,
--
Nekral