Skip Navigation

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

Problem:
You are trying to translate your website theme strings into Chinese using WPML, but after updating WordPress to version 8, the translations are not appearing.
Solution:
First, check if this issue started after updating to WordPress 6.7. If so, we recommend reading the errata on missing translations on the front end: https://wpml.org/errata/missing-translations-on-front-end/.
Additionally, we have released another errata that includes a manual fix for WPML > String Translation. This fix should be applied manually until the upcoming update for WPML String Translation resolves this issue. You can find the errata here: https://wpml.org/errata/wordpress-6-7-mo-files-not-loaded-and-leading-to-missing-translations-on-front-end/.

If the solution provided does not resolve your issue or seems irrelevant due to being outdated or not applicable to your 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 further assistance is needed, 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 4 replies, has 3 voices.

Last updated by Andreas W. 3 weeks, 4 days ago.

Assisted by: Andreas W..

Author Posts
November 15, 2024 at 11:54 pm #16410043

ningz-5

Background of the issue:
I am trying to translate my website theme strings into Chinese using WPML. The issue started after WordPress was updated to version 8. My website is hidden link.

Symptoms:
Theme string translations are not showing.

Questions:
Why are my theme string translations not appearing after the WordPress update?
How can I resolve the issue of missing theme string translations?

November 17, 2024 at 8:04 am #16411429

Christopher Amirian
Supporter

Languages: English (English )

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

Hi,

Would you please do as follows?

- 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.
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Click the "Check for Updates" button.
- Update WPML and its addons there.

For more information:
https://wpml.org/faq/install-wpml/#automated-updates

After that, if the string is not showing as translated yet, so as follows:

- Go to WordPress Dashboard > WPML > String Translation.
- Scroll down and check the "Look for strings while pages are rendered" checkbox.
- Reload the front end of the website and see if the string are now showing as translated.
- If so please do as follows:

- 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.
- Go to "WordPress Dashboard > WPML > Support > Troubleshooting (link)".
- Click the "Show custom MO Files Pre-generation dialog box" button.
- After that, a pop up will show. Click the blue button and wait for the process to finish.

See if it fixes the issue for you.

Thanks.

November 18, 2024 at 2:50 am #16412443

ningz-5

Thanks for your reply! I have followed your instructions, but it still doesn't work.
However:
check the "Look for strings while pages are rendered" checkbox.
- Reload the front end of the website and see if the string is now showing as translated
This works, but it doesn't work after I TURN OFF it.

I found that only one language (Chinese Simplified) string (BY theme domain) can't be translated, which is what I import po. file (edit by POEDIT). I tried adding a new different language under the same string, and it can be translated.

I have closed the website and tried many ways to solve it, but it still doesn't work.
Please help me solve this problem, thank you very much!

3.jpg
2.jpg
1.jpg
3-1.png
2-2.png
1-1.png
November 18, 2024 at 8:50 pm #16416522

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

Did this issue occur after updating to WordPress 6.7?

If so, please read this:
https://wpml.org/errata/missing-translations-on-front-end/

If not, let me know and we will investigate further.

Best regards
Andreas

November 30, 2024 at 12:05 am #16461315

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Please take kindly note, that we release another errata for this issue.

The errata includes a fix for WPML > String Translation that needs to be applied manually until the upcoming update for WPML String Translation will solve this issue:
https://wpml.org/errata/wordpress-6-7-mo-files-not-loaded-and-leading-to-missing-translations-on-front-end/

Please let us know if further assistance is needed.