# Variable: afterToTranslate (deprecated) (/pixi-vn-json/index/namespaces/translator/variables/afterToTranslate)



\> **afterToTranslate**: ((`key`) => `string`) | `undefined`

Defined in: [src/translator/TranslatorManager.ts:44](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/translator/TranslatorManager.ts#L44)

## Deprecated [#deprecated]

Optional hook that runs **after** the built-in [TextReplaces](/pixi-vn-json/index/namespaces/TextReplaces) after-translation
replace pass. Useful for post-processing translated strings.

Prefer [TextReplaces.add](/pixi-vn-json/index/namespaces/TextReplaces/functions/add) with `type: "after-translation"` instead.
