Reported for: WooCommerce Multilingual 3.6.3


Translated image title and ALT are not shown on the front-end of the translated Enfold page. You might encounter this issue in the following scenario:

  1. Add an image to your media library and translate the title and ALT text.
  2. Create a page using the Avia Builder.
  3. Add an image element.
  4. Choose the image you uploaded and translated in step 1.
  5. Translate the page.

On the front-end, you will see that the original image title and ALT texts are being displayed in the secondary language.


To overcome this issue, open the image.php file found in the ../enfold/config-templatebuilder/avia-shortcodes/ folder of your WordPress installation and add the following code:

$attachment = apply_filters('wpml_object_id', $attachment, 'attachment', true);

Add it just before the following line:

$attachment_entry = get_post( $attachment );

6 Responses to “Translated image Title and ALT are not shown in the secondary language – Enfold”

  1. Hey there. Having the same problem on a number of pages. Not using WooCommerce though. Seems to be a more general problem. I’d be greatful for a fix in one of the coming versions. Thanks!

  2. The workaround works fine. Thanks a lot. If I choose a page in Translation Dashboard, the dialogue “Choose which media to translate with this page” does not show up, if the media is used in an enfold image. Is there also a workaround that helps recognizing media in enfold images?