Add the css using the lang
attribute so when you change the different language, the css is applied as per language.
[lang="en"] .navbarIcon {
margin-left: 60%;
}
[lang="en"] .localiza {
margin-left: 10%;
}
[lang="fr"] .navbarIcon {
margin-left: 60%;
}
[lang="fr"] .localiza {
margin-left: 10%;
}
You can find the lang code on your page when you inspect the element with your code in the HTML tag that shows the lang code.