Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does DeepL support translating rich text contents? #36

Open
hoangminhtran94 opened this issue Nov 20, 2023 · 1 comment
Open

Does DeepL support translating rich text contents? #36

hoangminhtran94 opened this issue Nov 20, 2023 · 1 comment

Comments

@hoangminhtran94
Copy link

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.

@JanEbbing
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants