deepl-php
deepl-php copied to clipboard
Does DeepL support translating rich text contents?
Hi, I want to use DeepL API to translate my contents but I am not sure if the DeepL can translate rich text or not. I used the version on your website but it doesn't seem to work.
Hi, what exactly do you mean by rich text? We have a so-called tag handling feature that can translate text with HTML or XML tags while leaving the tags, see the documentation here, the README of this library also describes how to use tag handling with the library.
In the python library, we also have examples how to translate other formats, currently mustache and json. We plan to add some version of markdown to this, but we currently don't have any resources/examples for markdown. Please let me know if that doesn't solve your problem.