Open pbtsrc opened 5 months ago
Thanks for reporting, I can replicate this. This looks like an issue related to our translation models, so we cannot give an ETA when this will be fixed, sorry. I reported it internally to the team responsible for the models and they will take it into account.
One thing I noticed is that you set the tag handling to xml
, but pass in HTML code - tag_handling=html
is probably a better fit (unfortunately it does not resolve this issue, I checked).
The above code returns this:
As you can see, the translate_text() with Formality.MORE did not translate the text "A poor wayfaring man..."