[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-26 5:15:42
Message-ID: CAFODQs5d56actjVmeHvxfQSOC-4B9hsSaD8ormGN_+JmuRe45A () mail ! gmail ! com
[Download RAW message or body]

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">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></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><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 class="h5"><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/<u></u>work-ar.odt<br>
     odfpathname /home/safa/Desktop/documents/<u></u>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><br></div></div>



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

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