Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

Getwid – Gutenberg Blocks - the translation of the title of the toggle block is not translated on the front end.

Solution:

The Getwid – Gutenberg Blocks by MotoPress is not officially compatible with WPML. It is not on our list of compatible plugins here. https://wpml.org/plugin/.

Other plugins from MotoPress are compatible, so we will try to contact them and cooperate with them to solve this issue.

The user marked this ticket as resolved but did explain how it was resolved. It may be that MotoPress resolved it.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by miguel-manuelM 1 year, 7 months ago.

Assisted by: Itamar.

Author Posts
May 12, 2023 at 1:01 pm #13637633

miguel-manuelM

Good evening,
I have translated a CPT instance build with elementor and Guttemberg. One of the guttemberg blocks displays the original language even though it appears in the advanced editor and the strings are translated. The widget is a toggle and the content of every element is properly translated, just the titles are in Spanish.

The issue can be found here: hidden link

Thanks in advance,
Regards.

untranslated-content.PNG
May 14, 2023 at 6:38 pm #13643749

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I can see the problem on your site. Please try the following suggestions to see if it helps to solve the problem.

1. The debug info you have attached shows that your server WP Memory Limit is set to 40M. Our recommendations are to have the following as minimal requirements:

- PHP 5.6 and above (this OK with your installation) with a WP Memory Limit of at least 128MB while 256MB is recommended.

MySQL 5.6 and above.

Please follow this link for detailed documentation:

https://wpml.org/home/minimum-requirements/

Is it possible for you to change those to the minimum requirement?

You may need to contact your hosting provider for that. Meeting those baseline requirements is critical before debugging and sometimes solves issues you experience. The most important thing is to raise the WP Memory Limit. Please try to raise it before you contact your hosting company. You can do it from the wp-config.php file in your WordPress installation. Insert this code in that file:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Add it before this line:

/* That's all, stop editing! Happy blogging. */

2. If the above solution does not help, please check if the following known issue is what is causing the problem on your site.

https://wpml.org/errata/elementor-pro-elementor-loop-template-button-is-not-translated/

Could you please perform that procedure and see if it helps?

Regards,
Itamar.

May 16, 2023 at 8:50 am #13653685

miguel-manuelM

Good morning,
I have extended the memory limits and the guttemberg block still shows the original language.

Additionally, I have carried out the first steps of the second link you provided, I have replaced the code with the fix but I am not sure what would mean "Translate the Loop template" in my case, since I am not using that template for the corrupted block.

I have updated the translations and the original language is still visible.

I could provide credentials for the site if you like.

Thanks.

May 16, 2023 at 11:13 am #13655595

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for trying my suggestions.

Yes, please share access with me and explain where to see the issue. Tell me where the CPT instance was built with Elementor and Guttenberg with this problem.
If you need further help with this, please share the access details to your site with me.
I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

May 16, 2023 at 7:14 pm #13659297

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Only now, I noticed that I'm handling two of your tickets. The other ticket is this.

https://wpml.org/forums/topic/wpml-overwritting-cpt-links-in-every-language-with-another-cpts-permalink/

So also, in this case, the problem might be in the CPT code. For now, I'll wait to hear the results of the minimum environment test I asked you to perform in my last reply. Then if needed, I'll consult our second-tier supporters if they can help find the problem in the CPT code.

I must mention that supporting custom code is limited and generally out of the scope of our support forum. We will do our best to point out what may be the problem, but we may not be able to provide a fix for the custom code. Please check our support policy here.

https://wpml.org/purchase/support-policy/

Regards,
Itamar.

May 17, 2023 at 9:25 am #13662511

miguel-manuelM

Good morning,
I have added the same block in a normal post, to avoid relying in cpts and custom codes. The same issue occurs, the strings are properly found and translated in the translation editor, but the front-end still shows the original string in the toggle item.

You can find the test in this link:
hidden link

Thanks and sorry for the inconvenience.

block-in-post-es.PNG
block-in-post-en.PNG
May 17, 2023 at 6:09 pm #13667319

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for trying my suggestions.

The information you gave us helped me find the cause of this issue. The problem is with the Getwid – Gutenberg Blocks plugin. I could replicate this problem on a clean WordPress installation with WPML and this plugin. This plugin is not officially compatible with WPML. It is not on our list of compatible plugins here. https://wpml.org/plugin/.

I've escalated this issue to our compatibility team. They will check this issue and will try to find a fix for it.

Meanwhile, it would be great if you could contact the authors of the Getwid – Gutenberg Blocks plugin and urge them to join our Go Global Program. You can find details about it here.

https://wpml.org/documentation/theme-compatibility/go-global-program/

We will happily cooperate with the authors in making their plugin officially compatible with WPML.

I'll update you on any news from our compatibility team regarding this issue.

Thank you for your patience.
Itamar.