Follow

Déjà Vu does not display a list of languages in the TMX Translation Memory Import Wizard

If you are attempting to import the content of a TMX Translation Memory and, when you reach the "Specify Language Conversion" page of the Import Wizard you see an empty list, you are most likely dealing with a TMX translation memory that contains characters or entities not allowed by the TMX standard, or is otherwise malformed or corrupted. Déjà Vu cannot work with TMX files that have these problems.

There are several things you can do:

  • If you have access to one, you can use a TMX validator to check the file and alert you to any problems in its contents. You may be able to fix these problems yourself by editing the TMX file directly using a text editor (e.g. Notepad).
  • You also have the option of open in the file with an application capable of editing TMX and attempting to repair the file that way.
  • Use a PowerShell script we have prepared to deal with this situation.

We have developed a script that you can download and run that will analyze a TMX file and alert you to common problems with TMX files. The script will locate certain characters that are not allowed by the TMX standard and replace them with spaces, which may be enough to make the file usable in Déjà Vu. To run this script:

  1. Download the script file.
  2. Extract the content of the downloaded zip file to the folder where the TMX file you wish to process is stored.
  3. Open a Powershell window:
    1. Click on the Windows icon in the taskbar.
    2. Type: PowerShell.
    3. Press Enter.
  4. Change the active directory to the folder where you are storing the TMX file.
  5. Type the following command (with the name of the file you want to process):
    .\Fix-TMX.ps1 "Filename.tmx"
  6. Press the Enter key.
  7. Wait for the script to finish running. It will output a message to let you know it is done, or if it found a problem and could not finish.
  8. If the script finishes correctly, the TMX file you ran it on should now be usable in Déjà Vu.

If after step 5 you see a message like this:

File .\Fix-TMX.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.

read this article for more information about how to proceed.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk