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:
- Select the Flag Specific Entries command from the
Entries menu (or press Ctrl+E). This opens the Flag
Specific Entries dialog box.
- In the Pre-defined conditions list, set the "
Duplicate
Source and Target " condition.
- Make sure the option Reset flag before execute the selections
is set.
- Click OK to close the dialog box and execute the
command.
- When it is done, a dialog box displays the number of duplicated
entries found.
Then, display only the flagged entries:
- Select the Set Filter for Flagged Entries command from
the View menu.
Then, delete only the flagged entries:
- Select all displayed entries by pressing Ctrl+A.
- 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:
- 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).
- Select the type of file to load.
- Select the path of the file to load.
- Click Open.
Then, you want to import the second TM, using the merging options:
- Select the Import command from the File
menu.
- Select the type of file to import.
- Select the path of the file to import.
- Click Open.
- An Import Options dialog box opens. It will be a
different one depending on the type of file imported.
- Set the options specific to the file type as needed.
- Set the Merge entries option (all Import Options
dialog boxes have one)
- Click the Merge Options button to open the Merge
Options dialog box.
- 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.
- 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 ).
- 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.
- Click OK to close the Merge Options dialog
box.
- Click OK to close the Import Options
dialog box and start the import process.
Then, display the three languages side-by-side:
- Select the Fields Settings command from the View
menu (or press Ctrl+K).
- In the Fields list, check the text field of the
language you have just imported (e.g.
Text_ES ).
- Make sure its Percentage option is set, so the three
fields will be displayed in percentage.
- Click Distribute Percentages or set the Always
distribute percentages option. This ensure that the three fields
will have the same width.
- Click OK.
- 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:
- 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:
- Select the Import command from the File
menu.
- Select the path of the TMX file to import.
- Click Open.
- An TMX Import Options dialog box opens.
- Make sure the option Check for invalid characters is
set.
- 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.
|