Skip to content Skip to sidebar

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

Problem:
The client has a registration section on their website with 70 select buttons. When trying to translate the registration, 65 fields are translated correctly, but 5 fields do not appear on the English version of the website.
Solution:
We checked the "Registration" field group and found that the fields were set to "Don't Translate". We recommend setting the translation mode to "Same Fields Across Languages" as on the staging site, or changing the field setting to "Copy" instead of "Don't Translate". Here are some guides to assist you:

After making these changes, please update the registration post in the default language and its translations.

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, 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.

This topic contains 28 replies, has 3 voices.

Last updated by sanjaP 1 year, 5 months ago.

Assisted by: Osama Mersal.

Author Posts
March 29, 2024 at 12:18 pm #15464260

sanjaP

I have my wpml, and it works good. On my website i have a register section that has 70 select buttons. Once I try to translate my registration 65 fields are translated and only 5 are not. They dont appear in my english website at all. Everything in code is set up properly.

March 29, 2024 at 12:50 pm #15464350

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

thanks for contacting us.

Please provide us with your debug information, or it's impossible to suggest you a solution
https://wpml.org/faq/provide-debug-information-faster-support/

April 2, 2024 at 1:29 pm #15473157

sanjaP

Here is the debug info

[removed]

April 2, 2024 at 3:33 pm #15473957

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

1) Could you please let me know how these fields are created in the default language?

It would be very helpful if you could share screenshots or a screen-recorded video while reproducing the issue.

2) It's unrelated 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

April 4, 2024 at 9:04 am #15481696

sanjaP

First I create a registration, and choose the mentioned fields. (step 1)
Then when I go to edit to check the fields in default language which is German, all is good. (step 2)
Then I add the translation to English (step 3 and 4)
And when its complete I check the button, and when I go to that registration edit in English the fields are missing (just some of the mentioned 5 fields I did not select them all). (step 5)

Thank you for your help, I will check the page for memory.

Screenshot_5.png
step 3.png
step 4.png
step 2.png
step 1.png
April 4, 2024 at 1:11 pm #15483287

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the steps. 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.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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

April 9, 2024 at 6:42 am #15496798

sanjaP

My client approved to share info but from the dev website. It has almost the same code as the live one. Will that be good enough for you to check the bug?

April 9, 2024 at 4:13 pm #15500343

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

If the issue can be reproduced on the staging site, please share the access details in the next private reply.

Best regards,
Osama

April 11, 2024 at 10:14 am #15508383

sanjaP

I would be really grateful if we could quickly resolve this issue, my client would appreciate it. Do you know how long will we wait?

April 11, 2024 at 3:03 pm #15509952

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the access details. Please update WPML CMS, String Translation, ACF Pro, and ACF Multilingual to the latest version. You can find the latest versions of WPML here. (https://wpml.org/account/downloads/)

After that, please let me know to continue debugging the issue. I tried to update those plugins, but I couldn't. Also, the FTP connection is failed.

Best regards,
Osama

April 11, 2024 at 3:49 pm #15510320

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I was able to update the plugins. After updating the plugins, please try the following steps:

1- Go to WPML-> String Translation
2- Search for these 5 strings
3- Delete the strings
4- Enable the "Look for strings while pages are rendered" option
5- Visit the page on the front end where you can see those strings
6- Disable the option
7- Translate these strings
8- Check them on the front end

Please note that you need to translate the strings in the "inno-zh" text-domain.

I've tried the above steps on a test post. Please check if it works correctly. (hidden link)

Best regards,
Osama

April 12, 2024 at 4:57 am #15511291

sanjaP

Thank you, I will try the steps at once.
Will this affect previous registrations with these fields?

April 12, 2024 at 10:24 am #15512476

sanjaP

Hello on live I have more options in string translation than on dev. Is it possible to cerate a step by step video? Because i tried the steps but nothing seems to happen.

Screenshot_4.png
April 12, 2024 at 11:55 am #15512762

sanjaP

Hello, sorry to bother you but is there a chance to resolve this today? My client is in hurry. Thank you.

I tried the steps but the fileds in EN are still not showing.

April 12, 2024 at 3:55 pm #15513500

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Is it possible to share the access details of the live site? If not, please let me know so I can create a video from the staging site for you.

Best regards,
Osama