i18n model doesn't work properly
问题 I have a code that checks a response from a server and shows message box according to the information received. I have these messages in 2 languages (user selects a language during login). Here is example: if(sResponse == 'IDfail'){ sap.m.MessageBox.alert ("{i18nResourceModel>idnotnine}", {icon: sap.m.MessageBox.Icon.ERROR, title: "{i18nResourceModel>error}"} ); } Here is i18n model declaration (it is declared before I use the model, of course): var oResourceModel = new sap.ui.model.resource