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

Supporter timezone: Europe/Kyiv (GMT+02:00)

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by Andrey 1 day, 20 hours ago.

Assisted by: Andrey.

Author Posts
February 25, 2025 at 9:14 pm #16748121

freelancerI

Background of the issue:
My first language by default on my website is Albanian, so I need to translate the language from Albanian to English in the dashboard backend. I click the button, plus Add Translation to English. After finishing all translations, I tested in the front of my view.

Symptoms:
After translating the language, it destroyed the layout of the page.

Questions:
How can I prevent the layout from being destroyed after translation?
Is there a specific setting in WPML that I need to adjust to maintain the layout?

February 25, 2025 at 9:17 pm #16748169

freelancerI

The problem I still not fixed yet

After_Translate_Screenshot_7.png
Before_translate_Screenshot_7.png
Screenshot_6.png
February 26, 2025 at 10:53 am #16750496

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

Your theme may have custom fields for the page where the layout settings are stored. To ensure that the translated page has the same layout as the original, you will need to copy these custom fields over to the translations.

Please follow the steps below:

1. Navigate to WPML → Settings → Custom Fields Translation, and activate the option labeled "Show 'Multilingual Content Setup' meta box on post edit screen."

2. Go to the page with the broken layout and edit the original page.

3. Scroll to the bottom of the page and click on "Show system fields".

4. Identify the custom fields associated with your theme that could contain the layout settings and set them to "Copy".

5. Make a slight modification to the original page and save your changes.

6. Go to the WPML translation editor and complete the translation.

Translating Custom Fields:
https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

If the issue persists, I have enabled debug information for this support ticket. Please refer to this link for instructions on how to retrieve this information from your site and provide it to us: http://wpml.org/faq/provide-debug-information-faster-support/.

Settings-‹-wpmlsite-—-WordPress(2).png
Edit-Page-“Auto-Link-Translation”-‹-wpmlsite-—-WordPress.png
February 26, 2025 at 3:03 pm #16751763
freelancerI

Thanks for your answer.

I Followed steps that you listed above and layout of the page when user switch languages is fixed but I have another two issues:

First Issue:
1. In the contact page: hidden link when user click switch language in English.
2. Try to click on the logo in the header left it will display a url wrong:

Secondly Issue:
1. In the homepage I added page call TestHome just for test : hidden link attached screenshot:
2. When user click switch language in English way don't translate all the text?: for instance Edit Apus Listings Search Form is not translate.

TestHome-LA-EN-Screenshot_3.png
TestHomeLa-AL-Screenshot_3.png
Take url_wrong_Screenshot_3.png
February 26, 2025 at 4:34 pm #16752290

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

I am glad to hear that it works now.

As the original issue is resolved, I opened a new ticket for each of your new questions to ensure each question gets the attention it deserves. This will also help other users with similar problems find solutions when searching the forum.

1. https://wpml.org/forums/topic/split-in-the-contact-page-when-user-click-switch-language-in-english/

2. https://wpml.org/forums/topic/split-in-the-homepage-i-added-page-call-testhome/

I will provide a reply to those tickets.