Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the admin notification emails from Ninja Forms are not being translated into French when the form is submitted from a French page. The client email notifications are correctly translated, but the admin notifications remain in English.

Solution:
We recommend translating the Ninja Forms using WPML's Translation Management instead of String Translation. This approach is detailed in our guide on creating multilingual forms with Ninja Forms and WPML, which can be found here: https://wpml.org/documentation/related-projects/creating-multilingual-forms-using-ninja-forms-and-wpml/. After translating the forms, ensure that all strings related to the emails are also translated. If the issue persists, it might be due to a compatibility issue, and we have escalated this to our second-tier support for further investigation.

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 problem continues, 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 25 replies, has 1 voice.

Last updated by Carlos Rojas 1 month, 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
June 17, 2025 at 4:04 pm #17143339

Yves Vandeuren

I just did a test on the sandbox site.

I used the default "Contact Me" form which was already created.
I translated it in FR using the Translation Management.

I added the form on a test page (pasting the shortcode) :
hidden link
Created a duplicate version in FR :
hidden link

I submitted the form on both the EN and FR version of the page.
Here are the results :
- The form is correctly translated (fields / button)
- Success message is displayed in FR in both cases after submission
- Both email actions that are set up on the form, are sent translated in FR

I didn't receive the emails but we can check in the logs :
hidden link

So yeah there are issues even on this sandbox environment.
Success message and email actions are always translated in FR, even when submitting on the EN page.

FYI I installed Classic Editor to make the page, as I'm always using it instead of Gutenberg.
I also did a test by disabling it, just to be sure... same result.

June 18, 2025 at 8:42 am #17145134

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you very much for reproducing the issue on the sandbox site.

After trying a few times, I was able to reproduce the issue, but it doesn't happen all the time. For this reason, I have escalated this ticket to our 2nd tier of support, where our specialists will take a deeper look into this issue.

I will get back to you as soon as I have more information.

June 20, 2025 at 8:54 am #17153434

Yves Vandeuren

Hello Carlos,

Any news about our issue ?

Thanks.

June 20, 2025 at 9:56 am #17153670

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

No news yet. I was able to reproduce the issue intermittently on the sandbox site, and our 2nd-tier specialists are trying to reproduce it so they can investigate the cause of the behavior.

June 24, 2025 at 7:26 am #17163223

Yves Vandeuren

Hello Carlos,

Still no news ?

Sorry to insist but we'll surely need to push this staging to live very soon and we need to know wether we should wait for a fix for this issue, or if we should instead duplicate the forms for each language and use them without any translation system.
The latter is obviously not the most practical solution, but at least it will work.

Thanks in advance.

June 24, 2025 at 7:46 am #17163307

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I will consult with my second-tier colleagues and get back to you as soon as I receive an answer.

Thank you very much for your patience and understanding!

June 26, 2025 at 1:32 pm #17173864

Yves Vandeuren

Hi Carlos,

Any news from 2nd tier ?

Thanks.

June 27, 2025 at 7:21 am #17175951

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,
Yes, we have been trying to reproduce the issue in the sandbox site, but we haven't been able to.

Our 2nd-tier specialists added a tag in the forms to get the URL, so we don't depend on human input to check if the emails were sent in the correct language.

Please fill the form in both languages as many times as needed (hidden link and hidden link) and check if the issue appears again.

July 3, 2025 at 8:44 am #17195873

Yves Vandeuren

Hello Carlos,

I've been able to reproduce the issue, again.

For an easier check, I added the referer tag directly in the subject of the email.

I've done 6 tests in total :
- 1 form submission on EN page while being logged as admin
- 1 form submission on FR page while being logged as admin
- 1 form submission on EN page in private browsing, not logged in
- 1 form submission on FR page in private browsing, not logged in
- 1 form submission on EN page in private browsing, not logged in, and made sure not a single Chrome extension was active
- 1 form submission on FR page in private browsing, not logged in, and made sure not a single Chrome extension was active

As you can see in the logs, all emails of all 6 tests have been sent in EN only, even when it was on the FR page :
hidden link

Note that, as I added the referer in the subject, I made sure to go update the translation of the form in the Translation Management screen.
I basically changed nothing as it was already 100% completed (I just clicked the complete button to save and leave), but who knows if that can help you identify the issue.

I quickly went through the tests done by your colleague Nico, and they look fine... so I don't know what's different between his tests and mine, and why I always have the issue and he seems to never do.

Also, I don't get why you say this :
"we have been trying to reproduce the issue in the sandbox site, but we haven't been able to"...

While you said on June 18th, this :
"After trying a few times, I was able to reproduce the issue"
and on your next message on June 20th :
"I was able to reproduce the issue intermittently on the sandbox site"

Anyway, please come back quickly to me with a solution or an explanation on why it's bugging out.
It's been almost a month since I opened this ticket and we really can't continue dragging it out that long.

Thanks in advance.

July 3, 2025 at 10:38 am #17196771

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you very much for sharing your findings.

I have updated our compatibility specialists with your latest message, so they can continue investigating this problem.

I will keep you updated 🙂

July 7, 2025 at 11:49 am #17208240

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Our compatibility specialists double-checked the sandbox site again and found that the strings weren't translated, and after translating them, the issue disappeared. You can see the translated strings in this link: hidden link