Issue with 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 9 replies, 2 voices, and was last updated 2 years, 7 months ago by Szabi – CodeRevolution.

Viewing 9 reply threads
  • Author
    Posts
    • #4803


      daniel-dani
      Participant
      Post count: 9

      Hi,

      I got issues when I use translation via Google – opening html elements like <div> or

      are being removed for some reason. Closing html elements like </div> or

      looks fine. However whole page then gets broken because of opening elements are missing.

      When I tried to scrape without the translation then it was OK.

      For reference, I am attaching a PDF file.

      Regards, Daniel

      Attachments:
      You must be logged in to view attached files.
    • #4806


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      First of all, thank you for your purchase.

      Can you send me, please, temporary admin login credentials to your WordPress install, so I can check this issue out? Send it, please, to my email address: kisded@yahoo.com.

      Regards, Szabi – CodeRevolution.

    • #4814


      daniel-dani
      Participant
      Post count: 9

      Hi Szabi,

      Requested credential details send via email.

      Daniel

    • #4815


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      I did not get any email, please resend it manually to kisded@yahoo.com

      Alternative email where you can send: support@coderevolution.ro

      Regards.

    • #4816


      daniel-dani
      Participant
      Post count: 9

      Weird, I can see that in my send emails. Just send again for this second email.

       

      Daniel

    • #4817


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Hello,

      I made settings changes in the plugin (for rule ID 1), as listed below, please check if it helped:

      Strip HTML From Full Content:
      checked

      Alllowed HTML Tags (If Strip HTML Enabled):
      <div><img><a><br>

      Content Query Type (Optional):
      Visual Selector

      Content Query String (Optional) Help!:
      //*[@class=’css-0′]

      Regards.

    • #4818


      daniel-dani
      Participant
      Post count: 9

      Hi,

      Valid is ID 0 (zero)

      Anyway – I tried to apply what you suggested but does not help. All HTML tags are removed which on one hand solves the problem with the broking page but on the other hand, we will have to manually edit content and formating.

      I see that this issue is happening because of translation. How is that possible?

      Daniel

    • #4819


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Unfortunately Google Translate made some changes in their algorithm recently and now they cannot seem to handle HTML code as well as before.

      However, the suggestions I made above should not remove all HTML tags, it should leave the following tags: <div><img><a><br> which are listed in the ‘Alllowed HTML Tags’ settings field, as shown above.

      Let me know if this is not working for you and all HTML is still removed and I will check on this. If this is the case, please send me an example post from your site which has all its HTML removed and I check its cause.

      Regads.

    • #4822


      daniel-dani
      Participant
      Post count: 9

      Hi,

      Not sure what did changed but now it’s OK even when I do not use this recommended “Strip HTML From Full Content

      Thanks for support and have a nice day.

      Dan

    • #4823


      Szabi – CodeRevolution
      Keymaster
      Post count: 4577

      Glad to hear this!

Viewing 9 reply threads

The topic ‘Issue with translation’ is closed to new replies.