Admin
Multi langugage
Add automatic disclaimers to machine-translated content
5min
summary when using machine translation to translate content, you can set up a disclaimer to be appended to translated posts see also set up machine translations docid\ q0ylpr0t8p8ytknn80zit and use machine translations of article contents with deepl docid\ pzkyrucesczvs5sqnq7ou setting up a custom disclaimer block on the settings page of polylang (see set up machine translations docid\ q0ylpr0t8p8ytknn80zit ), 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 docid\ zcab3ro5 hrb6bkd8pfnc ), 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 docid\ pzkyrucesczvs5sqnq7ou ), 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 language specific disclaimer text 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