Skip Navigation

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

Problem:
The client needed help with editing language files, updating a home page login widget, and ensuring translated notification emails from WPForms are received correctly by end users.
Solution:
1. For editing language files, we confirmed that the method previously discussed is correct.
2. To update the home page login widget and ensure it reflects the latest translations, follow the general translation guidelines provided here: Creating Multilingual Forms using WPForms and WPML.
3. Regarding the WPForms notification emails, ensure all fields are translated as shown in the WPML documentation. If fields are left untranslated, they will not display in the target language.
4. We discussed the benefits of switching to the Advanced Translation Editor for easier management and future translations. More information can be found here: Switching from Classic to Advanced Translation Editor.
5. It is essential to complete all translations in the Advanced Translation Editor to ensure all content displays correctly.

Please note that this solution might be outdated or not applicable to your specific 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.

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.

Our next available supporter will start replying to tickets in about 6.98 hours from now. Thank you for your understanding.

This topic contains 32 replies, has 2 voices.

Last updated by Kor 1 month ago.

Assisted by: Kor.

Author Posts
October 7, 2024 at 5:38 pm #16263168

cristianoP-13

Hi Kor, sure, thank you!

October 8, 2024 at 6:26 pm #16267154

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

When I checked, it seemed to work fine. My profile's language is English, and I submitted a form in Dutch and received the email in Dutch, as shown in the attached screenshot.

Screenshot_17.png
October 8, 2024 at 6:47 pm #16267187

cristianoP-13

Hello Kor,
Yes, that is the strange thing.
I have the feeling this is happening because we are Admin (our account is administrator).
I said this because for regular Subscribers the behavior was different (the email was always in English) regardless of the selected language during order.

Then I set the flag to ‘use admin language’ for each test user (subscriber). After that they are correctly receiving the email in correct language.

So I assume we need to flag every user this way. What do you think? Can you try that as well to check if it is true also on your side?
Thank you!

October 9, 2024 at 2:00 pm #16270837
cristianoP-13

Hi Kor,
while I wait for your message regarding the above, I have the very last two problems with translation. Not sure if I need to open a new ticket or if I can take advantage of this one and keep receiving your help.

Here below the two issues:

1. One sentence in the form locker is not appearing anywhere (please see attached image entryLimitSetting). That default English setting is nowhere (not in string either and I re-scanned everything).

2. In the form preview (see form preview "image correct_field_entry_preview") I can see the corrected translated field-133 value. But when I receive the email (see image "wrong_field_email") that value is back to default English language despite the email is in the correct language. Maybe linked to the (bug?) previously discussed above about admin/subscriber/field?

Thank you,
Cristiano

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/some-strings-from-the-form-locker-cannot-be-translated/

correct_field_entry_preview.jpg
entryLimitSetting.jpg
wrong_field_email.jpg
October 9, 2024 at 8:37 pm #16272424

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Sorry for the delays. May I know how did you register your users? Did you manually create the account for them? Because when I visit your Website hidden link using the incognito mode, it is asking for username and password.

As for your new questions, I've split the ticket here https://wpml.org/forums/topic/some-strings-from-the-form-locker-cannot-be-translated/ so that we could follow up.

Regarding the "form preview", this could be related to this ticket. But let me understand the process of your user registration first.

October 10, 2024 at 6:09 am #16272951

cristianoP-13

Hi Kor,

We have created the main users manually (and later I assigned the use admin language flag "solving" the email issue). And we imported the other users using a plugin (hidden link ) and assigning a simple "Subscriber" role but being unable to add that flag. So I don't think things are related.

Regarding the incognito mode I think it is correct. We basically used that "home" page forcing users to login. We have a pre-arranged users basis and we only give access to them using username/password combination.

We are now a bit in a hurry because users are supposed to be reaching the website in a couple of days.

October 10, 2024 at 5:24 pm #16276540

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I created a subscriber account named "kor" and submitted a form in Dutch, then, I received an email in Dutch as shown in the attached screenshot. I don't think you should change the language, try to configure it as "default".

Screenshot_23.png
Screenshot_24.png
October 10, 2024 at 7:25 pm #16276786

cristianoP-13

Hi, I see.
So instead of setting the admin Wpml flag you suggest to change every user as Site default?
I have around 1850 users…can you help me arrange a MySQL query or code snippet to batch update all of them? Or is there a different and better approach?
Thank you.
Cristiano

October 11, 2024 at 7:22 am #16277765

cristianoP-13

Hi Kor,
unfortunately it seems it is not working. My user was set as Default language and the email arrived in English (order made in French).
Then I switched back flagging the Admin Language under WPML settings in user profile and I received again the email in correct translated language....

October 14, 2024 at 7:22 am #16284203

cristianoP-13

Hello Kor,
we are really in a hurry now to fix these last issues. It has been four days (including w-end) since my last messages. I guess you are busy with other stuff.
Can you eventually move this ticket to someone else?
We need to fix this by today.

1. We better do a query to set the Editing Language (Set admin language as editing language) flagged as it appears it is somehow solving the issue.

2. In the other ticket, the two additional issues.

Thanks,
Cristiano

October 14, 2024 at 8:12 am #16284340

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I apologize for the delay in getting back to you due to the weekend. I'm checking on this now and will come back to you shortly.

October 14, 2024 at 8:34 am #16284448

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I've tested it again and it works fine even when the language is set as "site default" as shown in the attached screenshot.

I chose Spanish and submitted a form. Then, I received a notification email with the selected language.

Could you test this on a new subscriber account using another browser?

I've also double-checked your WPForms translation here hidden link and all seems fine.

I'll look into your other tickets now.

Screenshot_32.png
Screenshot_33.png
October 14, 2024 at 8:40 am #16284504

cristianoP-13

Hello Kor,
please see attached. The issue of the translation is indeed present in your Spanish confirmation as well.
Today I also tried adding a new field but stangely enough it happened again. No matter what I do, that translation is not used (and is indeed present in the strings translations).

For the other issue, I am going to try a new regular subscriber on my side.

kor_confirm.jpg
October 14, 2024 at 8:42 am #16284522

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Let me check this now.

October 14, 2024 at 9:05 am #16284638

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Could you please retry now? It's showing translated for me and I've made some edits to a WPforms Multilingual plugin file.

Screenshot_34.png