Skip Navigation

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 3 replies, has 2 voices.

Last updated by tarikB 2 months, 2 weeks ago.

Author Posts
April 18, 2025 at 12:24 pm #16947231

tarikB

Background of the issue:
I wanted to translate some strings using WPML. I translated a lot of them and then tried to view the page in German. The Serbian and English languages work fine. The issue can be seen at: hidden link

Symptoms:
After translating strings, the German language page shows an error.

Questions:
Why does the German language page show an error after translating strings?
How can I fix the error on the German language page?

April 21, 2025 at 1:44 pm #16951944

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support. I will answer before the ticket is assigned to one of my colleagues.

Would you please go to WPML > String Translation and search for the string that you translated that contains the combination of characters: %s

That is a PHP string constant that needs to be copied exactly like that to the translation. Most probabl,y one of the strings does not have that %s character and causes the issue.

Also please check if the same thing happens on a minimal installation:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

Thanks.

April 21, 2025 at 5:46 pm #16952548

tarikB

Thank you, you helped me with the issue.

I just had to search for it in Admin Texts Translation and delete it there.

April 21, 2025 at 9:10 pm #16952752

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

It looks like the original issue you were experiencing has now been resolved.

If that's the case, please go ahead and mark the ticket as resolved. Of course, we're here if you need any further assistance—just let us know!

April 22, 2025 at 8:42 am #16953715

tarikB

All done, thanks!