The website Hogewoning.com uses WPML, Generate Press theme and Elementor Pro pagebuilder. All versions are up to date.
Default/main language is Dutch. Four times a year I update the site, changing images and text on the Dutch site. I make the changes, update from Elementor and check the front end of the Dutch pages.
For some time now, changes are not reflected when I update the other languages. I go to Dashboard > All pages and click the circle/arrow icon. I translate/update the text and click 'save & close'. Upon checking the front end, I still see the old version of the translated page.
I need to go into the WordPress page editor, update the page, and only then changes are reflected. I have already tried updating the Dutch page first, renaming it, saving page, changing back name to original page title and updating/saving again. This didn't solve my issue.
This didn't use to be the case. Is there a way to speed this up and omit the extra update in the WP editor?
The website is using the classic translation editor. I've toggled the advanced translation editor on to see what would happen, but then I need to re-translate almost everything (in 5 languages), which is obviously a lot of work. So for now, I keep on using the classic translation editor.
Two related questions:
1 - When I delete an image from the Dutch media library, I can still see the same image in the English/French etc media library. When I try to delete that image from the English/French media library I get a message 'error removing attachment'. Is it possible to synch all images across the different media libraries in various languages so I can delete the same image across all languages in one go?
2 - The website uses Elementor contact forms. When I want to update the image/main text on, say, the French page with a contact form and I do this via Dashboard > all pages > circle/arrow icon, the French contact form disappears and I get the Dutch contact form. How can I update just the header image or intro text, without overwriting the contact form in the right language?
Thank you for contacting WPML support, I'd be happy to help you with this issue.
It's the standard workflow to update the translation to see the changes and I'm afraid that there isn't a way to omit the extra update.
The workflow should be:
- Edit the page in the original language.
- Make some changes > Save.
- Update the translation.
Regarding two extra questions:
1. If you want to delete images across languages, please go to WPML > Settings > Enable the option "When deleting a post, delete translations as well".
Deleting images in all languages works fine now - that issue is resolved.
Regarding the workflow of translating pages, this is what I currently need to do:
- Edit the page in the original/default language (Dutch), using Elementor;
- Update page in Elementor side panel so changes on Dutch page are saved;
- In WordPress Dashboard, go to Pages > All Pages > Update English/French/German/Italian translation using circle/arrow icon;
- Update translation, ticking off translated items;
- Save & close.
Then, when I open the recently translated/updated page (in the foreign language) in my browser, I don't see the updated translations or changed images. I then need to:
- Open the page in the WordPress editor;
- Update the page in the WordPress editor;
- Check translated page again.
It is this last bit of opening the page in the WordPress editor that I previously didn't need to do. I understand I need to update the translation with WPML, but now I need to update the page twice in order to see the changes.
Is there any way to omit these extra steps?
Attached are some screenshots regarding the issue with Elementor contact forms. I'm using WPML version 4.6.5.
Before I update/replace the code, I'd like to double check something with you. I can't find the exact code as mentioned in the other support thread. The closest code I see in my file is as follows:
---
public function get_package_strings( array $package_data, $reload_cache = false ) {
$strings = array();
$package_id = $this->get_package_id( $package_data );
if ( $package_id ) {
if ( $reload_cache ) {
Cache::flushGroup( self::CACHE_GROUP_KEY );
}
I've checked that ticket and the fix was included in the new version of WPML 4.6.6. Please update WPML to the new version and recheck this issue.
Also, if you switch the translation editor from Classic to Advanced Translation Editor, you will need to re-translate content of the page.