Menu

#634 Word: anything placed before the leading tag is omitted in translated document

3.1
closed-fixed
None
5
2016-02-04
2013-11-14
No

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

Related

Bugs: #794

Discussion

  • Didier Briel

    Didier Briel - 2013-11-15

    See also:
    Enabling Remove Tags results in almost empty translated Word files
    https://sourceforge.net/p/omegat/bugs/635/

    Didier

     
  • Didier Briel

    Didier Briel - 2013-11-15
    • summary: Anything placed before the leading tag in OmegaT is omitted in translated Word files --> Word: anything placed before the leading tag OmegaT is omitted in translated document
     
  • Didier Briel

    Didier Briel - 2013-11-15
    • summary: Word: anything placed before the leading tag OmegaT is omitted in translated document --> Word: anything placed before the leading tag is omitted in translated document
     
  • Didier Briel

    Didier Briel - 2013-12-02

    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

     
  • Didier Briel

    Didier Briel - 2013-12-23
    • status: open --> open-fixed
    • assigned_to: Didier Briel
    • Group: 2.6 --> 3.0
     
  • Didier Briel

    Didier Briel - 2013-12-23
    • status: open-fixed --> open
     
  • Didier Briel

    Didier Briel - 2014-06-06
    • status: open --> open-fixed
    • Group: 3.0 --> 3.1
     
  • Didier Briel

    Didier Briel - 2014-06-06

    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

     
  • Didier Briel

    Didier Briel - 2014-06-26

    Fixed in the released version 3.1.2 of OmegaT.

    Didier

     
  • Didier Briel

    Didier Briel - 2014-06-26
    • status: open-fixed --> closed-fixed
     
  • Aaron Madlon-Kay

    If the first tag was between two words without any space around, add a space where the first tag was located

    This should depend on whether or not the target language is space-delimited.

     
    • Didier Briel

      Didier Briel - 2016-02-04

      Agreed.
      I will add the condition.

      Didier

       
      • Didier Briel

        Didier Briel - 2016-02-04

        Done in SVN (3.5 and /trunk).

        Didier

         

Log in to post a comment.