Add automatic disclaimers to machine-translated content
When using machine translation to translate content, you can set up a disclaimer to be appended to translated posts
On the settings page of Polylang (see Set up machine translations), there is a section for activating the machine translation disclaimer. When activating this option, there is a text area to define what content should be added to each post that gets machine-translated. Here you can paste one (or more) Gutenberg blocks to be appended. They can be common blocks like a simple paragraph, or even custom blocks like seen in the screenshot below (see Create a custom block in Purple Hub), which can then by styled dynamically on the frontend.

Once this is configured, when a post gets machine translated (see Use machine translations of article contents with DeepL), this disclaimer block will automatically be appended to it.


These disclaimer blocks are just regular content blocks, so they can also be added / removed manually.
Instead of using a custom blocks and implementing special handling for them in the frontend, it is also possible to simply write some text to be used as the disclaimer. It will be inserted as a normal paragraph block at the end of the translated article. For this use case, it can be helpful to provide specific disclaimers for each target language separately. This can be done by enabling the corresponding checkbox and then filling out the language-specific text boxes.
The main text box at the top will be used as the disclaimer for any language that has no specific disclaimer text defined.
