I am investigating what is possible with i18next localization library.
Right now I have the following code (full Fiddle is here):
HTML
For me the following worked
So just enter the attribute's name between [] and then the translation.