How To...

This page provides you with a list of description on how to perform certain tasks with Olifant.

How to remove duplicate entries?

To remove duplicate entries, first you want to flag these entries:

  1. Select the Flag Specific Entries command from the Entries menu (or press Ctrl+E). This opens the Flag Specific Entries dialog box.
  2. In the Pre-defined conditions list, set the "Duplicate Source and Target" condition.
  3. Make sure the option Reset flag before execute the selections is set.
  4. Click OK to close the dialog box and execute the command.
  5. When it is done, a dialog box displays the number of duplicated entries found.

Then, display only the flagged entries:

  1. Select the Set Filter for Flagged Entries command from the View menu.

Then, delete only the flagged entries:

  1. Select all displayed entries by pressing Ctrl+A.
  2. Delete the selected entries by pressing Delete.

How to create a single tri-lingual TM from two separate bi-lingual TM?

To create a tri-lingual TM, first load one of the TMs:

  1. Select the Open command from the File menu. (You can also use the Import command if your TM is not directly supported by the Open command).
  2. Select the type of file to load.
  3. Select the path of the file to load.
  4. Click Open.

Then, you want to import the second TM, using the merging options:

  1. Select the Import command from the File menu.
  2. Select the type of file to import.
  3. Select the path of the file to import.
  4. Click Open.
  5. An Import Options dialog box opens. It will be a different one depending on the type of file imported.
  6. Set the options specific to the file type as needed.
  7. Set the Merge entries option (all Import Options dialog boxes have one)
  8. Click the Merge Options button to open the Merge Options dialog box.
  9. In the Field in the current TM list, select the field that will be used as reference for the merge. Most of the time it will be the text field of the source language (e.g. Text_EN) or the ID field.
  10. In the Field in the file to import edit box, enter the name of the imported field that will be compared to the one already in the TM. Most of the time it will be the same as the one you have just selected (e.g. Text_EN).
  11. If needed, in the Fields to overwrite list, check the fields that exist in the current TM and should be overwritten by the values found in the imported file when a matching entry is found. Note that fields specific to each language will be added by the merge.
  12. Click OK to close the Merge Options dialog box.
  13. Click OK to close the Import Options dialog box and start the import process.

Then, display the three languages side-by-side:

  1. Select the Fields Settings command from the View menu (or press Ctrl+K).
  2. In the Fields list, check the text field of the language you have just imported (e.g. Text_ES).
  3. Make sure its Percentage option is set, so the three fields will be displayed in percentage.
  4. Click Distribute Percentages or set the Always distribute percentages option. This ensure that the three fields will have the same width.
  5. Click OK.
  6. The grid should now display the Key and Flag fields, as well as the three text fields for each language. All the entries that have the same source text in the first and second TMs should have text in both languages. Entries specific to the first TM should have no text in the third language column. Entries that are specific to the second TM should have no text in the second column.

How to reverse the source and target languages of a TM?

To reverse the source and target language of a TM:

  1. Just select the language you want as the source in the Source drop-down list in the toolbar. Next time you use the Save, Save As, or Export functions, the default source language will be set to this language.

Note that if there are srclang attribute at the individual TU level (this is not frequent) they are not modified. To modify these, use the Find And Replace function from the Edit menu.

How to open a TM that contains invalid XML characters?

Some TMX files may come with control characters that are invalid in XML document (often found in RTF-generated style sheet section). When one or more characters is in the TMX file, an error "hexadecimal value 0xHH is an invalid character" occurs when opening or importing the TMX file.

To open such TMX file in Olifant:

  1. Select the Import command from the File menu.
  2. Select the path of the TMX file to import.
  3. Click Open.
  4. An TMX Import Options dialog box opens.
  5. Make sure the option Check for invalid characters is set.
  6. Click OK.

A temporary copy of the file is created, where each invalid XML character will be replaced by _#xHHHH_ where HHHH is the Unicode hexadecimal value of the character. Then the temporary file is open. Note that these characters are left like this after: Olifant does not convert them back automatically when saving the file. You have to decide yourselves what you want to do with them.

You should use this option only when needed, as it increases the time it takes to open the file.