Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localization #54

Closed
eugenest opened this issue Aug 20, 2014 · 2 comments
Closed

localization #54

eugenest opened this issue Aug 20, 2014 · 2 comments

Comments

@eugenest
Copy link

is there plans to add multilanguage support for months and days of the week names?

@andrey-skl
Copy link

Just finished same task in my project.
To localize datepicker you have to just add an angular-i18n file to you project, https://github.com/angular/bower-angular-i18n/blob/master/angular-locale_ru-ru.js for example.

One other thing you have to do - patch datepicker styles because localized mounth names, for example, is wider then english.

Here is example of some css

div[date-picker-wrapper] {
  width: 220px; /*excellent for russian locale*/
}
div[date-picker-wrapper] [date-picker] td,
div[date-picker-wrapper] [date-picker] th {
  width: auto;
}

@eugenest
Copy link
Author

great!
thank you

@g00fy- g00fy- closed this as completed Feb 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants