Hi @charlie,
I’m not 100% sure, but I do believe that WPML’s automatic translation function is technically handeling translations in the same way as when using the string translation, and indeed tapping into the __
-function.
The issue with the current stable release of Pro, is that translations made through WPML String Translations don’t show up on the frontend, but do show up in the Pro-editor. That’s unfortunate, as it means all translation edits need to be confirmed again by opening the translated page in Pro, use the language switcher, and save the page again.
If we correctly assume that the automatic translation works the same as string translation, then it’s seriously broken in beta3.
I’ve made an exact copy of the website to a staging environment.
When using automatic translation on the stable version of Pro, after enabling automatic translation, the user is offered the option to review the automatic translation:
When clicking the ‘View’ button (‘Bekijken’ in this screenshot), the review screen is shown, which essentially looks to be the string translation:
!
The problem here is, that all changes made, are not reflected on the page itself, but are shown when editing that same page in Pro and using the language switcher.
But in beta3, when clicking the ‘view’ button, you are not redirected to that review-page. Instead, the translated page itself reloads. And that’s it.
I’ve reached out to WPML support as well, using the stable version of Pro as an example. The first line support concluded that it looked like the elements weren’t translatable, but they escalated the issue to the second line support. I expect them to come to the same conclusion, as __
was missing in the elements previously. I actually expected that with the addition of __
in all elements, translation through WPML would work again. But now there’s the weird issue where reviewing the translations is reloading the page, instead of showing the correct page. I have not (yet) found out why that’s happening.
If you’d like to have access to this staging environment as well and test the WPML integration yourself, I would be happy to share the credentials. I could even add some automatic translation credits I bought, so you test the whole process yourself. Costs me a few bugs, but that’s worth having Pro and WPML integration running again.
.