Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Changing day and month text for localization #4

Open
iltera opened this issue Dec 17, 2015 · 2 comments
Open

Changing day and month text for localization #4

iltera opened this issue Dec 17, 2015 · 2 comments

Comments

@iltera
Copy link

iltera commented Dec 17, 2015

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?

@deepu105
Copy link
Owner

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

@ericivarsson
Copy link

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants