Source: < t0/>Community < t1/>Awards< t2/>
Target: Auszeichnungen der < t0/>Gemeinschaft< t1/>< t2/>< segment 0001>
Target file: Gemeinschaft (Auszeichnungen der is omitted)
You can download the project here: https://www.dropbox.com/s/fw18lpjb62zhb62/Word_OmegaT_bug.zip
See also:
Enabling Remove Tags results in almost empty translated Word files
https://sourceforge.net/p/omegat/bugs/635/
Didier
Although I don't have a fix, I have a better understanding of what happens. The issue comes largely from the option Remove leading and trailing tags, which is not checked. When it is checked, OmegaT more or less protect you from putting your translation too early in the list of tags (remember that we are using aggregated tags here, so that makes the matter worse).
First point: especially when working with Remove leading and trailing tags off, never put anything before the starting tag.
Second point:
Enabling Remove Tags results in almost empty translated Word files
https://sourceforge.net/p/omegat/bugs/635/
While you don't see tags, the Remove leading and trailing tags option is still affecting the segments. So, when the option is on, OmegaT only pushes at the end of the segments those visible tags, which means the issue doesn't happen. I re-open the other bug report, because we have a workaround and a possible fix for it.
Didier
Fixed in SVN (/trunk).
A workaround was implemented.
If the document is a Word document
If “Remove leading and trailing tags” is not checked
If there is text before the first tag
Move the first tag before the text
If the first tag was between two words without any space around, add a space where the first tag was located
Didier
Fixed in the released version 3.1.2 of OmegaT.
Didier
This should depend on whether or not the target language is space-delimited.
Agreed.
I will add the condition.
Didier
Done in SVN (3.5 and /trunk).
Didier