Core:
sap.ui.getCore().getConfiguration().setLanguage("dt_ln");
ResourceModel:
var i18nModel = new sap.ui.model.resource.ResourceModel({
bundleUrl : "i18n/messageBundle.properties",
bundleLocale : "dt"
});
Message Property types:
1. messageBundle.properties.en_ln
2. messageBundle.properties.dt _ln
It could be better if you set the language model to the core or shell.
Regards,
Karthik A