- This topic has 7 replies, 2 voices, and was last updated 4 years ago by Tom.
November 7, 2017 at 1:42 am #417624Norman
Hi Tom and Leo,
I installed WPML, but it removes the styling from the translated pages. The original page is still okay. I’m not sure whether it’s a GP or WPML problem.
The language switcher is below the footer.
Thanks!GP Premium 1.4.3November 7, 2017 at 8:46 am #417887TomLead DeveloperLead Developer
Interesting, this is definitely something we’ll want to correct. Have you reported it to the WPML developers? They have a GP Premium version for testing purposes.
It seems like the page isn’t getting the meta value which turns Sections on.November 7, 2017 at 9:05 am #417907Norman
This is the response I got from WPML:
Hello and thank you for contacting us.
As far as I see, the two pages – original and translation – use different page templates.
You should go to the translation and check if the same template is selected for the translated page as it is in the original language page.
Of course, the issue could be also related to your theme – it depends on how the template is being determined.
Let me know how it goes.
I don’t really get what they mean with template. I check but everything seems the same. Would be awesome if it can somehow be fixed
ThanksNovember 7, 2017 at 9:00 pm #418185TomLead DeveloperLead Developer
Sections using the
template_redirectaction to redirect the page template to a custom page template in the plugin.
I wonder if there’s a way to tell WPML to use that template as well with a conditional? Might be worth asking them.November 8, 2017 at 6:34 am #418411Norman
WPML helped out. This solved the problem:
Two system fields adjustments:
1. _generate_use_sections – should be set to copy because it contains only one value that is either
true or false and does not need translation
2. _generate_sections – should be set to translate
These field can be found here:
WPML > Translation Management > Multilingual content setup > Custom fields > Show system fields
Just to let you know.
Cheers!November 8, 2017 at 10:08 am #418638TomLead DeveloperLead DeveloperNovember 22, 2017 at 5:14 am #430528Norman
Hi Tom and Leo,
You should have received some message of the WPML developers I believe. They weren’t really able to help me so far. I’m sort of stuck with the translations, because I cannot get GP sections to work with WPML.
I’m not sure what my question is, but do you have any idea how to make GP sections and WPML work together?
ThanksNovember 22, 2017 at 8:48 am #430781
- You must be logged in to reply to this topic.