I’m trying to translate my website using the localisation option. I do not need all the elements from the primary locale in the secondary one, but when I try to delete them, I’m getting a notification that I can only delete elements from the primary locale. Can someone please explain me how to solve this?
1 Like
Hi Alexandra, that’s not directly an option.
However you could get a bit fancy with custom code.
Let’s say you have a DIV with the ID my-div and you do not want it to appear when the locale is fr. You can add custom CSS something like this;
<style>
#my-div:lang(fr) {
display: none;
}
</style>
UPDATE 2024-11-20 - This is now directly possible in the designer using localized styles. Switch to your locale, select the element, and give it a display: none styling.
1 Like