Skip Navigation

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

Last updated by Osama Mersal 1 year, 9 months ago.

Assisted by: Osama Mersal.

Author Posts
October 7, 2023 at 3:30 am #14531789

jiyoonb

Tell us what you are trying to do?

I translated the pop-up form that opens when I press the CONTACT(left black one) button at the top of the homepage header using the WPML plug-in,
In Korean which is the basic language of our website, the layout looks normal, but in English after translation, all layouts in the pop-up form are broken.
when I go into Elementor to edit the broken English layout, the layout looks normal. but it doesn't affect to save change. how can I fix this problem?

What is the link to your site?

hidden link
hidden link

popup form in korean.png
popup form in English on the Elementor.png
popup form in English.png
October 8, 2023 at 10:22 am #14534385

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) First of all, sorry for the late reply due to a higher workload. Please check the following steps:

1- Go to WPML-> Settings-> Custom XML tab
2- Add the following code

<wpml-config>
  <elementor-widgets>    
    <widget name="button">
      <fields>
        <field>text</field>
        <field>__dynamic__>link</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

3- Update the header template where the button is added
4- Update the translation using the translation editor
5- Translate the popup ID
6- Save the translation

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

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

Best regards,
Osama

October 9, 2023 at 3:20 am #14535651

jiyoonb

Hi,

1) I added that code in XML tab, updated header translation and saved translation, but it still doesn't work properly.
All the pop-up layouts are still broken on the English translation site.

2) I attached the screenshot image, the following notification appears on the site health, could it be related to this?

(by the way, thank you for letting me know how to increase memory, I added the code on my wp-config.php file.)

best regards,
Jiyoon

site health screen shot.jpg
October 9, 2023 at 5:52 am #14535847

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Jiyoon,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

October 9, 2023 at 6:33 am #14535979

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. I checked the issue, and the template ID was not translated, so I translated it. (Kindly check the attached screenshot)

Would you please check the English contact button and let me know if it works correctly?

Best regards,
Osama

1.jpg
October 9, 2023 at 6:37 am #14536015

jiyoonb

Thank you Osama, It works!

Best regards,
Jiyoon