WPLM cornerstone does not work

Hi,
I translated my website with WPML.
Everything was working OK, but then I made some modifications in Cornerstone and now I have two big problems :

  1. Some parts are not translated anymore
  2. The layout is screwed up

The weird thing is that it looks OK in Cornerstone…

You can see this in the files attached and here :
https://www.mendo.ch/fr/accueil/formations/conseiller-financier-iaf/brevet/ (translated page - srcewed)
https://www.mendo.ch/startseite/ausbildungen/finanz-berater-in-iaf/finanzplaner-in-mit-eidg-fachausweis/ (default language page).

Never mind. I found another way.

Hi @baysquentin,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

Hello,

Actually, this issue is back !

Here’s what I noticed :

When I edit a page (probably when editing classic elements) then the problem comes back.

The layout in Cornerstone looks OK. But the actual page is mixed with content in the two languages as shown in the images above.

Here’s an example of the mixed content :

https://www.mendo.ch/startseite/ausbildungen/weiterbildungen-ef/

It seems that the wrong content appears in the “Classic” elements.

Thanks for your help.

Hi @baysquentin,

Unfortunately, I can’t see the issue because the page URL you shared is page not found? Is that a published page? If not, we may need credentials to access it. Please share it inside a secure note.

Sorry, I made some modifications today.

Here’s the link updated.

https://www.mendo.ch/weiterbildungen-ef/

At the end of the page you can also see a weird thing : There’s a line of ??? :

{{base64content “PGRpdiAgY2xhc3M9IngtZmVhdHVyZS1ib3ggY2VudGVyLXRleHQgdG9wLXRleHQgY2YiIHN0eWxlPSJjb2xvcjogcmdiKDcxLDcxLDcxKTsgbWF4LXdpZHRoOiBub25lOyIgZGF0YS14LWVsZW1lbnQ9ImZlYXR1cmVfYm94IiBkYXRhLXgtcGFyYW1zPSJ7JnF1b3Q7Y2hpbGQmcXVvdDs6ZmFsc2UsJnF1b3Q7Z3JhcGhpY0FuaW1hdGlvbiZxdW90OzomcXVvdDtub25lJnF1b3Q7LCZxdW90O2dyYXBoaWNBbmltYXRpb25PZmZzZXQmcXVvdDs6JnF1b3Q7NTAmcXVvdDssJnF1b3Q7Z3JhcGhpY0FuaW1hdGlvbkRlbGF5JnF1b3Q7OiZxdW90OzAmcXVvdDt9IiA+PGRpdiBjbGFzcz0ieC1mZWF0dXJlLWJveC1ncmFwaGljIGJhZGdlICI+PGRpdiBjbGFzcz0ieC1mZWF0dXJlLWJveC1ncmFwaGljLW91dGVyIGJhZGdlIiBzdHlsZT0iIj48ZGl2IGNsYXNzPSJ4LWZlYXR1cmUtYm94LWdyYXBoaWMtaW5uZXIgYmFkZ2UiIHN0eWxlPSJmb250LXNpemU6IDEwMHB4OyBib3JkZXItY29sb3I6IHJnYig2Nyw4NywxMTIpOyI+PGkgY2xhc3M9IngtaWNvbi1sLXVuaXZlcnNpdHkgYmFkZ2UiIGRhdGEteC1pY29uLWw9IiYjeGYxOWM7IiAgc3R5bGU9Im1hcmdpbjogMCBhdXRvOyBjb2xvcjogd2hpdGU7IGJhY2tncm91bmQtY29sb3I6IHJnYig2Nyw4NywxMTIpOyI+PC9pPjwvZGl2PjwvZGl2PjwvZGl2PjxkaXYgY2xhc3M9IngtZmVhdHVyZS1ib3gtY29udGVudCAiPjxoNCBjbGFzcz0ieC1mZWF0dXJlLWJveC10aXRsZSIgc3R5bGU9ImNvbG9yOiByZ2IoNzEsNzEsNzEpOyI+PC9oND48cCBjbGFzcz0ieC1mZWF0dXJlLWJveC10ZXh0IiBzdHlsZT0iY29sb3I6IHJnYig3MSw3MSw3MSk7Ij48L3A+PC9kaXY+PC9kaXY+Cg==” }}

I had to “unlink” all translated pages so that when we edit them, the page doesn’t crash.
But the homepage is still linked with the translation, this is mandatory…

