News for hackers. Stuff that matters.
Re:Fluent 1.0: a localization system for natural-sounding tr... by Vinnl on Wednesday April 17, 2019 @06:00AM (#19681180)
Would this also allow for translating e.g. the <a>'s `title` attribute, or e.g. an `aria-label`?
Re:Fluent 1.0: a localization system for natural-sounding tr... by stasm on Wednesday April 17, 2019 @06:09AM (#19681217)
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
Re:Fluent 1.0: a localization system for natural-sounding tr... by Vinnl on Wednesday April 17, 2019 @06:19AM (#19681257)
Great! It sounds like a very cool project to work on :)
Re:Fluent 1.0: a localization system for natural-sounding tr... by Zenbit_UX on Wednesday April 17, 2019 @09:47AM (#19682492)
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.