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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 |
- | - | - | - | - | - | - |
Supporter timezone: America/Lima (GMT-05:00)
Tagged: Compatibility
This topic contains 14 replies, has 0 voices.
Last updated by Andreas W. 7 hours, 56 minutes ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
September 2, 2025 at 9:59 am | |
riencov |
Background of the issue: Symptoms: Questions: |
September 2, 2025 at 10:05 am | |
September 2, 2025 at 10:06 am | |
September 2, 2025 at 11:44 am | |
September 2, 2025 at 6:13 pm #17367346 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, The buttons on your homepage do not seem to be translatable with the WPML Translation Editor. You are using "Greenlight Content Elements," and each of those custom blocks needs a Usually, the author should provide a wpml-config.xml file inside the plugin folder that handles such configurations. Our support usually does not create such config files for you, but I can offer to provide a WPML test site, on which you can install the "GreenShift - Animation and Page Builder Blocks" and I will try at least to create a config for the blocks in questions, so that we can test if a translation will be successful if the corresponding config is added. Would this be possible? Best regards |
September 3, 2025 at 10:27 am #17369716 | |
riencov |
Hi Andreas, Thanks for your response, but it's not only the buttons on the frontpage. It's also the header menu, which is a standard WP block. It seems a problem on every Synced Pattern, and only to the archive page of a CPT, the rest of the blocks/links/translations are working well. |
September 3, 2025 at 11:00 am #17369933 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Yes, this is the same issue, as for example, the "Hero Header" pattern uses a Greenlight Tag Element Custom Block as a button. I can offer a WPML test site on which you can install the theme and its plugins and we can try to create a config that makes those buttons translatable. |
September 3, 2025 at 11:10 am #17369953 | |
riencov |
A test site would be perfect. I already have a staging environment where you can do whatever you want? |
September 3, 2025 at 11:34 am #17370045 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, The required fields are located below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it. IMPORTANT The private reply form looks like this: Click "I still need assistance" the next time you reply. Video: Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form. Best regards, |
September 3, 2025 at 11:56 am | |
September 4, 2025 at 3:05 am #17372974 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I have installed our plugin "Multilingual Tools" on your staging site. If you now visit the WordPress Editor on the homepage, you will see a section at the bottom called "WPML XML Configuration" which contains a config for all Gutenberg Blocks found on the page. You could, for example, now create a new test page that includes all the blocks that are not translatable, save the page, and obtain a config. This config can then be saved at WPML > Settings on the tab "Custom XML Configuration". After that, you only need to select the affected blocks on the original content, save the content, and then open the WPML Translation Editor. Now these blocks should be translatable. I already created a config for some buttons from Greenshift for you. --- Note that on the Staging, I am sadly not able to run any further tests, as WPML is not registered. |
September 4, 2025 at 7:51 am #17373427 | |
riencov |
Hi, I registered the staging site in WPML. But still have some issues, it's not translating yet: |
September 4, 2025 at 8:16 am #17373677 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Indeed, I still needed to adjust the XML config. Could you please give it another test now on the staging? 1) Edit the original page or template and save it again Note that our support is not responsible for creating the XML configuration. Those issues should be reported to Greenshift. |
September 4, 2025 at 8:48 am #17373915 | |
riencov |
I made it to translate the main menu and mega menus, but in main content there's still no luck. Is it possible to bulk edit all of the links? |
September 4, 2025 at 10:54 am #17374842 | |
Andreas W. WPML Supporter since 12/2018 Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I have adjusted the config again, and it should work now. The current config is: <wpml-config> <gutenberg-blocks> <gutenberg-block type="greenshift-blocks/element" translate="1"> <xpath>//a</xpath> <xpath type="link">//a/@href</xpath> <key name="textContent" /> <key name="href" type="link" /> <key name="dynamicAttributes"> <key name="0"> <key name="name" /> <key name="value" /> </key> </key> </gutenberg-block> <gutenberg-block type="greenshift-blocks/buttonbox" translate="1"> <xpath>//span</xpath> <xpath type="link">//a/@href</xpath> <key name="buttonContent" /> <key name="buttonLink" /> <key name="linkTitle" type="link" /> <key name="buttonAnchor" /> </gutenberg-block> </gutenberg-blocks> </wpml-config> Ideal would be, if the author of the theme would include this config in a wpml-config.xml, which will be shipped with the theme inside its root directory. Please inform the theme support about this issue. |