Skip Navigation

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

Problem:

The link associated with the Divi button is not appearing for translation

Solution:

We recommend adding the WPML language configuration code in WPML>>Settings>>Custom XML Configuration. After adding the following code, please update the page in the original language after making a minor edit to refresh the translation settings. Then, update the translation to check if the issue persists.

<wpml-config>
<shortcodes>
    <shortcode>
        <tag>et_pb_button</tag>
        <attributes>
            <attribute>button_text</attribute>
            <attribute>button_url</attribute>
        </attributes>
    </shortcode>
</shortcodes>  
</wpml-config>

For more details, you can refer to a similar issue discussed in our forum: WPML Forum Discussion.

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

Last updated by Bigul 5 days, 4 hours ago.

Assisted by: Bigul.

Author Posts
February 19, 2025 at 2:39 pm #16725184

rogerv-6

Background of the issue:
I am trying to ensure that the contact page on my site hidden link opens in the set language when accessed from a link on another page.

Symptoms:
The contact page doesn't open in the set language when approached from a link on another page. It opens in the set theme language. When opened from the navigation, it works fine.

Questions:

February 19, 2025 at 5:01 pm #16726141

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please share the exact steps to reproduce the bug on your site. It would be great if you could share a couple of screenshots for a better understanding.

I have a request. Please upgrade the following configurations for the better performance of the site.

1) Increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details

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

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

2) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details or contact your system admin/hosting provider for this purpose.

hidden link

--
Thanks!

Bigul

February 20, 2025 at 9:41 am #16728499

rogerv-6

Hi Bigul,

I created a movie hidden link

The Max input var is set to 4000. I'm not able to change that it is restricted.
I've updated the Memory limit to 256 Mb

Everything seems to work fine except the changing of the language whem you try to access the form through a button on another page.

Regards Roger

February 20, 2025 at 4:30 pm #16730704

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Roger,

Thank you for the details. I can reproduce the issue here. Please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

February 21, 2025 at 5:36 pm #16734704

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Roger,

Thank you for the updates. This may be related to the following ticket.

https://wpml.org/forums/topic/divi-link-associated-with-button-isnt-showing-for-translation/#post-13145565

So I have added the WPML language configuration code in WPML>>Settings>>Custom XML Configuration - hidden link

Please update the page in the original language (hidden link) after a minor edit in the content to refresh the translation settings. Then update the translation and make sure the issue exists or not.

--
Thanks!

Bigul