We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See https://developer.mozilla.org/en-US/docs/Web/CSS/:lang
Something along the lines of:
$custom-file-text: ( button-label: ( en: "Browse" ), placeholder: ( en: "Choose file..." ) ) !default; @each $lang, $text in map-get($custom-file-text, button-label) { ...:lang($lang) { content: $text; } }
Folks using other languages can then set new entries in the map via their custom variables file to add their translations.
CC: @mdo for feedback
The text was updated successfully, but these errors were encountered:
Oh, neat. That'd be cool to implement I think. Would we do it anywhere else?
Sorry, something went wrong.
We don't have language-specific content anywhere else in the CSS besides the custom file inputs, so no.
content
Make translation of custom file input text easier; fixes #18922
8b67d4c
[skip sauce]
Implemented in #18925.
No branches or pull requests
See https://developer.mozilla.org/en-US/docs/Web/CSS/:lang
Something along the lines of:
Folks using other languages can then set new entries in the map via their custom variables file to add their translations.
CC: @mdo for feedback
The text was updated successfully, but these errors were encountered: