Is there a way to translate css selectors(::after, ::before) content using ngx-translate ?
.custom-file-label::after {
content: "Browse"
}
Is there a way to translate css selectors(::after, ::before) content using ngx-translate ?
.custom-file-label::after {
content: "Browse"
}
in html add
<div class="custom-file-label" [attr.your-custom] = "{{ 'Browse' | translate}}"></div>
and in css
.custom-file-label::after {
content: attr(your-custom);
}