[Po4a-devel] Bad string location in po files

Dongsheng Song dongsheng.song at gmail.com
Sat Mar 7 12:45:43 UTC 2009


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"

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.

---
Dongsheng Song



More information about the Po4a-devel mailing list