Hi,
I just found out the reason why po2xml takes so extremly long for
converting german and french documentation. It's an internal problem in
po2xml. The function StructureParser::descape (parser.cpp) calls
'message.replace(QRegExp("\010"), "");' at it's end - and this eats up
most of the time :-((
This can be fixed by a patch (I will send it to the author) or by a
really simple workaround in Kwave - which doesn't require an update of
the kdesdk package.
If all leading whitespaces of the processed docbook files are removed
from each line, the conversion takes just about 5 seconds instead of 20
minutes!!!
So please, does anyone here have a little awk or sed filter script
(one-liner?) that can do this job? I need would like to insert some
simple command into the Makefiles. (I don't like to write a C program
for that and it's too late for me to figure it out on my own, sorry)
thanks and good night,
Thomas