I want to translate all text, except those contained inside of specific elements, for example:
Please open the page <x>Settings</x> to configure your system.
DeepL should translate everything except for items inside the <x>
element. I read the doc here, https://www.deepl.com/docs-api/handling-xml/ignored-tags/ and have tried looking, but can not seem to find the proper hook to add that ignore_tags parameter.
I played around with the $this->request['ignore_tags']
, for DeepLApiTranslate
but I would rather not edit the plugin directly.
How should I handle this / any hook I should use?