Skip to content Skip to sidebar

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 10 replies, has 0 voices.

Last updated by frankG-4 1 week, 1 day ago.

Assisted by: Otto.

Author Posts
October 6, 2025 at 12:52 pm #17460681

frankG-4

Background of the issue:
I was trying to ensure that the success message after submitting a form on my website appears in German. The issue can be seen on this page: hidden link

Symptoms:
The success message after sending a form is now in English instead of German, despite the translation settings appearing correct.

Questions:
Why is the success message appearing in English instead of German?
How can I fix the language of the success message to display in German?

October 6, 2025 at 4:50 pm #17461587

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I tried to replicate the problem in a fresh install, but I couldn't.

Please check here:
hidden link
and here
hidden link

The success message is translated properly.

Can you please try to reproduce the problem on the test site so I can take a look?

You can access the WordPress dashboard using the link below:
hidden link

Best Regards,
Otto

October 6, 2025 at 5:10 pm #17461610

frankG-4

Hi Otto, no I can not replicate this problem. It was running fine until one of the latest WPML updates. The Website runs since 4 Years now. So it is a problem, which only happens on systems, which are running a long time.
I know that I had to fill settings into the XML Config in former times to translate the Elementor Pro Forms. I did not do this in this system, because all Settings are shown and translated without this settings.
So what can we do? Are there some settings, which may be cleared to get the right message into the right language. Why is the Success Message string not in String Translation? I do neither find the English, nor the German one.
Best, Frank

October 6, 2025 at 6:07 pm #17461727

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello Frank,

No, there is no longer need to include and XML config. It worked out of the box on the test site.

Can you please try the following:
- Make a small edit on the original page with the form (add a space or a dot in the success message)
- This should trigger the needs update status for the translated page
- Update the translation
- Clear caches
- Check if the message is properly translated in the front end

Also, if it's possible for you, do this test:
**IMPORTANT:** Please try this in a staging environment or at least with a backup of your site files and database before continuing.
Disable all plugins except Elementor, Elementor PRO and WPML-related and temporarily change the theme to a default WordPress, such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

Best Regards,
Otto

October 7, 2025 at 11:01 am #17463330

frankG-4

Sorry Otto, still no solution. I changed the German string, translated into EN and changed the EN Translation. Still this changed EN string is Shown as Success message.
But I have some more information to you: The page is created in German and then translated into English. But in Settings we switched the Main Language to EN. For the URL Formate see the screenshot.
Fort Advanced translation Editor I see a lot of error message with Authentication. like his: {"url":"https:\/\/ate.wpml.org\/api\/wpml\/languages\/check_pairs","requestArgs":{"method":"POST","body":[{"source_language":"en","target_languages":["en","de"]}]},"extraMessage":"WPML konnte Sprachpaare nicht \u00fcberpr\u00fcfen","status":"auth_error"}
and this:
ATE Server Communication Unable to authenticate
{"url":"https:\/\/ate.wpml.org\/api\/wpml\/languages\/en","requestArgs":{"method":"GET"},"status":"auth_error"}
and this:
AMS Server Communication Api error missing resource: No sitekey found for this website
{"errorData":{"status":400,"title":"Api error missing resource","detail":"No sitekey found for this website"}}.
But I have the page registered properly. Under Plugins Commercial is says, that the website is registered. I remember, there was a second registration in my WPML Account with acrossandahead.com/en, which I deleted. May this cause the error?

Bildschirmfoto 2025-10-07 um 12.50.39.png
October 7, 2025 at 3:14 pm #17464339

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

It may be that the site is not fetching the updates in the translation.

Can you please try the following:
Go to WPML -> Support -> Troubleshooting and click on "Refresh license data to recognize license update"
Then "Cancel in-progress automatic jobs"
And finally send the page including the form to translate again (make another small change before).

Best Regards,
Otto

October 7, 2025 at 3:31 pm #17464457

frankG-4

Unfortunately no change. But there are no new entries in the log of Advance translation editor. The last is from 8 hours ago.
Are there other translated strings to delete in Troubleshooting Page, which may solve this problem?

October 7, 2025 at 5:17 pm #17465013

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue.
It would be better to a testing site where the issue is replicated.

The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I'll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site.
This will allow me to create a copy of your site and your content.
Once the problem is resolved I will delete the local site.

**IMPORTANT**
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields.

Best Regards,
Otto

October 8, 2025 at 1:49 pm #17467553

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I went to WPML > Languages > Language filtering for AJAX operations, enabled the checkbox and saved.

After this, the issue seems to be solved.

Can you please check it?

Best Regards,
Otto

October 8, 2025 at 2:07 pm #17467591

frankG-4

Hi Otto, Yes it works. But: now I need to install a Cookie Banner as WPML sets a cookie now.
Anyway, thanks for your help.

October 8, 2025 at 2:17 pm #17467649

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I understand, but as the message is loaded via Ajax, we need the cookie to set it in the right language.

We just published this article, that may help you to choose the right plugin for the cookie consent feature:
https://wpml.org/plugin-functionality/cookies

Best Regards,
Otto

October 8, 2025 at 2:35 pm #17467732

frankG-4

Thanks for your quick Help