I used storytimesolutions’ alternative (which did not worked for me) but used the css lang selector, which did worked (In my case, languages where NL and NL:
:lang(en).hide-nl {
display: none;
}
:lang(nl).hide-en {
display: none;
}
I still have a doubt about what will show if browser detects a different language other than EN or NL in my case. Loved this alternative as it is pretty simple and clean.
-
This reply was modified 4 years, 7 months ago by witkinss.