Home›Support›English Support›[Resolved] In the page submit I want that when user click switch button to translate the Packages according the...
[Resolved] In the page submit I want that when user click switch button to translate the Packages according the...
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is setting up a multilingual website using WPML with Albanian as the default language. They encountered issues where not all pages were in Albanian, and when switching to English, the page layout broke and the text remained in Albanian. The client also faced problems with the Elementor widget displaying incorrectly. Solution: We resolved the layout and translation issues by making several adjustments. First, we refreshed the page by changing the title in the Albanian version, which allowed the advanced translation editor to copy all the layout settings over to the English version. We also adjusted some custom fields (likely from your theme or a plugin) by updating values to ensure consistency. Moving forward, any small changes made in the original language will automatically update the translated pages, keeping everything aligned. For further guidance on translating custom fields, we recommend checking the documentation here: Translating Custom Fields.
If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also highly recommend checking related known issues at 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. For further assistance, you can contact us through the 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.
Symptoms:
Not all pages are in the default language (Albanian). When a user selects English, the page layout breaks, and the text remains in Albanian. I tried to fix the layout by navigating to the dashboard, going to Custom Fields, and selecting Copy Once, but the issue persists. The Elementor widget displays incorrectly.
Questions:
How can I ensure all pages are in the default language (Albanian)?
Why does the page layout break and text remain in Albanian when English is selected?
How can I correctly register the Elementor widget for translation?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Please set all the fields beginning with "apus_" to "Copy" and then apply the translation again.
This should make sure that the same theme settings are used on all pages.
---
Regarding Elementor Custom Widgets:
Could you please let us know which are the Elementor Widgets that are not getting translated and which component of your site is responsible for those widgets? Are those custom widgets that come with the Apus Theme?
WPML by default supports all widgets that are shipped with Elementor and Elementor Pro.
Every Custom Elementor Widget must have an XML configuration so that it can be translated using the WPML Translation Editor.
It is the theme author's job to create such a configuration in a wpml-config.xml file in the root directory of the theme or plugin.
If the author does not provide such a config, you can alternatively create one yourself. This config can be stored under WPML > Settings > Custom XML Configuration.
We can further offer a WPML test site on which we can recreate the issue and I assist you with a basic configuration for a couple of widgets, but if there are many affected widgets it would be better to reach the author of those widgets.
Hello Andreas,
about first issues in the test: hidden link
that when user switch language in English and break layout.
I tried to choose copy instead of the translated as in the screenshot:
Tried again to translate but issue with layout is still continue.
I suppose that it don't save checkbox copy that i sleeted.
Welcome to WPML support. First thing to consider is that you use the CTE (Classic Translation Editor) which with the current WPML version has an issue:
So please go to WPML > Settings and select the option to always use the Advanced Translation Editor for the time being.
Then do the steps below:
- Go to your Dashboard > Pages.
- Open the edit screen of the original page. You should see a pencil/circle/gear icon in the sidebar options under the "Languages" section.
- Make a small change, for example, add an extra blank space at the end of a sentence/paragraph.
- Save it.
- You should now see that a circular arrow appears beside the 2nd languages links, this means that an update is required.
- Edit the translation again and save it up to 100% translated.
See if it fixes the issue this time.
If the issue persists, then this should be a compatibility issue with the products that the Apus Theme provide.
To be able to report the compatibility issues we need to replicate the issue on a clean installation.
I created a clean installation of WordPress, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below: hidden link
Kindly follow the steps below:
- Install your theme.
- Install the necessary plugins.
- Try to replicate the issue.
As my colleague mentioned, compatibility issues can not have a guarantee for a fix as it usually needs the cooperation of the theme/plugin developers to have a solution.
Thank you for the screenshot I wanted to check the page but it seems that the website is not accessible.
Is there any sort of security measures on the website? I can not access the website.
To check the details of the layout issue I will need to have login.
I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Also deactivate any blocking so we can check the website.
Finally, this is the summary of the video in written format for your reference:
I resolved the layout and translation issues by making a few key adjustments. First, I refreshed the page by changing the title in the Albanian version, which allowed the advanced translation editor to copy all the layout settings over to the English version. I also adjusted some custom fields (likely from your theme or a plugin) by updating values to ensure consistency. Moving forward, any small changes made in the original language will automatically update the translated pages, keeping everything aligned.
Sorry for my late reply I will be on vacation for the upcoming week. I'd appreciate it if you could op[en up a new ticket for the two issues you mentioned.
The left menu issue should be fixed if you sync the menus: