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
activeistrueand the selected target language matches a value inapplied_to_language_names.An empty
applied_to_language_namesarray 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 |
|---|---|
| Replaces lowercase |
| Replaces supported whole-word American spellings with British spellings while retaining common uppercase and title capitalization. |
Configuration
Default
{
"textPostProcessingConfig": []
}Enabled example
{
"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 of a supported processor. | String |
|
| Whether the processor is enabled. | Boolean |
|
| Target-language names for which the processor is applied. | Array |
|