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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Sanjay Devarajan 3 weeks, 2 days ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
December 3, 2024 at 12:35 pm #16471718

Sanjay Devarajan

Background of the issue:
I am trying to translate template strings on a WordPress site with two languages: English (default) and French. The strings are added properly in the backend. For example, we use the following code to display a string: . The issue can be seen on the Product details page in the product information section on the right side. Link to a page where the issue can be seen: hidden link

Symptoms:
Only some of the strings are not translating on the frontend. When I upgrade to the WPML Multilingual CMS version from 4.6.11 to 4.6.14, the site got broken. It gives the following error: PHP Fatal error: require(): Failed opening required '/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../yoast/whip/src/Facades/wordpress.php' (include_path='.:/usr/share/php') in /wp-content/plugins/sitepress-multilingual-cms/vendor/composer/autoload_real.php on line 78. I expected to see the translated string in French, but instead, I got the original string in English.

Questions:
Why are some strings not translating on the frontend?
How can I fix the PHP Fatal error after upgrading WPML?

The topic ‘[Closed] Only some of the strings not translating on frontend’ is closed to new replies.