-
What is the best way to localise Notes to nl-NL (Dutch), in addition to the original English version? E.g. I’d like to add My first idea is to create a local copy of src/style/note.css. Please tell me if there is a more appropriate and evolvable way. |
Beta Was this translation helpful? Give feedback.
Answered by
mootari
Nov 29, 2024
Replies: 1 comment 1 reply
-
You can use the <style>
.note:lang(de)::before {content: "Hinweis"}
</style>
<div class="note">This is a note.</div>
<div class="note" lang="de">Dies ist ein Hinweis.</div> ![]() |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Martien
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
:lang()
selector andlang
attribute: https://developer.mozilla.org/en-US/docs/Web/CSS/:lang