Issue Background:
There was a divi builder timeout when trying to open a template for editing. During investigation templates seemed corrupted, so exporting and importing made these work fine.
Further issue:
I tried to download the template, upload it again and override it. I can now open the Divi builder. But the problem with this issue is that the templates are now in Dutch on the English site. It was already translated with the bulk translation. With this way of doing it, the translations are gone.
Furthermore, If I switch to the Dutch site, the template names start with EN - 404 page (for example) as well. I named all the Divi Builder templates on Dutch Site 'NL -' and on the English site 'EN - '. But it is now everywhere the same name. It seems that it is not different or so.
I just tried again and I found a new issue with this option. I exported the EN - Africa template from the English site. Uploaded it again (content was in Dutch). When I changed that body manual to English and saved it, the template on the Dutch site was also set to English. I checked the assignment of the template and it's pointed right on Dutch to Dutch and English to English URL, but the content seems not to be linked correctly.
The thing now is that we in between changed a lot of wrong internal links, checked English translations manually and made changes where needed. So setting back the website to an early stage is not what we want now.
I can import and export the pages. But then we have to look into how we set the right match between EN and NL pages / assignments / translations.
This is the first time I work with WPML and it's sometimes quite complicated to me.
If you want to have different Divi templates per language, please go to WPML > Settings > Post Types Translation > Set the post type Theme Builders (et_theme_builder) preference to "Translatable - only show translated items".
Then go to Divi > Theme Builder > Switch between languages to create templates for each language.
It depends on your expectations. If you want to have different templates (layout, content ...) per language, you should create the template in Dutch manually.
If you want to have the same templates across languages, you can translate it automatically.
I runned some auto translations and it did not work out as expected. Maybe I mad a mistake, but I don't know. Somebody else did the bulk translation for me. I am using WPML myself for the first time.
As attached in the screenshots, you can see that I translated the pages. Live on the page the templates are still in Dutch on the English site.
This happens because the original language of template World Trip is English but the content is in Dutch language. So when you translate the template from English to Dutch, it just applies the same content.
To fix the issue, I suggest you edit the original template content and change it to English, then translate it into Dutch.
Or delete the templates in English language, translate them from Dutch to English.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
Looking forward to your reply.
Thanks
The topic ‘[Closed] Split: the template on the Dutch site was set to English’ is closed to new replies.