Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Vinnl
· 7y ago · 0 comments
Would this also allow for translating e.g. the <a>'s `title` attribute, or e.g. an `aria-label`?
Comments
[–]
stasm
7y ago
It's something that I definitely plan to add. There's even an open issue about it!
https://github.com/projectfluent/fluent.js/issues/185
[–]
Vinnl
OP
7y ago
Great! It sounds like a very cool project to work on :)
[–]
Zenbit_UX
7y ago
What's stopping you from doing that now? Just add a new translation for those labels in the source document and bind it to the attribute tag.