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: How to translate
Related documentation:
This topic contains 5 replies, has 2 voices.
Last updated by Mihai Apetrei 4 months, 2 weeks ago.
Assigned support staff: Mihai Apetrei.
Author | Posts |
---|---|
October 9, 2020 at 3:18 pm #7200067 | |
antoninR-2 |
Hi, How can I keep the same layout (template, font-style, size...) when I switch from FR to EN without having to modify the EN page directly? Thanks, |
October 12, 2020 at 4:47 pm #7213915 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. I can definitely see the issue. Now, regarding your request, sometimes, with content builders, there can appear issues like this for multiple reasons (sometimes some of the modules from the visual builder that are used are not compatible with WPML yet, some updated that have been recently launched with that page builder are not still 100% compatible with WPML, etc.). In that situation, here are the steps that should make things work as expected: 1. Create a full backup of the site Related documentation: Situations like this are a bit tricky as depending on multiple things that are/or are not compatible, you can end up in situations like this where the best solution is to Duplicate a translation and manually translate the text afterward. Sometimes, there are also custom fields that come with a theme or with the content builder that was used to build up the pages and due to the fact that the custom fields are not set to "copy", the correct layout is not carried over to the secondary language. Here is a bit of documentation for that procedure, too: I hope that the information above will help you accomplish what you want. Kind regards, |
October 14, 2020 at 12:30 pm #7227653 | |
antoninR-2 |
Hi, I did it and that works but however that means I lost all my traductions. How I can export first the traduction, do the modification and then import? |
October 14, 2020 at 3:14 pm #7228879 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. I'm very happy to hear that this works. Regarding the translation, when you are using that method, you are overwriting all the existing translated content, that's why I recommended you to create a full website backup first, in case you still need to restore to an older version. My recommendation is to either to move the translated content into a document first or to create a duplicate of the current page with a plugin like this (https://wordpress.org/plugins/duplicate-post/) and then copy the content from that duplication into the original translation. Please let me know how that goes. Kind regards, |
October 14, 2020 at 4:00 pm #7229231 | |
antoninR-2 |
Well I cannot do it just by duplicating the page as I have more 100 products... Is there anyway to export the translation (maybe directly through the FTP) and then import then after doing the modifications? |
October 15, 2020 at 10:58 pm #7240373 | |
Mihai Apetrei Supporter
Languages: English (English ) Timezone: Europe/Bucharest (GMT+02:00) |
Hi there. There is definitely possible to export the product translations and the following tutorials will explain to you in detail how to perform this procedure: Kind regards, |