Text Post Processing

1 min read

Text post-processing applies configured transformations to translated output, such as replacing ß with ss.

When it runs

Configure post-processing under textPostProcessingConfig. The default is an empty array, so no post-processing is applied.

  • A processor runs only when active is true and the selected target language matches a value in applied_to_language_names.

  • An empty applied_to_language_names array applies the processor to no languages.

  • Configured processors run in array order.

  • Wording restored by Translation Memory remains unchanged by post-processing.

Available processors

Processor

Behavior

Replace sharp s with ss

Replaces lowercase ß with ss.

American to British

Replaces supported whole-word American spellings with British spellings while retaining common uppercase and title capitalization.

Configuration

Default

json
{
  "textPostProcessingConfig": []
}

Enabled example

json
{
  "textPostProcessingConfig": [
    {
      "name": "Replace sharp s with ss",
      "active": true,
      "applied_to_language_names": ["German"]
    },
    {
      "name": "American to British",
      "active": true,
      "applied_to_language_names": ["English"]
    }
  ]
}

Use language display names such as German and English, rather than language codes.

Parameters

Parameter

Description

Type

Item default

name

Name of a supported processor.

String

Replace sharp s with ss

active

Whether the processor is enabled.

Boolean

false

applied_to_language_names

Target-language names for which the processor is applied.

Array

[]

Last updated