Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing issues with styles not being maintained in translated pages using WPML. Specifically, text was not centered and did not appear in lowercase as expected after translation.
Solution:
We identified that the translations were not in sync with the original template. To resolve this, we made a minor modification to the original Elementor template and re-sent it for translation. This action ensured that the translations were updated and in sync. Additionally, we noted that styling changes alone do not trigger an update for the translation. To update the style without altering the text, we recommended adding a blank space to any text, which triggers the translation update. The client confirmed that the issue was resolved after these steps.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket.

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.

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 1 week, 3 days ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
January 21, 2025 at 11:39 am

joand-9

Background of the issue:
I am trying to translate a page on my site using WPML. The page in question is hidden link. I noticed that some custom post fields don't maintain the correct styles after translation.

Symptoms:
The translated page hidden link does not center the text and does not use lowercase letters as expected.

Questions:

January 21, 2025 at 12:18 pm
January 21, 2025 at 12:19 pm #16618378

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Please write down the other issues you're having, with concrete examples.

You mentioned the courses layout styling issue, as well as the development banner, correct?

January 24, 2025 at 8:38 am #16630620
joand-9

Hi Lucas,

Thank you for your support.

Exactly, the course layout is also built with custom post fields. when we send to translate these pages, the name of the fields are translated but the values of the fields remain with the original language.

For instance, this is a coaching course which original language is catalan:

hidden link

the translated page in spanish looks like this:

hidden link

As you can see, the fields like 'Fecha de inicio', 'Fecha fin', 'Modalidad', 'Horario', etc. are translated properly. However, their values remain in catalan.

Moreover, in te spanis version of the courses the menu languages is not shown.

Finally, in the footer of all pages is shown the banner with this text 'This site is registered on wpml.org as a development site..' I think it is because I have to profiles with this domain but I don't know which one I have to remove and how to do it.

Thank you,

Joan

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-acf-field-values-show-untranslated/

https://wpml.org/forums/topic/split-remove-development-notice/

January 24, 2025 at 2:12 pm #16631687

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey Joan,

Thank you for sharing the details. Since these issues are not entirely related to the first one you brought, I've created individual tickets to address them. I'll answer you there:

https://wpml.org/forums/topic/split-acf-field-values-show-untranslated/

https://wpml.org/forums/topic/split-remove-development-notice/

Regards,