Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This action permits to psuedo-translate texts from memories.

The action is configured as follows:

 

type

"PseudoTranslate"

string, Mandatory
localeFrom

The language of the text to find 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
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
  • No labels