rajeshwarpatlolla/ionic-datepicker

Localization

raphaklaus opened this issue · 9 comments

Hello!
The months, days of week, and GUI are in english, is on plan to localize these objects?

For now, i have few other tasks/bugs in my list for the next immediate release. But localisation needs one more additional plugin. I think it might make this component bit heavy. Any suggestions to get the perfect solution is welcome. And thanks for this suggestion too.

Suggestion: Add a setter to enable users to pass translations into the service. Same for the yearsList.

I agree with @seppsepp suggestion. It's easy to implement and the file size would be pretty much the same.

Or you can use the angularjs locale format thais is easier to implement: https://code.angularjs.org/1.0.3/i18n/

And yearsList should be set like: (...).yearsList = [startyear => 1999, endYear => 2020];

Thanks a lot for the link @willianbs. i will check this out when ever it is possible for me to do so.

Please use the new version i.e. v0.7.0 This bug has been fixed. I found a simple a way of getting Localization. Please check this latest version.

Hi, we still can't translate the weekdays, just to remember :)

Do you mean S,M,T,W,...?

Yep, that's it :)