Skip Navigation

[Résolu] How to change the default language of the header and footer

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Marqué : 

This topic contains 4 réponses, has 2 voix.

Last updated by konstantinosD Il y a 3 années et 4 mois.

Assigned support staff: Nigel.

Auteur
Publications
#913386

Hi I need,
to change the default language of the "header and footer" layout (wp-types)
from english to Italian (using wpml)

Thanks

#913404

Nigel
Supporter

Languages: Anglais (English ) Espagnol (Español )

Timezone: Europe/London (GMT+01:00)

Hi Konstantinos

I'm not sure what you mean by the default language of the header and footer.

The language is set for the entire page, not separately for parts of a page.

Can you clarify what you need? You are talking about displaying pages on the front-end, yes? Not about editing the Layout in the back-end?

#913407
Schermata 2018-06-14 alle 13.07.46.png
Schermata 2018-06-14 alle 13.07.54.png

This layout contains the texts in Italian but the layout is in English. Can I change the language of defaut in English or do I need to replace the contents in English and translate?

Thanks

#913430

Nigel
Supporter

Languages: Anglais (English ) Espagnol (Español )

Timezone: Europe/London (GMT+01:00)

Screen Shot 2018-06-14 at 13.05.39.png

The important thing is that the language of content needs to be correctly set.

If you create the Layout in English then WPML will understand it to be English and use it on English posts/pages. You can translate it to Italian (as shown in your screenshot) if needed.

But, say, your Layout is English, but you added some Visual Editor cells to the Layout and you have entered text in those, and the text is in Italian.

That's okay, as long as you tell WPML that the text is Italian (it will assume it is English).

Go to WPML > String Translation and find the text you added. In my screenshot I had just added some text in English, but if I had added it in a different language I could select those texts and then use the "Change the language of the selected strings" button to tell WPML that they were not English.

Is that clear?

#916450

Thaks