The OmegaT plugin attempts to read temporary MS OpenXML files

Issue #1192 invalid
Jean-Christophe Helary created an issue
  • when you open a source file to modify it during translation, MS apps create a temporary file that has a similar name and the same extension *but* is not a file of that format.
  • when you reload the project after modifications, the Okapi plugin wrongly thinks that the temporary file is an MS file, tries to load it, fails, and causes the project to not reload.
  • A similar issue was fixed in the OmegaT native MS Open XML filter by adding a regex to the list of files to ignore, but the Okapi code seems to require a bit more:
    https://sourceforge.net/p/omegat/code/ci/c6425108ca4144bb4235eeb97aa1961664dd516f/#diff-2

The Okapi plugin has *exactly* the same issue.

Comments (4)

  1. Manuel Souto Pico

    Jean-Christophe Helary, could please attach a sample project to ticket 50 that includes the file that causes the issue? Thanks

  2. Log in to comment