The formats are changed after translation

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 1 reply, 2 voices, and was last updated 4 years ago by Szabi – CodeRevolution.

Viewing 1 reply thread
  • Author
    Posts
    • #2338


      teddychu2001
      Participant
      Post count: 9

      To reproduce the issue, please use the below seed URL:

      https://vpnroom.com/purevpn-review/

      I leave everything default except “Automatically Translate Content To:” to German and you should see how the format difference between the scraped post and the seed post.

      I tested both Chinese and German also have that issue. I guess other languages should have issue as well. Please kindly fix the issue the soonest as I really need translation function. Thanks.

    • #2339


      Szabi – CodeRevolution
      Keymaster
      Post count: 4620
      Hello,
      Let me add here a part of the contents of the email I sent to you a bit earlier:
      Well, the issue caused by the translation engines from Google Translate, which were not designed to translate content which contains also HTML markup, but only plain text. Because of this, they tend to mix up HTML code in the content the translation API returns. I try to get around this by replacing the HTML code by text structures like this: (***) and sending the changed text to translation. This is also not a bullet proof method, because sometimes, the translation API is changing also these replacement markups, adding or changing their structure, case in which, my plugin is not able to fully reconstruct the HTML that is returned after translation.
      I can suggest that you try also the DeepL translator API that is available in the plugin, it has a 5$ subscription per month, maybe it will work better for you: https://www.deepl.com/pro?cta=header-pro/
      Let me know if this helped, also, please check my full email.
      Regards,
      Szabi – CodeRevolution.
Viewing 1 reply thread

The topic ‘The formats are changed after translation’ is closed to new replies.