- This topic has 13 replies, 2 voices, and was last updated 1 year, 10 months ago by Tom.
April 26, 2019 at 6:00 am #880311Mathias
Unfortunately I discovered another bug with GeneratePress and WPML.
If I deactivate the entry title of a page or post in the “Layout” section below my content, the entry title is still shown on the translated page or post.
As I want my website to look exactly the same in German and English on the frontend this seems to be a bug that has to be fixed. A deactivated entry title should stay deactivated, no matter which language is shown.GeneratePress 2.2.2GP Premium 1.8.1April 26, 2019 at 9:24 am #880647TomLead DeveloperLead DeveloperApril 29, 2019 at 12:42 am #882850Mathias
There is no option for that. WPML only translates the strings an does not appear with a own “page” with settings in the WordPress backend. Therefore I can only choose Layout options on the page itself, which has two languages.
You can reproduce the bug when you install WPML on a WordPress with GeneratePress theme.April 29, 2019 at 8:33 am #883369TomLead DeveloperLead Developer
Are you using the “Layout” metabox on your individual pages? I’m no WPML expert, but I thought the translated pages are separate pages? For example, when you click the + for your language, it creates a new page for that specific language.
Is that not how you’re using it?April 30, 2019 at 12:50 am #883962Mathias
Yes, I use the “Layout” metabox on my pages to deactivate the page title.
No, that’s not how it works. WPML does not create a own individually editable page in the WP backend. It only translates the strings of the original page and the translated page is shown exactly as it is in the other language. Except the entry-title which is no longer deactivated after switching the language…
Are you able to get the WPML plugin and install it so you can see what happens? Its difficult to explain how it works without seeing it in front of you.April 30, 2019 at 8:25 am #884510TomLead DeveloperLead Developer
I have the WPML plugin – we worked with it quite extensively when developing 1.8, as we made Elements compatible with it. The way I used it was creating copies of pages for each language.
I’ll ask the WPML team to look at this topic – they might be able to shed some light on what’s going on.May 9, 2019 at 6:37 am #894025Mathias
Did they answer you?May 9, 2019 at 8:29 am #894296TomLead DeveloperLead DeveloperMay 10, 2019 at 6:26 am #895194Mathias
I got a workaround for the entry title problem. I just took an “Layout element” and disabled the title on the english home page – but I had to switch off the WPML translation editor which is built-in in the newest WPML version.
SO: I found the reason why certain options of GeneratePress are not shown on the translated page. You are right, there are 2 ways to translate: Either on an seperate page or with the WPML translation editor. I only use the second way and as this translation editor of WMPL is active it does not copy/duplicate the GeneratePress options.
I tested it with a page and later with an GeneratePress element! The fallback image of the element has to be set by disabling the WPML translation editor and choosing it again on the english version.
So when you are looking after the “bug” … the Translation Editor of WPML seems to be a reason because it does not read out/duplicate/copy the options which are set via GeneratePress (e.g. the Layout metabox). As it is a lot of extra work it would be great if you or WPML could fix this in a future update of GeneratePress or WPML or both.May 10, 2019 at 9:24 am #895514TomLead DeveloperLead DeveloperMay 13, 2019 at 12:05 am #897525Mathias
You’re welcome! 🙂
Btw: I love your theme – not only for its versatility but also for the great support with fast answers!May 13, 2019 at 8:54 am #898061TomLead DeveloperLead DeveloperJune 3, 2019 at 12:20 am #918189Mathias
Update on this topic – I hope this helps to further develop GeneratePress Premium:
I recently discovered, that GeneratePress elements never “copies” the settings oder chosen options to a translated page, when WPMLs translation editor is used. You have to (!) use the “old” method and configure the element twice: One time for the first language, second time for the second language.
I would be great if Elements would copy/duplicate the chosen settings automatically when I use the translation editor. 😉June 3, 2019 at 9:09 am #918712TomLead DeveloperLead Developer
This confused me as well when testing. It seems you need to save the Element after creating it in another language for their
copy-onceaction to copy the existing options.
- You must be logged in to reply to this topic.