Translation displayed as source text if state="final" with Okapi XLIFF filter
Preconditions
An OmegaT project containing a translated XLIFF file.
In one translation unit, the translation has state "final"
<trans-unit id="59122858" translate="yes" approved="yes">
<source xml:lang="en-ZZ">foo</source>
<target xml:lang="ja-JP" state="final">bar</target>
</trans-unit>
The option “Protect entries with state='final' (if not set: they can be edited)“ is checked in the filter options:
Steps to reproduce
Open the project.
Expected results
- The source text is the source text, e.g. "foo"
- The translation "looks" protected (as a tag)
- The translation is not editable (like a tag)
- The target file has the final translation (same as the source file).
Actual results
- The translation is displayed as the source text, e.g. "bar"
- As expected.
- The translation is editable.
- As expected.
Issue 1 is more major. Issue 3 is minor.
Comments
Project package1 attached: okapi-plugin_issue-51_xliff1-state-final_OMT.omt
- You can unpack that project package from OmegaT if you install the OMT plugin or you can simply unzip the OMT package.
↩️
Edited by Manuel Souto Pico


