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
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:
- 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.
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
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.