Overview of the Issue
The Elementor Pro Gallery widget does not show translated image titles, captions, or descriptions on the site’s front-end.
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
This issue will be fixed in WPML 4.5 release. In the meantime, you can follow this workaround to get the issue fixed on your site.
- Please backup your website database and files.
- Go to wp-content/plugins/elementor-pro/modules/gallery/widgets/gallery.php
- Replace
$attachment = get_post( $id );
with
$attachment = get_post( apply_filters( 'wpml_object_id', $id, 'attachment', true ) );
as shown in this screenshot:
Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question
