Skip to content Skip to sidebar

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

Problem:
The client was unable to transfer styles to translated pages, posts, and events using WPML, resulting in different styles appearing on the translated versions compared to the original.
Solution:
We advised the client to ensure that styles saved in custom fields are correctly copied to secondary languages. This involves adjusting the WPML settings for custom fields translation. Here are the steps we recommended:
1. Follow the guide on translating custom fields (https://wpml.org/documentation/getting-started-guide/translating-custom-fields/).
2. Navigate to WPML -> Settings -> Custom fields translation.
3. Check the 'Show "Multilingual Content Setup" meta box on post edit screen' option and save the changes.
4. When editing a post/page in the original language, adjust the configuration for the custom fields at the bottom of the page.
5. Set selectable or checkable custom fields to 'Copy' and text input fields to 'Translate'.
6. Update the translated page to reflect these changes.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues (https://wpml.org/known-issues/), verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket for further assistance at WPML support forum.

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.

This topic contains 39 replies, has 0 voices.

Last updated by Carlos Rojas 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
May 23, 2025 at 12:09 pm #17066147

sreckoA

Background of the issue:
I am trying to transfer styles to translated pages, posts, and events using WPML.

Symptoms:
Instead of seeing the styles from the original pages and posts when I translate them, I got a different style.

Questions:
How can I ensure that styles are transferred to translated pages, posts, and events?

May 26, 2025 at 9:48 am #17072241

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

If the styles are saved in custom fields, then I recommend following this guide: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/, that will help you copy the styles to the secondary languages.

Regards,
Carlos

May 26, 2025 at 10:33 am #17072628

sreckoA

Carlos hi,
Can I please ask you to enter site and record where. I did try, this issue always appears but its always diffetrent from template to template, and Im affraid not to mess something up.
If you would be so kind to record the process then Ill be able to understand and not bother support over this issue any more.
Thank you in advance,
Srecko

May 26, 2025 at 10:42 am #17072655

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi Srecko,

Yes, sure! I'm more than happy to create a video for you.

1.- To create the video, I need you to share the access credentials to the site in your next message, which I have set private. And confirm you have a full site backup that you can restore if necessary.

2.- Also, please share a link to a video or some screenshot showing the URL where the problem can be seen, and how to edit these styles -in the default language- that are not being copied.

Looking forward to your message.

May 27, 2025 at 8:09 am #17076164

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi Srecko,
Thank you for sharing the credentials requested.

However, when I tried to access the site I get this error:

We could not verify you are human. Looks like you are a Bot
HUMAN VERIFICATION FAILED!

May 27, 2025 at 10:40 am #17077337

sreckoA

Hi Carlos,
Im sorry I dont follow, was password wrong, or was this recaptcha?
Can you use VPN if website blocked your IP?
I dont know what to do, please advise.
Srecko

May 27, 2025 at 11:10 am #17077662

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi Srecko,

After using a VPN, I can see the login page, but after inserting the credentials, I get redirected to this verification page: hidden link, which then redirects me back to the login page.

Please contact your hosting providers and ask them to deactivate the reCAPTCHA so I can access the site.

May 27, 2025 at 4:31 pm #17079866

sreckoA

Hi Carlos,
They answered that you simple must solve the recaptcha question, otherwise if you are still banned to send them your IP address so they can investigate.
Theyve sent a link for whats my IP hidden link
Thanks,
Srecko

May 28, 2025 at 8:17 am #17081873

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi Srecko,

Here is my IP: 87.223.242.61

May 28, 2025 at 9:45 am #17082504

sreckoA

Ok got the aswer. Dont kill the messanger, but they advise to delete site data and cached history. Can you try that?
Thank you and I apologize for all the fuss.
Srecko

May 28, 2025 at 10:23 am #17082831

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi Srecko,
It worked correctly this time and I was able to access the site 🙂

The cause of this behavior was that many of the custom fields were not being copied to the secondary language. I adjusted the configuration by following the steps described in this guide: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/ and now the Contact page in English looks like the original one.

May 28, 2025 at 11:07 am #17082996

sreckoA

Carlos hi,
Thank you for fixing contact page, but is there a way to fix all pages, posts, events?
Thank you in advance,
Srecko

May 28, 2025 at 11:23 am #17083078

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi Srecko,

Yes, it is possible to adjust the configuration for all these custom fields.
First: read the guide I shared (https://wpml.org/documentation/getting-started-guide/translating-custom-fields/) to understand how to correctly translate the custom fields.
Second: Go to WPML -> Settings-> Custom fields translation -> Check the 'Show "Multilingual Content Setup" meta box on post edit screen.' option at the top of the section and Save the changes.
Third: once you activate the option in the previous step, once you edit a post/page in the original language you will see a new block at the bottom where you can adjust the configuration for the custom fields in that content.

May 28, 2025 at 12:23 pm #17083374

sreckoA

Uh, ok, so I put copy on all custom fields? Also can I make global changes and set for everything. Im really not managing to understand =( Is it possible to create replicas only in another language and how?
I did what you advised but still I dont see where to set pages, posts, events...
For example i went to glavna (main page) and set everything to Copy but nothing changes?
Its still not transfering style setup?
Thank you in advance,
Srecko

May 28, 2025 at 12:27 pm #17083381

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

All custom fields that are options to select or check can be set to 'Copy'. All custom fields were you have to input text, set them to 'Translate' 😉