Hello!
I had a task to translate part of the blocks on the page into English.
For example, there is such a div block:
<div> <h3>Заголовок</h3> <ul> <li>Текст</li> <li>Текст</li> <li>Текст</li> </ul> <p>Текст</p> ... </div> We need to take the whole block, and transfer it to the translation tool. Only text in Russian should be translated, tags should be ignored you get the following:
<div> <h3>Title</h3> <ul> <li>Text</li> <li>Text</li> <li>Text</li> </ul> <p>Text</p> ... </div> I tried to do the translation through yandex tranlate, but it breaks the tags.
Who knows if a similar tool exists with an API?