Y
Hacker News
new
|
ask
|
show
|
jobs
by
Vinnl
2617 days ago
Would this also allow for translating e.g. the <a>'s `title` attribute, or e.g. an `aria-label`?
2 comments
stasm
2616 days 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
link
Vinnl
2616 days ago
Great! It sounds like a very cool project to work on :)
link
Zenbit_UX
2616 days 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.
link