Background of the issue:
I want WPML to auto translate all contents of our website hidden link, but WPML cannot translate the text contents. WPML can only translate the text content if I set up the content via ACF or Advanced Custom Field plugin. Most of the text content of our website can be found in our template pages in PHP.
Symptoms:
The website does not auto translate the contents like the header, footer, and main contents for each page.
Questions:
How can I configure WPML to auto translate text contents that are in PHP template pages?
Is there a way to make WPML translate text contents without using ACF or Advanced Custom Field plugin?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps to help speed up the support process.
Please provide specific code examples so we can ensure your PHP templates include correct getText() calls based on the WP i18n standard. All strings need to be prepared this way so WPML can register them in WPML String Translation. More information can be found here.