This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're unable to translate HTML messages set in WPForms Locker addon or other WPForms addon message fields, and you've checked for the string without success, you might consider modifying the XML configuration.
Solution:
We recommend following these steps:
1. Edit the
wpml-config.xml
file.
2. Add the following code:
<property>form_locker_user_message</property>
underneath this line:
<property>form_pages_footer</property>
3. Update the form.
4. Send the form to translation.
These steps resolved the issue in our sandbox testing environment.
If this solution does not apply because it might be outdated or not suitable for your 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 issue persists, please open a new support ticket at WPML support forum.
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: Compatibility
This topic contains 43 replies, has 2 voices.
Last updated by marcoS-96 2 years, 7 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
May 10, 2022 at 10:48 am #11188699 | |
marcoS-96 |
Hello, I'm unable to traslate html message set in WPForms locker addon (but also for other WPForms addon message fields). I attach an image. Many thanks. |
May 10, 2022 at 10:51 am #11188723 | |
marcoS-96 |
I've also a staging site ... where I can insert credentials? |
May 10, 2022 at 1:40 pm #11190091 | |
marcoS-96 |
I close this ticket and open in on forum. |
May 10, 2022 at 1:46 pm #11190187 | |
marcoS-96 |
Ticket is still open. |
May 10, 2022 at 2:45 pm #11190743 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Marco, Thanks for contacting WPML forums support. I'll be glad to help you today. Could you please login to this sandbox site and upload the "WPForms locker addon" plugin? (hidden link) After that, please create a test form and translate it. If the issue is replicable, please tell me the steps to reproduce the issue. Thanks for your cooperation Regards, |
May 10, 2022 at 3:43 pm #11191201 | |
marcoS-96 |
Hello Osama, thanks for your reply. Marco |
May 10, 2022 at 3:52 pm #11191259 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Marco, I've activated the pro version for you on the sandbox site. Could you please try to replicate the issue and let me know the steps to reproduce it? Thanks, |
May 10, 2022 at 4:22 pm #11191537 | |
marcoS-96 |
Hi Osama, Marco |
May 10, 2022 at 4:49 pm #11191803 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Marco, Thanks for replicating the issue. I'm consulting our computability team regarding this issue, and I'll update you as soon as I get their reply. Thanks for your cooperation and patience Regards, |
May 11, 2022 at 9:44 am #11197023 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your patience. Could you please check the following steps? 1- Edit the () file <property>form_locker_user_message</property> Under this line <property>form_pages_footer</property> 3- Update the form I've applied these steps on the sandbox site, which fixed the issue. (Kindly check the attached screenshot) Would you please try these steps and let me know if that fixed your issue? I hope this helps you. If you need further info, please let me know. Best regards, |
May 11, 2022 at 11:27 am #11198377 | |
marcoS-96 |
Hi Osama, thanks for your support. Yes, seems it works!! 🙂 I've updated wpml-forms-config.xml in /wp-content/plugins/wpml-wpforms/ folder. So, please could you confirm next steps? Because in WPForms string text are not only in Form Locker addon user message, but also in other places, I have to check web elements with F12 reading name="settings[STRING]" For example in Form Locker: But, maybe also in Form Pages, if I want to translate: All these examples I have to add in XML file as indicated <property>STRING</property>, isn't it? Many thanks, Marco |
May 11, 2022 at 11:34 am #11198555 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Marco, It's great to hear that the workaround fixed the issue. I think the XML code would help you translate the strings you mentioned. Could you please try to add XML code for them using the steps in my last reply and let me know if that fixed your issue? Kind regards, |
May 11, 2022 at 12:14 pm #11198889 | |
marcoS-96 |
Hi Osama. I've added this in XML and it works with Form Locker: <property>form_pages_title</property> I tried also to add this in order to have the link to open English Form Page version: Italian Form Page: hidden link But if I try to open English: hidden link How may I fix it? Many thanks, Marco. |
May 11, 2022 at 12:26 pm #11199049 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi Marco, Could you please replicate the issue on the sandbox site so that I can check it? Also, please create a test page and put the form inside it to check if it will work correctly. Regards, |
May 12, 2022 at 1:25 pm #11209313 | |
marcoS-96 |
Hi Osama, Please, could you check that in XML file there are these properties? <property>form_pages_title</property> <property>form_locker_password_message</property> Thanks, in advance, Marco |