Sophie
Posts: 0
Joined: Tue Mar 04, 2014 4:30 pm

Translate back button text

Hello,

My app provides UI in several languages using the i18next plug-in.
It works fine but I wonder how it is possible to translate the text of the back button in the header.

Thank you in advance

Sophie.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Translate back button text

Hello!
Looks like it's easier to change text on button using JS on page Load prevar backTransl = {"en-EN": "Back", "es-ES": "espalda"};
$('[data-rel="back"]').text(backTransl[lang]);/pre where lang is variable where language name is stored, for example "es-ES"

Return to “Issues”