Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 3.3.3

Resolved in: 3.3.6

Overview of the issue

In some cases, switching or opening a translated media file in the front-end may redirect to the same media file for another language.

Possible scenario:

  1. Activate and configure WPML in a fresh installation: default language is English and secondary languages are French & Spanish.
  2. Activate WPML Media Translation
  3. Add a post with tag, category and feature image.
  4. Upload more than one image to Media while choosing featured image and select one of the images.
  5. Visit Media -> Library and click Image URL for viewing it on front end.
  6. When navigating switching language in the front end, for French we will be automatically redirected to Spanish.
  7. It works fine for Spanish & English.
  8. Visit Media -> Library and upload another image.
  9. Click Image URL for viewing it on front end.
  10. It works okay for Spanish & English and when we visiting French, it will redirect to Spanish again.

Language resolution of media files may redirect to another language in some circumstances.

Workaround

There is no workaround at the moment.

A fix will be provided in the next version of WPML.