Hello,
I have a question about translating the back button in header.
I tried to use this code
var backTransl = {"en-EN": "Back", "es-ES": "espalda"};
$('[data-rel="back"]').text(backTransl[lang]);
But how to make based on language of device the information will show on english, spanish, french and etc...