Giter Club home page Giter Club logo

Comments (9)

rajeshwarpatlolla avatar rajeshwarpatlolla commented on May 11, 2024

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.

from ionic-datepicker.

seppsepp avatar seppsepp commented on May 11, 2024

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

from ionic-datepicker.

raphaklaus avatar raphaklaus commented on May 11, 2024

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

from ionic-datepicker.

willianbs avatar willianbs commented on May 11, 2024

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];

from ionic-datepicker.

rajeshwarpatlolla avatar rajeshwarpatlolla commented on May 11, 2024

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

from ionic-datepicker.

rajeshwarpatlolla avatar rajeshwarpatlolla commented on May 11, 2024

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.

from ionic-datepicker.

willianbs avatar willianbs commented on May 11, 2024

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

from ionic-datepicker.

rajeshwarpatlolla avatar rajeshwarpatlolla commented on May 11, 2024

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

from ionic-datepicker.

willianbs avatar willianbs commented on May 11, 2024

Yep, that's it :)

from ionic-datepicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.