3 ms·
Would this also allow for translating e.g. the <a>'s `title` attribute, or e.g. an `aria-label`?
by Vinnl 8y ago
Would this also allow for translating e.g. the <a>'s `title` attribute, or e.g. an `aria-label`?
- stasm 8y agoIt's something that I definitely plan to add. There's even an open issue about it! https://github.com/projectfluent/fluent.js/issues/185 https://github.com/projectfluent/fluent.js/issues/185
- Vinnl 8y agoGreat! It sounds like a very cool project to work on :)
- Zenbit_UX 8y agoWhat'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.