Hi Manuel.
One big difference I note is that the OmegaT filter seems to use only standalone tags (with different IDs) while the Okapi one tries to use open-closing tags (with a single ID for the element) when it can. That would make a conversion probably difficult on the way back to the Okapi style.
Cheers,
-ys
--
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/CABm46bYekL7tsEvj7-HniugNEB0yyzjA-%2B0G6aOvk_e9TnsZEQ%40mail.gmail.com.
Hi Manuel, all,
I haven’t looked at the code that converts the native Okapi inline codes into OmegaT, but I’m guessing it’s probably possible to change some aspects of the created tags, like the letters used and maybe the numbering.
The problem is always the same: time to do it.
I’ve open a ticket for it: https://bitbucket.org/okapiframework/omegat-plugin/issues/35
Cheers,
-ys
From: Manuel Souto Pico <termin...@gmail.com>
Sent: Tuesday, January 18, 2022 10:57 AM
To: Yves Savourel <yves.s...@gmail.com>
Cc: Mailing list for OmegaT user support <omegat...@lists.sourceforge.net>; okapi-users <okapi...@googlegroups.com>; Mailing list for OmegaT developers. <omegat-de...@lists.sourceforge.net>
Subject: Re: [okapi-users] Re: Different tag style in the two OpenXML filters
Good morning.
Here comes a bit of a follow-up about this. The problem is not going to go away on its own... ;)
It seems there are a number of differences to overcome. If I don't overlook anything, they are:
- different style (opening/closing versus standalone)
- different letter displayed in the tag
- different numbering (starting at 1 or 0)
Perhaps instead of addressing the whole problem and all the parts at the same time, it makes more sense to decompose the problem and tackle one thing at a time.
For example, if both filters could agree to have, say, the same first digit in the numbering (either 0 or 1 for both filters), perhaps that's a small change that can be easily implemented but it's already a first step that would be helpful.
For example, the following screenshot shows a segment to translate in an OmegaT project using the Okapi OpenXML filter and a match from a TM generated from an OmegaT project created in Okapi Rainbow. The source file is the same: