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

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
Great! It sounds like a very cool project to work on :)
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.