Skip Navigation

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

Problem:
If you're experiencing an issue where the 'Send' button on the contact form of your Main Page is not showing translations in Russian (RU) and Uzbek (UZ) despite being translated in String Translation, the issue might be due to a missing configuration.
Solution:
We recommend adding a custom XML configuration to make the 'Send' button translatable. This involves using the Otter—Page Builder Blocks & Extensions for Gutenberg plugin. You can add the following configuration in WPML → Settings → Custom XML Configuration:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="themeisle-blocks/form" translate="1">
      <xpath>//button</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

After adding this configuration, trigger the translation by making a slight change to the homepage, updating it, and saving the translation. For detailed guidance, refer to the documentation on making custom Gutenberg blocks translatable.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.

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 5 replies, has 0 voices.

Last updated by Andrey 2 months, 3 weeks ago.

Assisted by: Andrey.

Author Posts
February 28, 2025 at 2:48 pm #16761457

akmaljonU

Hi Andrey,
I've noticed one more issue with translation Send button of contact form on Main Page, on RU and UZ pages Send button doesn't show translation however it's translated on String Translation for each language. Can you help me with fixing this issue also?
You can see this issue also on screenshots earlier on this ticket (reply #16752595)

February 28, 2025 at 3:22 pm #16761605

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I have reviewed this issue, but I don't see an obvious reason at this time. Could you please update the Otter – Page Builder Blocks & Extensions for Gutenberg plugin to the latest version? The form is dependent on it.

Please let me know when the update is complete.

February 28, 2025 at 6:12 pm #16762395

akmaljonU

Done, update of the plugin is completed.

March 3, 2025 at 7:37 am #16767021

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the update. I will take a look further and update you as soon as I have more information.

March 3, 2025 at 12:33 pm #16769087

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I appreciate your patience. I had to look deeper into this problem.

I found that the send button text wasn't translated because a configuration was missing that added the button from the Otter—Page Builder Blocks & Extensions for Gutenberg plugin to the translation.

Using the article linked below, I created the necessary configuration and added it to WPML → Settings → Custom XML Configuration.
https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/

Here is the configuration I added:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="themeisle-blocks/form" translate="1">
      <xpath>//button</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

Then, I triggered the translation of the homepage by making a slight change, updating it, and saving the translation. I will report to my team so they can inform the plugin's author.

Settings-‹-Green-Shield-Solutions-—-WordPress(1).png
Green-Shield-Solutions-–-EHS-Solutions(1).png
March 4, 2025 at 12:59 pm #16774070

akmaljonU

Hello Andrey,
Great job! Thank you for assistance and support!

March 4, 2025 at 1:00 pm #16774074

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you! Have a nice day!