[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Lokalize and odt
From:       Safa Alfulaij <safa1996alfulaij () gmail ! com>
Date:       2014-01-27 4:48:56
Message-ID: CAFODQs6UOdp=xKhBM4WSZUkr4_ao1BYGNdJpPUo1PtLdb_eEHw () mail ! gmail ! com
[Download RAW message or body]

Any idea?

2014-01-26 Safa Alfulaij <safa1996alfulaij@gmail.com>

> No problems :\
>
>> [safa@localhost documents]$  xliff2odf -i work.xlf -o work-ar.odt -t
>> work.odt
>> processing 1 files...
>> [###########################################] 100%
>> [safa@localhost documents]$
>>
>
>
> 2014-01-25 Yuri Chornoivan <yurchor@ukr.net>
>
>> написане Sat, 25 Jan 2014 19:11:11 +0200, Safa Alfulaij <
>> safa1996alfulaij@gmail.com>:
>>
>>
>>  Hello
>>> I'm trying to localize a document with lokalize, but I faced some
>>> problems.
>>> Converting from odt -> xliff is ok... but merging with odt(odf) produce
>>> some errors.
>>> Output from terminal:
>>>
>>>
>>>>    Kross: "Loading the interpreter library for python"
>>>>    Kross: "Successfully loaded Interpreter instance from library."
>>>>    Kross: "PythonScript::Constructor."
>>>>    Kross: "PythonScript::execute"
>>>>    translatedodfpathname /home/safa/Desktop/documents/work-ar.odt
>>>>    odfpathname /home/safa/Desktop/documents/work.odt
>>>>    error occured
>>>>    Kross: "PythonScript::execute result=None"
>>>>
>>>> What's the problem?
>>>>
>>>
>> Hi,
>>
>> Lokalize uses xliff2odf from Translate Toolkit to translate files. A wild
>> guess is that there is an incompatibility of formats or something like this.
>>
>> Try to use xliff2odf from command line to see what is happenning.
>>
>> xliff2odf -i work.xlf -o work-ar.odt -t work.odt
>>
>> Best regards,
>> Yuri
>>
>
>

[Attachment #3 (text/html)]

<div dir="rtl"><div dir="ltr">Any idea?<br></div><div><div dir="ltr"><br><div \
class="gmail_quote">2014-01-26 Safa Alfulaij <span dir="ltr">&lt;<a \
href="mailto:safa1996alfulaij@gmail.com" \
target="_blank">safa1996alfulaij@gmail.com</a>&gt;</span><br> <blockquote \
class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px \
#ccc solid;padding-left:1ex;padding-right:1ex"><div dir="rtl"><div dir="ltr">No \
problems :\<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> [safa@localhost <span \
style="font-family:courier new,monospace">documents</span>]$   xliff2odf -i work.xlf \
-o work-ar.odt -t work.odt <br> processing 1 \
files...<br>[###########################################] 100%<br>[safa@localhost \
<span style="font-family:courier new,monospace">documents</span>]$ \
<br></blockquote></div><div class="gmail_extra"> <br><br><div \
class="gmail_quote"><div dir="ltr">2014-01-25 Yuri Chornoivan <span dir="ltr">&lt;<a \
href="mailto:yurchor@ukr.net" \
target="_blank">yurchor@ukr.net</a>&gt;</span></div><div><div class="h5"><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">

написане Sat, 25 Jan 2014 19:11:11 +0200, Safa Alfulaij &lt;<a \
href="mailto:safa1996alfulaij@gmail.com" \
target="_blank">safa1996alfulaij@gmail.com</a>&gt;:<div><div><br> <br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> Hello<br>
I&#39;m trying to localize a document with lokalize, but I faced some problems.<br>
Converting from odt -&gt; xliff is ok... but merging with odt(odf) produce<br>
some errors.<br>
Output from terminal:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"> <br>
     Kross: &quot;Loading the interpreter library for python&quot;<br>
     Kross: &quot;Successfully loaded Interpreter instance from library.&quot;<br>
     Kross: &quot;PythonScript::Constructor.&quot;<br>
     Kross: &quot;PythonScript::execute&quot;<br>
     translatedodfpathname /home/safa/Desktop/documents/work-ar.odt<br>
     odfpathname /home/safa/Desktop/documents/work.odt<br>
     error occured<br>
     Kross: &quot;PythonScript::execute result=None&quot;<br>
<br>
What&#39;s the problem?<br>
</blockquote></blockquote>
<br></div></div>
Hi,<br>
<br>
Lokalize uses xliff2odf from Translate Toolkit to translate files. A wild guess is \
that there is an incompatibility of formats or something like this.<br> <br>
Try to use xliff2odf from command line to see what is happenning.<br>
<br>
xliff2odf -i work.xlf -o work-ar.odt -t work.odt<br>
<br>
Best regards,<br>
Yuri<br>
</blockquote></div></div></div><br></div></div>
</blockquote></div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic