Skip Navigation

[Resolved] Incompatibility issue with Weglot and Toolset Blocks 1.3.4

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 27 replies, has 3 voices.

Last updated by Jamal 4 years ago.

Assisted by: Jamal.

Author
Posts
#1872127

After updating to Toolset Blocks 1.3.4, Toolset is no longer compatible with Weglot. When I auto-translate a page, the formatting doesn't look good. I've tried to reach out to Weglot, and they said it's something wrong with the code. I am using Toolset Blocks 1.3.2 in another environment, there's no issue, I am only experiencing the issue after the update.

Can you mark the next post private so I can share the links with you?

#1873357

Hello and thank you for contacting the Toolset support.

I am not familiar with the Weglot plugin, so, when you say "When I auto-translate a page, the formatting doesn't look good" I am not sure to understand what you meant. Can you elaborate more? Maybe explain in steps.
1. I go to xxx
2. I do xxx
3. I expect to have xxx
4. Instead I get xxx

Can you give examples of broken format? Add screenshots if needed.

I confirm that the credentials are working, but I could not find where the translation is done, so I can run a small test.

#1873359

Hi Jamal,

Can you set my next post privately so I can share the links with you?

Thank you!

#1873387

Of course. Your next reply will be private.

I just want to note that all links and images remain private to other users of the forum except the ticket author and our teams.

#1873409

After updating to Toolset Blocks 1.3.4, Toolset is no longer compatible with Weglot. When I auto-translate a page, the formatting doesn't look good. I've tried to reach out to Weglot, and they said it's something wrong with the code. I am using Toolset Blocks 1.3.2 in another environment, there's no issue, I am only experiencing the issue after the update.

languages that are OK after the translation:
hidden link
hidden link
hidden link
hidden link

language with the coding issue on the page:
hidden link
hidden link
hidden link

Unable to translate at all, language selector disappears on the bottom right:
hidden link
hidden link

hidden link - uses Toolset Blocks 1.3.4 (This is the environment you have access to)
hidden link - uses Toolset Blocks 1.3.2

You can compare the issue with the 2 domains.

I took a video to show you: hidden link

#1873451

Thank you for your feedback. I can see the issue on the listed pages.

If I understand well, all the issues on these languages appeared after Toolset Blocks update, right? Or did you also updated the pages or the translations? If yes, can you explain how the translation process is done?

I would also ask if it is possible to take a Duplicator copy of the site while using Toolset Blocks 1.3.2, so we can perform the update and have both sates available(before and after) for our debugging.

#1873455

Hi Jamel,

Thank you for looking into this.

If I understand well, all the issues on these languages appeared after Toolset Blocks update, right?
Yes, the issue appeared after the toolset block update.

Or did you also updated the pages or the translations?
No other update was changed.

Can you set my next post as private so I can share the other environment with Toolset Blocks 1.3.2 with you?

#1873855

Your next reply will be private.

#1874313
#1875863

My apologies for the late reply, but it took me a long time on my tests. The secondary languages' pages were taking between 600s and 1500 seconds to load, with an average of 800 to 900 seconds. Check this screenshot hidden link

So, I deactivated all other plugins and I switched to a default theme and I was still having these load times. Which rings a bell on how Weglot work, and I think that it reaches Weglot servers for data during every request.

The languages switcher were correctly generated, but they did not respond(open on click) until the page fully loads, sometimes before that, but after a long time.

I performed the update and tried these pages again. The default page was loaded in around 20 seconds, but the secondary languages' pages were taking the same times(800s to 1400s). All languages have generated the language switcher correctly except for Italian.
When I checked the generated HTML, I can see a "Weglot error API" in the place where the language switcher should be generated. This appears also on your updated site. Check this screenshot hidden link

<!--Weglot error API : -->

I think that we'll need Weglot help here to better understand the cause of the issue and fix it.

I assume that Weglot does save the translation on the site, and I wonder if there is a way to temporarily disable requests from the site to Weglot servers?
I wonder if the Weglot support can step in and see why there is this "Weglot API Error" generated on your updated site? Any information can help us narrow this down.

Please note, that I was only checking the issues on the languages switcher. After deactivating plugins, there is no way to check if the PDF viewer is correctly styled.

#1875877

Hi Jamel,

Thank you for looking into this.

Is this something we can take it offline via email so I can connect you with the Weglot support team?

Thank you!

#1875961

We can go that step, but I hoped for your help setting a clean install with a default theme and only Toolset plugins as I am not used to the Weglot translation setup. This will help us quickly check if it's a general issue in Flywheel's hosting or just happening with your website.
I am sure it would take you a couple of minutes and save all of us the time to wait for responses between us and the Weglot support team. Just set up 2 or 3 languages, translate 2 or 3 pages, and check if the update will break any of them.

In addition, I'll be on vacation for a week from the next hour, as I will be reaching my today's shift. So, I'd prefer to keep communication here to let my teammates that will help on this issue have all the details to keep working on this issue.

#1879321

Hi Jamel,

Please enjoy your vacation.

I have to do some more testing on my end, but if you can keep the ticket open for the time being.

I am experiencing the issue being "fixed" when I activate/deactivate all the plugins. Pretty much what you did to fix the other languages and that resolved the IT issue. I'll keep on testing.

Thanks.

#1880199

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Jamal is on vacation. This is Minesh and let me step in here.

Please let me know if you will require further assistance.

#1882539

Hello,

I checked the erroneous pages again and they seem to work correctly, except for the Japanese translation. And I am wondering if you are still needing assistance with this?

I'll remain at your disposal.