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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 1 year, 10 months ago.

Assisted by: Shane.

Author Posts
June 22, 2022 at 2:11 pm #11520745

developerG

Hi,

We create a Test site for our Multilingual subfolder site & Translate one Page into French:

hidden link

But When we check Header & Footer Text, it will show in English. How will We change our .com/fr site Header & Footer Text into French?

June 22, 2022 at 4:05 pm #11521823

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for getting in touch.

It would appear that these texts are hardcoded into the theme. In order to make them translatable you will need to wrap them in a gettext() function and then rescan your theme for strings using our string translations plugin.

Here is our documentation below on how wrap your texts in the gettext function to allow for translation.
https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/

Thanks,
Shane

June 23, 2022 at 1:14 pm #11530209

developerG

Hi

Please explain in more detail.

Which file to change?

June 23, 2022 at 2:05 pm #11530829

Shane
Supporter

Languages: English (English )

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

Hello,

Based on the location of the text, i'm assuming that it would be located in the footer.php file.

If you're not sure how to access the footer.php file of your theme then you can allow me to have admin access to the site to see how best I can assist.

Thanks,
Shane

The topic ‘[Closed] Header & Footer Translation’ is closed to new replies.