How to change a Media file (Image, PDF ...) in my translated version

In this article, you will find how to change any type of media (Image, .pdf, .docx, .rar, and youtube video) on your translated website.

Sometimes, you might need to display a different form of media (such as an image including texts) in the translated version. With Weglot, you can do that by adding the URL of the translated media in your translations.

First of all, you'll need to add the dedicated Media to be displayed in the translated version in your website admin Librairie (upload your media to your website admin). Then you can simply follow the steps below

1) Go to your Weglot dashboard > Translations list

2. Then select a language and click on it:

In order to change an image, you'll need to scroll down at the bottom of the page, you should see a button named " Add a media translation":

3. Click on it:

You will see a pop-up where you can add:

  • The URL of the image on the original page
  • The URL of the image on the translated page

In order to find the URL of the original image, you can simply visit the page where it's located, then right-click on the image and select "inspect":

You should see the URL of the image near the src attribute, you just have to copy-paste it :

4. Then click on the "Add" button:

It's done! You should now see the media translation directly into your Translations list and the "translated" image should be displayed on the translated version of your website

If it's not the case, make sure that your image is generated with an  src data attribute and that you don't have a Lazyloading system on your website.

Still need help? Contact Us Contact Us