Skip Navigation
May 17, 2024

With WPML’s Media Translation, you can display different images across WordPress content in various languages.

Just like text, you can translate images to meet the needs of your target audience. For example, let’s say you have a WordPress site about cars. You can display an image of a car with the steering wheel on the right for British visitors, and on the left for Spanish visitors.

English Version

Spanish Translation

Required Plugins

After installing the main WPML plugin, install and activate the WPML Media Translation add-on plugin.

How to Use Different Images Across Languages

First, send your post, page, or custom post for translation from WPML’s Translation Management Dashboard. The image caption, alt text, and title will all be available for translation alongside your post or page content.

Then, you can set your translations to show different images:

  1. Go to WPML → Media Translation.
  2. Click the pencil icon next to the image you want to change in your secondary language and upload the image translation.
  3. Click to Save media translation.
Translating an image in Media Translation

Now, when you visit your default language page and its translations on the front-end, you’ll see different images displayed for each language version.

Accessing Media Translation Settings

By default, WPML configures the recommended settings for handling media in new content and updates existing translations with translated media.

You can access and change these settings by going to WPML → Settings and scrolling down to the Media Translation section.