This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to find strings related to the WPForms notifications for translation, resulting in untranslated email notifications despite the site and forms being translated with WPML.
Solution: 1. Ensure the installation of the WPForms Multilingual addon. This allows notifications to appear in the translation editor. 2. Translate all text and forms to 100% completeness. For detailed guidance, refer to Creating Multilingual Forms using WPForms and WPML. 3. If strings still do not appear, use the guide Finding Strings that Don't Appear on the String Translation Page to locate and translate them. 4. For automatic translations, enable "Translate Everything Automatically" or use the selective content translation feature via WPML -> Translation Management -> Dashboard. 5. If issues persist after following these steps, we recommend translating the form itself, not just the strings, and checking the setup.
If these solutions do not resolve the issue or seem outdated, please visit related known issues, verify the version of the permanent fix, and ensure you have installed the latest versions of themes and plugins. If further assistance is needed, do not hesitate to 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.
Background of the issue:
I have created two custom forms with WPForms that include e-mail notifications. My site is translated with WPML, and the WPForms are also translated. When a client chooses a different language, the WPForm is translated accordingly.
Symptoms:
I cannot find any strings related to the WPForms notifications translation, so the e-mail notifications are not being translated.
Questions:
How can I translate the e-mail notifications in WPForms when using WPML?
Please make sure you are using the required addon plugin WPForms Multilingual. When translating the form, the notification should appear or you can use search box within the translation editor. Translate all the text and form to 100%.
I have translated the notification trough Strings.
But know when I check the Translations from WPML>Translations>WPForms.
The strings that I translated were not added to WPML>Translations>WPForms.
Normal when I save the strings translations these translations should automatically be translated also in WPML>Translations>WPForms.
1) If you want to translate the forms automatically, you can either turn on "Translate Everything Automatically", in this case, as soon as there are changes in any content, these 'll be sent for auto-translation.
2) However, if you want to translate automatically BUT on demand, you can keep translate everything automatically turned off, while you can send selective content for auto-translation by going to WPML -> Translation Management -> Dashboard, select your content and send for automatic translation. See https://wpml.org/documentation/translating-your-contents/ for details.
3) In any case, you can always translate content manually, as you've did from String Translation.
We have reviewed the documentation and translated the strings for the WPForms form with ID 2771. We are attaching an image ("string translatin Wpforms 2771.jpg") to show that we have completed the translation.
However, we are encountering an issue: the translations we have made are not appearing in the WPML translation queue. We are attaching another image ("not_appearing in translation queue.ipg") so you can see that the "Imputernicire-Procura-Plane CashBack" form (which is WPForms 2771) is not listed in the translation queue.
Furthermore, when we navigate to Translation Management in WPML, the "Imputernicire-Procura-Plane CashBack (WPforms 2771)" form is showing as not translated. We are also attaching an image ("not translated.png") demonstrating this.
We believe this is an issue with the WPML plugin itself.
To help you investigate this problem further, we can provide you with temporary administrator access to our website, so you can directly check the settings and configuration.
1) Translating strings from String Translation, does not add to the Translation Queue. Unless you have selected a batch of strings and have sent it for translation. In this case, you'll not see the form in the queue but the strings batch (which does not mean that the form is being or has been translated).
2) In Translation Management, the form is not shown as translated, because, you have not translated the form itself. Please remember translating strings is different than translating the form. So if you haven't translated the form previously, please translate it, in addition to the strings.
So if after translating the form itself as mentioned above, isn't still working, I'll then need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.
Your next answer will be private, to share this information safely.
Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.
IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.
We've now translated our form into German and are testing it. We've encountered two issues:
Incorrect Phone Number Prefix:
When someone fills out the German version of the form, the mobile phone number field automatically displays the Romanian country code prefix, not the German one.
If the form is submitted with the Romanian prefix, even though it's the German form, the notification we receive is in Romanian.
If the user manually changes the prefix to the German one, then the notification is correctly received in German.
We need to understand how the phone number prefix is being determined. Is it:
Based on the user's IP address?
Based on our website's default language (Romanian)?
Or is there another configuration we are missing?
Notification Language Mismatch:
As stated above, if the Romanian prefix is used in the german form, the notification is in Romanian. This is not the expected behaviour.
We need to ensure that:
The correct German phone number prefix is automatically displayed on the German version of the form.
All notifications related to the German form are consistently in German.
Could you please clarify how the phone number prefix is determined and how we can resolve the notification language issue?
Well apparently I'm not sure why a phone number prefix 'll change, unless there's some kind of logic involved. There are also chances that your browser is pre-filling the data (i.e. auto-fill forms feature) or may be your browser language is interfering.
For that matter you should try in an incognito window or in another browser.
Other than that I still don't have debug information of your site as requested earlier, so can't guess what'd be causing it.
However, as per my understanding, you were able to translate forms and notifications.
This issue based on a phone prefix is a new and separate issue. As a confirmation, you can remove that phone field temporarily and see if notifications are sent in correct language.
In this case, I recommend opening a separate ticket/chat because as per forum policy we can only handle one issue per ticket/chat. So you can get more to the point help, without mixing up several issues in one long ticket.