xml2po Error !



Hi All ,

I don't know what is the problem 

I installed the gnome docs utilities
 and the process of generating the pot and po files from the xml (docbook) is done successfully  

but when try to convert the po to xml ! 

from termenal  : 
xml2po -p manual.ar.po -o manual.ar.xml manual.xml

the resulte :
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 191, in <module>
    main(sys.argv[1:])
  File "/usr/bin/xml2po", line 174, in main
    xml2po_main.merge(mofile, filenames[0])
  File "/usr/lib/python2.7/dist-packages/xml2po/__init__.py", line 601, in merge
    self.gt = gettext.GNUTranslations(mfile)
  File "/usr/lib/python2.7/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.7/gettext.py", line 314, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range
So please HELP About this issue 

we are trying to make manuals of koha translatable 

koha is an Open source software for library systems 


Thanks A lot :) 

--
Karam.



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