wrong creationid="MT! tag in source segments of leveraged.tmx

Issue #154 wontfix
Former user created an issue

Original issue 154 created by gzcorde... on 2010-12-17T10:17:56.000Z:

What steps will reproduce the problem?
1. Create a project with html files: gl>pt-pt
2. Generate a Generic XLIFF translation package
3. Select Google TM engine for pretranslation

What is the expected output? What do you see instead?
This is an example unit from leveraged.tmx:
<tu tuid="autoID1_s0">
<tuv xml:lang="gl"><seg>MT! Rutas do Viños || Enoturismo</seg></tuv>
<tuv xml:lang="pt-pt" creationid="MT!"><seg>Rota do Vinho | | Enoturismo</seg></tuv>
</tu>

The source lang gets placed the [creationid]MT! attribute before the <seg> tag. This brokes TM matching percentage.

Expected:
<tu tuid="autoID1_s0">
<tuv xml:lang="gl" creationid="MT!><seg>Rutas do Viños || Enoturismo</seg></tuv>
<tuv xml:lang="pt-pt" creationid="MT!"><seg>Rota do Vinho | | Enoturismo</seg></tuv>
</tu>

What version of the product are you using? On what operating system?
Rainbow version 6.0.9
Java Version 1.6.0_20
Platform Linux, i386, 2.6.35-23 generic

Regards,
Gonçalo

Comments (2)

  1. Former user Account Deleted
    • changed status to open

    Comment [1.](https://code.google.com/p/okapi/issues/detail?id=154#c1) originally posted by @ysavourel on 2010-12-19T02:49:54.000Z:

    The additional "MT!" marker in the source text of the TU is intentional and it's also optional. The problem is that currently the option is ot accessible from the "Translation package Creation" dialog box. (It is from the Leveraging step for example). We need to add the option in the "Translation package Creation" dialog. Note that this utility is being rewritten as a pre-defined pipeline where leveraging will be done with the Leveraging Step. But it may be useful to add the option meanwhile (it may take time to get to the new pre-defined pipeline).

    Thanks for the input Gonçalo -ys

  2. Former user Account Deleted

    Comment 2. originally posted by @ysavourel on 2013-10-01T21:12:48.000Z:

    The "Translation Package Creation" utility is obsolete and has been replaced by the "Translation Kit creation" pre-defined pipeline where the option is available.

  3. Log in to comment