You can add the current language to the html tag as lang. for instance
%html{lang: I18n.locale} <html lang="en"> or <html lang="ru">
and add a specific language style with a language prefix
html[lang="en"] { # for english part } html[lang="ru"] { # for russian part }
also you can change the behavior of an existing class
.test-title { html[lang="en"] & { // specific english style } }
source share