Menu

#1101 No ID-bound matching in /tm/tmx2source

5.8
closed-fixed
None
5
2023-09-27
2022-05-31
msoutopico
No

Preconditions

  • Project with a XLIFF file (or another format that allows unit ID as the identifier for alternative translations)
  • XLIFF filter tweaked to use <trans-unit> ID as the identifier for alternative translations</trans-unit>
  • A repeated segment with same source text but different ID
  • A TMX file at /tm/tmx2source with a ID-bound match for one of the repetitions only

OMT package attached nncluding those preconditions.

Steps to reproduce

Open the attached project, then:

  1. Go to segment 2 or segment 4
  2. Go to segment 3

Expected results

  1. You can see Match for "Bar" as second source
  2. You can see Match for segment #3 as second source

Actual results

  1. As expected
  2. No second source

Comments

If I rename folder /tm/tmx2source as /tm/auto or /tm/enforce and reload the project, then there's an ID-bound match and segment 3 is pre-translated.

1 Attachments

Discussion

  • Thomas CORDONNIER

    Indeed, that was strange, the key was correctly loaded but not used for display. This patch solves the problem

     
    • msoutopico

      msoutopico - 2022-06-01

      Thank you so much for your quick reaction, Thomas. Your patch seems to fix the problem indeed!

       
    • msoutopico

      msoutopico - 2022-06-07

      Thomas, Is there anything I need to do to have the patch pushed to the code in the repository?

       

      Last edit: msoutopico 2022-06-08
      • Jean-Christophe Helary

        On Jun 8, 2022, at 2:21, msoutopico xinelo@users.sourceforge.net wrote:

        Is there anything I need to do to have the patch pushed to the code in the repository?

        Thomas has write access to the repository so just ask him.

         

        Last edit: Jean-Christophe Helary 2022-06-08
  • Thomas CORDONNIER

    Commit sent to Sourceforge (3855272e667ae85b0ffd35d0fca99ef0ffaaa528)

     
    • msoutopico

      msoutopico - 2022-06-21

      Thanks, Thomas.

       
  • Kos Ivantsov

    Kos Ivantsov - 2022-06-23
    • status: open --> open-fixed
    • assigned_to: Thomas CORDONNIER
     
  • Hiroshi Miura

    Hiroshi Miura - 2023-09-27
    • status: open-fixed --> closed-fixed
     
  • Hiroshi Miura

    Hiroshi Miura - 2023-09-27

    released as 6.0

     

Log in to post a comment.