Months and Days are not being translated
Here is a working plunkr: http://plnkr.co/edit/AFpj79M1C6vOewSWLX8J
You also need to localise angular, you can read the doc here: https://docs.angularjs.org/guide/i18nTo make it work I added the code of i18n/angular-locale_fr-ca.js
in the plunkr file ng-fr-ca.js
.
Looking at the source of ui-calendar (line 179), you will see it uses anggular $locale
service to translate days, month, etc. I have added a console.log
to the source so you can see the difference between
var dtf = $locale.DATETIME_FORMATS;console.log(dtf);
$locale
uses engglish by default. If you load one of the i18n
locale file, you will have it translated.