[Resolved] translated notification email of Wpforms did not work
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.
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.
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!
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:
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.
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.
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".
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
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....
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.
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.