javascript - Cyrillic characters in MessageBox class of Sencha Touch -
i working different languages sencha touch framework, , translating messagebox buttons different languages, have added , working russian having problems, instead of appears correct translation appears "???" doesn´t detect correctly translation special characters. clue?
yes, working utf8 charset, have solved issue receiving labels backend here code:
var language = 'ru', //sent backend overwriting = ext.messagebox.yesno; switch (language) { case "ru" : var b = ext.messagebox; ext.apply(b, { yes: {text: 'russian text yes', itemid: 'yes', ui: 'action'}, no: {text:'russian text no', itemid: 'no'} }); ext.apply(b, { yesno: [b.no, b.yes] }); overwriting = b.yesno; break; }
Comments
Post a Comment