我想翻译所有文本,除了包含在特定元素内的文本,例如:
Please open the page <x>Settings</x> to configure your system.
DeepL 应该翻译除<x>元素内的项目之外的所有内容。我在这里阅读了文档,https ://www.deepl.com/docs-api/handling-xml/ignored-tags/ 并尝试查找,但似乎找不到合适的钩子来添加该 ignore_tags 参数。
我玩过$this->request['ignore_tags'], forDeepLApiTranslate但我不想直接编辑插件。
我应该如何处理这个/我应该使用的任何钩子?