Skip Navigation

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: 

This topic contains 43 replies, has 2 voices.

Last updated by marcoS-96 2 years, 6 months ago.

Assisted by: Osama Mersal.

Author Posts
May 16, 2022 at 10:42 am #11228627

marcoS-96

Yes Osana, it's true.
I tried to install BuddyPress on sandbox and there's no message about Url.

I try to check your suggestions, also with hosting provider and WPForms.

I'll let you know.

Thanks,

Marco

May 16, 2022 at 10:45 am #11228641

Osama Mersal
Supporter

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

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

Hi Marco,

Please let me know the host and WP Forms support findings and your tests' results.
If you need further assistance after that, please let me know.

Thanks,
Osama

May 16, 2022 at 11:28 am #11228835

marcoS-96

Hi Osama,
hosting provider asked:

WPML support suggest an NGINX rule that should be added?

Thanks, Marco

May 16, 2022 at 12:11 pm #11229333

marcoS-96

Hi Osama,
after hosting investigation they tell me:

We have examined the setup and there's nothing wrong with the server-side setup.

The 404 comes from WordPress itself therefore, it has something to do with your setup or the correlation between WP Forms and WPML.

Marco

May 16, 2022 at 12:50 pm #11229685

Osama Mersal
Supporter

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

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

Hi Marco,

Thanks for your update. Could you please create a fresh multisite from scratch on your server and install only WPML and WP Forms to check if the issue would persist?

It could be a multisite configuration issue or multisite conflict with the WP forms pages plugin.

Thanks,
Osama

May 18, 2022 at 1:21 pm #11247507

marcoS-96

Hi Osama, sorry for my delay.

I would like to update you about checks I have done in these hours.

I've had an answer from WPForms:

"I had a chat with the developers, and our devs suggested that we have already added compatibility for the Conversational Form and Form pages addon. Thus the bug is likely coming from the WPML end. In this case, I would suggest you check with the WPML team, and see if they're able to provide any solution."

So i tried to recreate a fresh site on STAGING updating WP from last download (except /wp-content folder) and setting only one page and one form with WPForms and WPML plugin.
In this case WPForm Form Page traslation from IT to EN works.

So I worked al LIVE site (multisite), also updating wordpress files, but I had the same problem!

Than, after hours 😢 I found where (i think, and hope so) there was the problem:

In WPML Settings --> Translation of content types -->
WPForms --> Translatable changing flag from:

shows only the translated items
to
use translation if available or leave default language

resolved the issue.

I tried also to revert on sandbox demo site, changing flag to "shows only the translated items", and if I open: hidden link

I don't receive 404 error, but I can't see Form Page, system show me page: hidden link

I hope this case could be useful.

Kind regards, Marco.

May 18, 2022 at 1:36 pm #11247707

Osama Mersal
Supporter

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

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

Hi Marco,

Thanks for your update. Could you please confirm that the translated forms work correctly now?

The strange thing is that in the sandbox and your single site staging, the same configurations work correctly, while in the multisite, you need to change the translation preferences for WP Forms.

Please let me know if you need further assistance regarding this issue.

Thanks for your cooperation and for sharing your debugging steps

Best regards,
Osama

May 18, 2022 at 1:41 pm #11247771

marcoS-96

Yes Obama, now works on LIVE, not in sandbox (you can see)... I've just updated previous message.

It would be great to know why about this behaviour.

Thanks, Marco

May 18, 2022 at 1:47 pm #11247789

Osama Mersal
Supporter

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

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

Hi Marco,

Thanks for your feedback and confirmation.🙂 If you face any other issues, please don't hesitate to contact us. We are always happy to help you.

Have a good day!

Best regards,
Osama

May 18, 2022 at 2:11 pm #11248017

marcoS-96

Hi Osama,
as you can see also in your demo sandbox if you go to WPML Settings --> Translation of content types -->WPForms --> and flag "shows only the translated items"

WPForm Form Page traslation doesn't works.

The issue is not about multisite, WordPress version, staging or live.

Now I know what I have to check in order to return no errors from Form Page translation, but, is it a bug that could be useful to investigate?

Thanks, Marco.

May 18, 2022 at 2:23 pm #11248073

Osama Mersal
Supporter

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

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

Hi Marco,

I've consulted our compatibility team regarding the issue and let them know your findings to debug further if needed.

Also, I've sent them this video to elaborate on the issue. (hidden link)

Kindly let me know if the video missed any steps.

Thanks,
Osama

May 18, 2022 at 2:53 pm #11248509

marcoS-96

Hi Osama, the video is ok.
Thanks, Marco

May 20, 2022 at 11:34 am #11265329

Osama Mersal
Supporter

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

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

Hi Marco,

Thanks for your patience. The issue has been escalated to our compatibility team, and they will contact the plugin author to fix it with them.

In the meantime, you can use the workaround you found in order to work with the translated form page.

Best regards,
Osama