<br><div class="gmail_quote">Hi Andras,<br><br>I tried to use internal toolkit:<br>"<br>checking which translate-toolkit to use... internal<br>"<br>But when I try to build translations I got this error:<br>"<br>
=============<br>Building module translations<br>
=============<br>Entering /home/kami/git/libreoffice-3-4/bootstrap/translations<br><br>: && LD_LIBRARY_PATH=/home/kami/git/libreoffice-3-4/bootstrap/solver/300/<a href="http://unxlngi6.pro/lib$%7BLD_LIBRARY_PATH:+:$%7BLD_LIBRARY_PATH%7D%7D" target="_blank">unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}</a> /home/kami/git/libreoffice-3-4/bootstrap/solver/300/<a href="http://unxlngi6.pro/bin/po2oo" target="_blank">unxlngi6.pro/bin/po2oo</a> --skipsource -i ./source/de -t ./<a href="http://unxlngi6.pro/misc/sdf-template/en-US.sdf" target="_blank">unxlngi6.pro/misc/sdf-template/en-US.sdf</a> -o ./<a href="http://unxlngi6.pro/misc/sdf-l10n/de.sdf" target="_blank">unxlngi6.pro/misc/sdf-l10n/de.sdf</a> -l de<br>
Traceback (most recent call last):<br> File "/home/kami/git/libreoffice-3-4/bootstrap/solver/300/<a href="http://unxlngi6.pro/bin/po2oo" target="_blank">unxlngi6.pro/bin/po2oo</a>", line 27, in <module><br>
from translate.convert import po2oo<br>
ImportError: No module named translate.convert<br>dmake: Error code 1, while making './<a href="http://unxlngi6.pro/misc/sdf-l10n/de.sdf" target="_blank">unxlngi6.pro/misc/sdf-l10n/de.sdf</a>'<br>Retrying /home/kami/git/libreoffice-3-4/bootstrap/translations<br>
<br>: && LD_LIBRARY_PATH=/home/kami/git/libreoffice-3-4/bootstrap/solver/300/<a href="http://unxlngi6.pro/lib$%7BLD_LIBRARY_PATH:+:$%7BLD_LIBRARY_PATH%7D%7D" target="_blank">unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}</a> /home/kami/git/libreoffice-3-4/bootstrap/solver/300/<a href="http://unxlngi6.pro/bin/po2oo" target="_blank">unxlngi6.pro/bin/po2oo</a> --skipsource -i ./source/de -t ./<a href="http://unxlngi6.pro/misc/sdf-template/en-US.sdf" target="_blank">unxlngi6.pro/misc/sdf-template/en-US.sdf</a> -o ./<a href="http://unxlngi6.pro/misc/sdf-l10n/de.sdf" target="_blank">unxlngi6.pro/misc/sdf-l10n/de.sdf</a> -l de<br>
Traceback (most recent call last):<br> File "/home/kami/git/libreoffice-3-4/bootstrap/solver/300/<a href="http://unxlngi6.pro/bin/po2oo" target="_blank">unxlngi6.pro/bin/po2oo</a>", line 27, in <module><br>
from translate.convert import po2oo<br>
ImportError: No module named translate.convert<br>dmake: Error code 1, while making './<a href="http://unxlngi6.pro/misc/sdf-l10n/de.sdf" target="_blank">unxlngi6.pro/misc/sdf-l10n/de.sdf</a>'<br>"<br><br>If I install system provided translation-toolkit (version 1.7 on Ubuntu 11.04) it tries to use that but the build fails because of missing --skipsource in 1.7 however I am using internal translation toolkit. I think it can be a path problem where the a system installed translation-toolkit masks the version comes form the build system.<br>
<br>I provide the attached patch to fix this problem. I simply move translate-toolkit python modules to bin. I hope this will solve the problem. Please commit it to master and 3-4 if you agree.<br><br>Not tested other platform than Linux.<br>
<br>Regards,<br>KAMI<br><br></div>