Source fies: Translated XLIFF files, the sample segment has a translation that comes from the e
TM: The sample segment as an enforced match in one of the TMs in /tm/enforce
java -jar /path/to/OmegaT.jar project --mode=console-translate).The match coming from the TM in /tm/enforce is used as the translation. The 3 exported TMs contain the master version of the translation.
Matches coming from the TM in /tm/enforce are ignored and the original translation from the source XLIFF file is maintained. The 3 exported TMs are empty.
The expected results are the actual results when you load the project in OmegaT (GUI) and press Ctrl+D.
I can't reproduce the bug in 5.3.0 and in the current version.
When launching from both Powershell and WSL/Ubuntu, the target files have the expected "Enforced translation 1 - DEFAULT" translation and the three TMs are correctly generated.
I found the problem. I was running it on WSL and the symlink from
/mnt/c/Users/souto/AppData/Roaming/OmegaTto~./omegatwas wrong :/ My bad that I didn't see that Okapi plugin was not being loaded, I've ashamed of myself. Thanks for looking into it.The bug can be dismissed.