Leading/Trailing tags are not removed as expected

Issue #706 new
Briac Pilpré created an issue
  • Omegat 4.1.4
  • plugin 1.5-m34-SNAPSHOT

When translating an IDML file (I haven't tested with other file format) and when the option Options/File Filters.../Remove leading and trailing tags is checked in OmegaT, there are still tags at the beginning and at the end of segments.

When reverting to the 1.4-m33 plugin, it works as expected.

Comments (3)

  1. ysavourel

    It is an interesting point.

    None of the Okapi filters is looking at the options listed in that dialog. I don't know if there are ways to access them through the filter interface (probably yes). But in any case I'm not sure at what level those options are supposed to be applied. Presumably OmegaT should implement that on the extracted segments it receives from the filters since it is an option managed by OmegaT. So, I'm not sure how that can work in M33: I don't think we changed anything for IDML there.

  2. Jim Hargrave (OLD)

    The original idml filter used the code simplifier which trimmed leading and trailing and inline codes (by default). Apparently the new filter does not do this. Anyone who wants to support this option should use one of the okapi steps that implement code simplification.

  3. Log in to comment