Hi all,
Here is a tip on how to use override the datepicker locale (E.g. "M" for Monday etc.). This fix only fix the locale in the datepicker used in forms, on calendar top bar etc..
The "standard" locale for e.g. calendar, forms etc. still needs to be done in the Aware IM locale.
Create file "datepicker.js" in folder "C:\AwareIM\Tomcat\webapps\AwareIM\aware_ext".
Add the following to the datepicker.js where the daynames are your custom daynames starting with "Sunday":
Ext.override(Ext.DatePicker, {
dayNames: [
'Söndag',
'Måndag',
'Tisdag',
'Onsdag',
'Torsdag',
'Fredag',
'Lördag'
],
});
Add the following AFTER the theme you are using in file "themes.props" in folder "C:\AwareIM\bin\" (this can be added to all themes I guess i.e. you can add it to the "Blue" theme if you want to or you can create your own theme (MyTheme) and add it to the "MyTheme" theme. Here is an example using "MyTheme":
ThemeMyTheme=MyTheme;ext-4.1.0/resources/css/ext-all.css;aware_ext/datepicker.js
Restart AwareIM server.
Reload your browser / log in to your application and now when your theme is loaded so is your custom datepicker daynames for that theme.