Command Selection Translate

The Translate command replaces the selected text with its corresponding translation found in the specified glossary.

When selecting the Translate... menu item, the following dialog

Translate Command Input

will help you specify the Translate command parameters:

filename

Specify the glossary file name which should be used for the translations.

preserveCase

Specify if the translation should preserve the original case.

Note that:

{Translate}
...
{/Translate}

is equivalent to:

{CopySelection}
{TranslateClipboard}
...
{/TranslateClipboard}
{Paste}

Example

In the following expansion:

{Translate}
filename = "Glossary\#Typos.xglo"
preserveCase = "y"
{/Translate}

the selected text gets replaced based on its translation in the Typo glossary.