Home›Support›English Support›[Waiting for user confirmation] My first language by default on my website is Albanian, so I need to translate the language from Alb...
[Waiting for user confirmation] My first language by default on my website is Albanian, so I need to translate the language from Alb...
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.
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?
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.
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/.
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.
New threads created by Andrey and linked to this one are listed below:
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.