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 |
|---|---|---|---|---|---|---|
| 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | - | - |
| 16:00 – 20:00 | 16:00 – 20:00 | 16:00 – 20:00 | 16:00 – 20:00 | 16:00 – 20:00 | - | - |
Supporter timezone: Asia/Jerusalem (GMT+02:00)
Tagged: ATE, Custom Work
This topic contains 8 replies, has 0 voices.
Last updated by simonL-71 23 hours, 52 minutes ago.
Assisted by: Itamar.
| Author | Posts |
|---|---|
| December 8, 2025 at 12:28 pm #17643860 | |
|
simonL-71 |
I've built several custom, static Gutenberg blocks. Most of them follow the same structure: a dedicated title field plus InnerBlocks for the content. Here’s one example: The block.json defines attributes like the media fields, title, and optional icon. save.js export default function save({attributes}) { const defaultImageUrl = 'https://cdn.wpml.org/wp-content/themes/palllm/img/preview/front-view-plant-growing-from-pellets.webp'; const mediaEl = ( ); const iconEl = (() => { if (!iconUrl) { return ( ); return ( {mediaEl} {iconEl && ( {iconEl} )} ); In save.js, everything renders correctly — except for one thing: gets translated on the frontend exactly as expected, but the title rendered via In the first screenshot you can see that it's correctly translated in the editor. In the 2nd screen you can see that only the paragraph is translated. I've tried via wpml-config.xml. But didn't help: |
| December 8, 2025 at 1:32 pm #17644209 | |
|
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, You got disconnected, and this is what I last wrote in the chat. ChatGPT keeps pointing to the same place. Please, change your block.json title attribute to be sourced from HTML:
"title": {
"type": "string",
"source": "html",
"selector": "h2",
"default": "Section Title"
}
Please let me know if this helps. Regards, |
| December 8, 2025 at 1:41 pm #17644226 | |
|
simonL-71 |
I've tried this but it doesn't help or fix the issue |
| December 8, 2025 at 3:02 pm #17644549 | |
|
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, and thanks for trying my suggestions. 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 |
| December 8, 2025 at 4:12 pm #17644783 | |
|
simonL-71 |
I can't edit my last private message but the FTP form concatenated the ftp server url and folder. The FTP credentials are for the root of the project. Just use hidden link as server url |
| December 9, 2025 at 8:47 pm #17649418 | |
|
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, and thanks for the access details. I'll further investigate this issue and if needed esclate it to our second-tier supporters. I'll keep you updated. I appreciate your patience. |
| December 9, 2025 at 9:02 pm #17649443 | |
|
simonL-71 |
Thanks, appreciated! 🙂 |
| December 10, 2025 at 11:20 am #17651823 | |
|
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, Today we've released WPML 4.9 beta version. This version includes a fix for the problem you described. Please read about it in the following post: https://wpml.org/changelog/2025/12/custom-elementor-widgets-now-translatable-wpml-4-9-beta/. See the section entitled "Widget Translations Missing or Disappearing on the Frontend". So the first thing I tried on your staging site was installing the 4.9 beta and testing whether it fixed the problem. Unfortunately, it did not fix the problem. I then reverted to the latest stable version of WPML and Strings Translation and proceeded to investigate this issue. I created a new page with your custom Text Image block and translated it. However, now the Pallm Text Image Item headline does not show in the Advanced Translation Editor. Only the paragraph is available for translation. Please see the attached screenshot. You can check my latest test page here: Have you changed something in your custom code that might have caused this? If so, can you please revert it to the state where the headline displayed for translation in the Advanced Translation Editor? Thanks, |
| December 11, 2025 at 7:29 pm #17657407 | |
|
simonL-71 |
Hey Itamar, Thanks for checking! I didn’t change anything in the code, but I can see that the WPML plugin files were modified (I’m using Git on this project). The headline also isn’t showing up in the WPML Editor anymore :-/ Since this is a bit time-sensitive, we’ll stick with the old way to translated pages via the Gutenberg editor for now since it seems to work. Still, it would be great if you could provide a working example of a custom Gutenberg block that includes an InnerBlocks content area and one (or more) separate RichText fields e.g. like a headline. Should we keep this ticket open, or should I open a new one? I’ll probably run into the same issue in another project soon. |

