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:
Go to WPML → Media Translation.
Click the pencil icon next to the image you want to change in your secondary language and upload the image translation.
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.
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.