Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 9 months ago.

Assisted by: Long Nguyen.

Author Posts
September 11, 2023 at 8:56 am #14373857

mirjamv

Hello,

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?

Many thanks for your help!

Mirjam

September 12, 2023 at 9:18 am #14381877

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi there,

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".

2. Can you please share some screenshots of that issue on your site? Maybe it is related to this ticket https://wpml.org/forums/topic/changes-in-main-language-de-en-translation-gets-replaced-with-de-text/#post-13969779

Look forward to your reply.
Thanks

September 17, 2023 at 8:26 pm #14408719

mirjamv

Dear Long Nguyen,

Thank you for your reply.

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.

Many thanks for your kind help again,
Mirjam

Schermafbeelding 2023-09-17 om 21.36.31.png
Schermafbeelding 2023-09-17 om 21.35.28.png
Schermafbeelding 2023-09-17 om 21.34.50.png
Schermafbeelding 2023-09-17 om 21.34.07.png
September 18, 2023 at 3:06 am #14408997

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I understand you need to translate a page twice in order to see the changes in the frontend. I recommend using Advanced Translation Editor (ATE) and see if it helps, following the documentation https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/

If you want to use the Classic Translation Editor, please try two points:
1. Edit the page and click on the circle arrows icon in the Languages box to update the translation.
2. Confirm that you applied the workaround in this ticket https://wpml.org/forums/topic/changes-in-main-language-de-en-translation-gets-replaced-with-de-text/#post-13969779

Look forward to your reply.
Thanks

September 20, 2023 at 7:21 pm #14433065

mirjamv

Hello,

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 );
}

$getPackageStrings = Cache::memorize(
self::CACHE_GROUP_KEY,
HOUR_IN_SECONDS,
function( $packageId ) {
return $this->getPackageStringsFromDb( $packageId );
}
);

$strings = $getPackageStrings( $package_id );
}

return $strings;
}

/**

---

Please can you confirm it is ok to replace this code with the snippet as suggested in the other support thread?

I'm using WPML Multilingual CMS 4.6.5 and WPML String Translation 3.2.7

Alternatively, is there a way to switch from the classic editor to the advanced editor without having to retranslate all content?

Many thanks,
Mirjam

Schermafbeelding 2023-09-20 om 21.14.56.png
Schermafbeelding 2023-09-20 om 21.14.46.png
Schermafbeelding 2023-09-20 om 21.13.25.png
September 21, 2023 at 1:33 am #14434093

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

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.

Refer to the documentation
https://wpml.org/faq/install-wpml/#checking-for-updates
https://wpml.org/faq/why-arent-my-translations-showing/#switching-to-advanced-translation-editor

Look forward to your reply.
Thanks

The topic ‘[Closed] Synchronising translations using Elementor’ is closed to new replies.