angular-clock icon indicating copy to clipboard operation
angular-clock copied to clipboard

Changing day and month text for localization

Open iltera opened this issue 9 years ago • 2 comments

When I change the days and months arrays in source code, it doesn't honor the changes I make on the screen. Any workarounds on how we can make this work?

iltera avatar Dec 17 '15 08:12 iltera

can yuo give a code example of what you are trying to do?

deepu105 avatar Jan 23 '16 02:01 deepu105

@iltera A bit late perhaps but I just stumbled over you question and I think I know what you are trying to do.

The localization strings (name of days, months) comes from angulars built in filter so the easiest want to change the language would be to simply include an angular-localization file to your project: You can find the available languages here: https://github.com/angular/angular.js/tree/master/src/ngLocale.

Including a reference to any of these files will override the default language.

ericivarsson avatar Sep 22 '16 09:09 ericivarsson