Saltar navegación

[Resuelto] How to change the default language of the header and footer

This support ticket is created hace 6 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Etiquetado: 

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por konstantinosD hace 6 años, 6 meses.

Asistido por: Nigel.

Autor
Mensajes
#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

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00: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

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00: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