This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with pages in .php format not being translated on their website.
Solution:
If you're encountering issues with translating texts within PHP code, we recommend wrapping the strings in a gettext call. Afterward, scan the theme from WPML -> Theme and plugin localization and translate the strings using String Translation. We have provided documentation to guide you through the process of adding the gettext call to register the content in string translation:
If this solution does not apply to your situation, or if it seems outdated, please check our related known issues and verify the version of the permanent fix. Also, confirm that you have installed the latest versions of themes and plugins. Should you need further assistance, don't hesitate to open a new support ticket. We highly recommend visiting the WPML support forum for additional guidance.
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.
This topic is split from https://wpml.org/forums/topic/critical-error-when-sending-to-translation/
This topic contains 3 replies, has 2 voices.
Last updated by 8 months, 1 week ago.
Assisted by: Lauren.