
Hi Manuel,
Can you modify this file to match your translation in OmegaT?
One thing I noticed is that OmegaT is still using simplified xliff codes (g/x) - you will get better results if you use bpt/ept/ph etc..
Jim
--
You received this message because you are subscribed to the Google Groups "okapi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-users/CABm46bavw1Je_FRAMmBt7BVnWi5j_YY2Aqc0Oyxrkoq-pPW6_g%40mail.gmail.com.
|
Hum, maybe google stripped the attachment? Try a zip.
Yes, I bet OmegaT does determine the tag
type and as I thought about it, it may be required. It's just a
path we don't test heavily anymore and prefer the bpt/ept/ph
codes.
Jim


The xliff file you attached is already invalid (<g1></g1>) so won't work. I think the real problem is the TM leverage. OmegaT should have logic to make sure that when writing leveraged content to an xliff file it properly escapes the content. It seems to do this for the <b> tags. So in this case <g1> to <g id="1"> etc.. (or whatever internal xliff tag you are using)
Can you test on an old version of OmegaT and see if it is a problem? If not, this may be an OmegaT bug introduced recently.
Jim
It's possible this is a problem with the Okapi
XliffSkeletonWriter (not filter). But I don't understand
OmegaT enough to know what is writing the translated xliff
files. These <g1> codes should be escaped.
Your best option is to find a way to reproduce
this with a standard Okapi pipeline (Rainbow or Tikal).
I would log this issue on the OmegaT project. OmegaT may be using the wrong options when writing out the xliff (raw xliff vs OKapi Code objects). This can get confusing with TM matches.
Thank you for checking with them.
JC
> On Jul 5, 2023, at 4:39, Manuel Souto Pico <termin...@gmail.com> wrote:
>
> After checking with the Okapi people, I have been sent back here.
> Since I can't reproduce the issue in Rainbow, Jim concludes that OmegaT may be using the wrong options when writing out the target XLIFF file (raw xliff vs OKapi Code objects). This can get confusing with TM matches.
>
> I will create a ticket in the OmegaT tracker as soon as I can. Any further feedback is welcome in the meantime.
>
> Cheers, Manuel
>
> Manuel Souto Pico <termin...@gmail.com> escreveu no dia segunda, 3/07/2023 à(s) 09:58:
> Thank you so much!
> Cheers, Manuel
>
> l@tlo <li...@traduction-libre.org> escreveu no dia segunda, 3/07/2023 à(s) 09:43:
>
>
> > On Jul 3, 2023, at 16:35, Manuel Souto Pico <termin...@gmail.com> wrote:
> >
> > We can conclude the problem is in the Okapi filter, then?
>
> Et voilà, I'd say. :)
>
> --
> Jean-Christophe Helary @jche...@emacs.ch
> https://traductaire-libre.org
> https://mac4translators.blogspot.com
> https://sr.ht/~brandelune/omegat-as-a-book/
>
>
>
> _______________________________________________
> Omegat-users mailing list
> Omegat...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/omegat-users
> _______________________________________________
> Omegat-users mailing list
> Omegat...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/omegat-users
--
Jean-Christophe Helary @jche...@emacs.ch
https://traductaire-libre.org
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
_______________________________________________
Omegat-users mailing list
Omegat...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/omegat-users
The bug is in Okapi Filters Plugin for OmegaT.
Please ask okapi project to fix it.
I have pushed bug reproducible test case, with detailed explanations.
https://bitbucket.org/okapiframework/omegat-plugin/pull-requests/22