I’m currently building a bilingual website (German/English) and using Webflow’s new Localization feature. So far, everything is working well in terms of layout and language switching. Here’s a read-only link to the site if you’d like to take a look.
However, I’ve run into a specific issue I need help with:
On the homepage, there is a section that includes a graphic where text is directly embedded into the image itself – not added as editable text in Webflow, but part of the actual image (like a JPG or PNG).
Right now, the graphic is in German.
What I would like to achieve is: when a user switches to English, the image should be swapped out with an English version of the same graphic.
My question is:
What’s the best way to do this using Webflow Localization?
– Is there a built-in way to swap images based on the selected language (maybe via CMS or conditional visibility)?
– Or would this require some custom code?
Any ideas, tips, or best practices from others who’ve dealt with similar scenarios would be hugely appreciated!
I believe you can simply override the image content itself in the locale, but I haven’t tried that approach yet.
If that doesn’t work you have two easy options;
Create two images, give them different classes and then change the visibility per locale, so that the German image is only visible in the German locale and the English image is only visible in the English locale.
Use a background image, which is a style property. All styles can be overridden at the locale level.