Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This action permits to update the bookmark of textspseudo-translate texts from memories.

The action is configured as follows:

 

...

type

"BookmarkPseudoTranslate"

string, Mandatory
localelocaleFrom

The language of the text to which to apply the changefind memory hits for. This is typically the source language of the segments.

string, Mandatory
localeTo

The language into which we will write the memory translations. This is typically the target language of the segments.

string, Mandatory
value

Options are:

  • 0: Reset bookmark
  • 1: Set blue bookmark
  • 2: Set red bookmark
int, Mandatory

 

algorithm

The translation algorithm, any of:

  • Source: Copy source to target
  • SourceToLower: Copy source to target and transform to lowercase
  • SourceToUpper: Copy source to target and transform to uppercase
  • Stars: Copy source to target and replace all non-blank characters to "*"
  • SourceReshuffle: Copy source to target and reshuffle all characters. Also see parameter lengthChangePercent
  • SourceReshuffle-50: Copy source to target and reshuffle all characters and extend length by 50%.
  • SourceReshuffle+50: Copy source to target and reshuffle all characters and shorten length by 50%.

 

string, Mandatory
lengthChangePercentOptional, default is 0. Used with "SourceReshuffle" only. Negative or positive percentage to make the translation shorter or longer respectively.int, Optional
ifTargetNotEmpty

Optional, default is true.

  • true: Only copy if the target language does not already have a text
  • false: Always copy and replace existing target text

 

bool, Optional