-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/26/2012 07:36 AM, Tiansworld wrote:
Hello guys, There is a problem when I try to publish zh_TW
technical notes by using publican. Request is at here[1].
The error output is: ### ... WARNING: Message missing from PO file,
consider updating your POT and PO files. "13"
PO file 'zh-TW/Development-Libraries-PHP.po' not found! Using base
XML! Merging zh-TW/Development-Libraries.po >>
en-US/Development-Libraries.xml ->
tmp/zh-TW/xml_tmp//Development-Libraries.xml
no element found at line 1, column 0, byte 0:
^ at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187 ###
My procedure was as follows: 1. git clone
git://git.fedorahosted.org/docs/technical-notes.git #ok 2. tx init
&& tx set --auto-remote
https://fedora.transifex.net/projects/p/fedora-technical-notes/
#ok 3. tx pull -l zh_TW #ok 4. publican build --embedtoc --publish
--formats epub,html,html-single,pdf --langs zh-TW #error output
I checked there is not Development-Libraries-PHP.po available
under zh-TW but that xml file exists in en-US directory.
Also there are only 58 xml files in en-US directory, but the
translation po files are 72. Seems the git repository is too old.
Could anyone help me?
Many thanks.
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=817969
I *think* if you do a 'publican update_po --lang=zh_TW' it will
generate that missing file for you. It will be empty, however, but
you should be able to build the document.
- -Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJP6aShAAoJEIB2q94CS7PR29cQAK4+6lxlvqj8mcamsDh1S0aU
J72JMCLXFD9wx4GHJKieQBwC3EpUtToYt9IPtgjtzRCoY4gHsWsENscIrdz1ZLz1
89Ri0zJp3pImgP2VAXU8zGPFUmhvChFYFYfL/nVS5xK7tGZWvMDuKVjCrQBLT9Pl
R+fM89yMt1lZDZG1CbODqUgofxPtTQGqMKNymB3IEC9mldM6x5ke55RMOMcQiNpM
mqWrB4+KG+IsxHUokwMyaJp9Mmas2G9NSCMejHoUA32Sby7XoOBdsR96hAksQx9y
LgL/wPlzELDIUtxdSnmges1SL3OZnTu1NkmVxKgj1jT4nv1w6ZNVJvsfqWgXvYu/
Wc6b9sdklERh8VZhxyVOA6TJGGaIC2wEzYFttZb3hVbC8oQ8SElH8OYmvOFdHf+t
5ItvMz0Iy0jBiyu/6/exIHhpV4r23Grov5tB7AmiNee8AVM+fiIUTJqevlw6NJTN
eQ+tOW9Kng+8aixz6rlRMqgF7EJs+d4jo3cxGoECOa4540mmxZ97/6W/GYYwrLXD
dxr+ZWSEVXSrelOU8S1AnBL52TgLYh3qwhVTkPs54L7Em26VJFNFh7kU8+21Ff22
Cl87yzW8sNVwgcbPX8AR0Zd/9ZyjsX6Ispo3AoZnYGjkIXQCy4qzh7Zag0GVSUNr
0IFEQ7I8QQBGT5NbnNOO
=nZ1X
-----END PGP SIGNATURE-----