To recap :

When a page is translated, any modifications screw up the page although the page appears OK in Cornerstone.

I found a similar topic in the forum :

Hi @baysquentin,

I see the problem at hand. This is mostly caused by the Translation Manager of the WPML. The best way to make sure the translation will work is to have separate pages and do not use the Translation Manager.

So for the new pages that you create, just go to the page using Cornerstone and save the layout. Then click the Flag icon of the other language at the bottom right section of the screen and choose to copy the current layout. That will cause the page to be copied for the translation, and you will have the Cornerstone at hand to go to each element and add the new language text instead of the current one.

The method above will ensure you will not get the inconsistencies you described. Now, for the current pages as they are already linked, I suggest that you use the duplicate post plugin to duplicate the page. The duplicated page will not be linked in the Translation manager, and then you can use the same method to create a copy of the page inside the Cornerstone by clicking the language flag at the bottom right section of the screen.

Thank you.

Ok thanks for your instructions.
I will try this.

Let us know how it goes,
Cheers!

Hi !
I followed your instructions, but when I duplicate a page, the translated page is also duplicated and linked…

(I tried with another page. Same result.)

Even with an unlinked page it doesn’t work:
https://www.mendo.ch/fr/formations/conseiller-financier-iaf/diplome-test/

I also tried to start from a brand new page, this doesn’t work either:
https://www.mendo.ch/fr/new-test-de/

Hi @baysquentin,

I added a new page called X Test and used the Cornerstone to translate and it worked. Would you please check the secure note?

Thank you.

Yes but when I make some changes on the page it still screws up the page…

https://www.mendo.ch/fr/x-test/

Thanks @baysquentin for including my thread. :wink:
It took WPML a couple of weeks to find and send a “workaround” for the issue.
Unfortunately, the workaround still applies!!!
I’ve just checked and see that my ticket/thread has since been closed, which I find difficult to understand as there is still no solution to the issue…

This is my workaround again, which I shared in my thread…

  • Open the Secondary Language translation of the specific page
  • Under the Language section , Select “–None–” for the option “This is a translation of”
  • Update the page and refresh, make sure you stay on the same page
  • Click on Edit with Cornerstone,
  • Make some minor changes, save and exit to the dashboard
  • Under the Language section , Click “Connect with translation” Choose English default page to assign
  • Update the translation

Unfortunately, above steps are needed every single time you have a modification to your page/post and unfortunately, it applies to all new pages created.

Surely, we’re not the only 2 clients using multilingual pages in connection with WPML???

Best of luck @baysquentin and if I receive any updates from my contact at WPML, I’ll certainly let you know.

Cheers,
Cara

Thanks @managet0p_xtheme !

I saw your workaround, but for another mysterious reason, the “This is a translation of” option doesn’t appear on the secondary language pages !!! :triumph:

Thanks anyway for your help and I would really appreciate any update when when you receive it…

Cheers,
Quentin

You’re welcome Quentin!
We’re glad @Christopher.Amirian were able to help you out.

??? The problem isn’t solved at all !!

Hi guys,

@managet0p_xtheme

Unfortunately, above steps are needed every single time you have a modification to your page/post and unfortunately, it applies to all new pages created.

This is not true at least on all my tests, perhaps the issue is only specific to your setup as I can’t reproduce it anywhere on my installation and other sites. The linking of translations is done by WPML and not by cornerstone so the modification within the cornerstone has no relation and should not affect any linking of translation pages. But yes, if you use duplication manually which has no relation to cornerstone, then you will always needed to perform the above steps, but again, it has nothing to do with cornerstone as the duplication bypasses the cornerstone’s own duplication feature (language switcher within the builder). Would you mind providing a video recording on how you’re translating them?

There is no fix for that issue since cornerstone has no ability to track the changes made outside the cornerstone, that includes manual duplication and linking (translation of).

@baysquentin, your issue is different and that option This is a translation of is hidden since it’s handled by cornerstone internally within the builder. That only means your translations are already linked together. Please forget duplication for now and let’s start a new regarding the base64 display issue. It could be due to encoding issue caused by special characters present on those slides. You could confirm that since it only happens once you add the slider, and it works okay on the test page without it.

I also noticed that your site is a bit slow, would you mind providing your FTP or Cpanel login credentials as well? There could be more to it and maybe I could find something from your existing setup.

Thanks!

Thanks,
Here’s FTP access