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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year ago.

Assisted by: Prosenjit Barman.

Author Posts
April 4, 2024 at 2:51 am #15480809

aymanM-7

Tell us what you are trying to do?
In this page: hidden link
I want to translate the following text to Arabic (Please verify your email to submit withdrawal request) --> this is the Arabic version (يرجى التحقق من بريدك الإلكتروني لتقديم طلب السحب)
I scan plugins for strings and I choose Look for strings while pages are rendered
But I can't find the string
Please enable private box to share login info

Is there any documentation that you are following?
No
Is there a similar example that we can see?
No
What is the link to your site?
hidden link

Capture.PNG
April 4, 2024 at 10:54 am #15482508

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I checked the page and found that the message is added by the Form Locker addon by WPForms. It is possible to Translate the message from String Translation but, since it is not showing there, please try the following:

- Occasionally, translation issues with WPForms can arise from an insufficient WordPress Memory Limit. Upon reviewing your WPML Debug Information, I noticed that the site's WordPress Memory Limit is set below the recommended level. To address this, please increase the memory limit by following the guidelines outlined here: https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-to-increase-your-sites-memory-limit.

- Once the Limit is increased, open the Form where you've added the message and make a small change. Then, save the changes and update the translation.

- In the Editor, you should see the message. If not, you can go to "WPML > String Translation" and search for the text. If that appears in the result, add the translation by clicking the "+" icon below the Flag.

Please let me know how it goes. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

April 4, 2024 at 11:13 am #15482560

aymanM-7

Hi,
I increased the memory limit to 3GB and followed the instructions.
Still I can't find the string in string translation.
Please enable the private box to share login info

April 5, 2024 at 5:04 am #15486217

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for trying out the suggestion.

I've thoroughly checked my development environment and identified the problem. It occurred because the field where the message was inserted wasn't set up to support translations. Here's how you can fix the issue:

To resolve the issue, please follow these steps:

1. Navigate to the files section of your website through cPanel or FTP and open `/wp-content/plugins/wpml-wpforms/` directory.
2. Edit the `wpml-forms-config.xml` file and find the line `<property>form_locker_user_message</property>`.
3. Directly below this line, insert the following code to ensure the field is recognized for translation purposes:

 <property>form_locker_email_message</property>

Here's a screenshot for clarity: hidden link

4. After adding the code, open the default form in your site's backend and make a minor edit to the Form title, then save your changes.

5. Navigate to `WPML > Translation Management` in your WordPress dashboard and update the form's translation.

6. Within the translation editor, the message field should now be visible (see screenshot: hidden link;). Proceed to translate it as needed.

I hope the steps above will help to solve the issue. Please feel free to let me know if there is anything else you need help with. I will be happy to assist.

Best regards,
Prosenjit

April 5, 2024 at 4:31 pm #15489058

aymanM-7

Thank you
It worked
But what should I do in case plugin get updated to a newer version?
Do I have to repeat the steps?

April 8, 2024 at 3:51 am #15492297

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

I'm pleased to hear the solution worked well. I will bring this up with our development team to make sure it's permanently incorporated into the plugin. In the meantime, if you update the plugin and encounter the issue again, please manually insert the code into the plugin's codebase. I hope you can understand.

Best regards,
Prosenjit

The topic ‘[Closed] string translation’ is closed to new replies.