Hi All
I am facing a wierd issue with the sap.ca.ui.model.format.DateFormat.
I am implementing the Leave Request Approve application for a customer and the dates do not come up in Arabic
Notice that the days ago still comes in English. I did a little digging and found that the sap.ca.ui.utils.resourcebundle still contains English properties.
I tried replacing this with the Arabic File
var sCurrentLocale = sap.ui.getCore().getConfiguration().getLanguage(); var oI18nModel = jQuery.sap.resources({url : jQuery.sap.getModulePath("sap.ca.ui.i18n.i18n_ar", ".properties"), locale: sCurrentLocale}); sap.ui.getCore().setModel(oI18nModel, "sap.ca.ui.i18n"); sap.ca.ui.utils.resourcebundle = oI18nModel;
I tried with "sap.ca.i18n.i18n" without the "_ar", but it still doesn't work.
Any help will be appreciated.
Thanks