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

Globalization of days, months and buttons #70

Open
ClacksOperator opened this issue Dec 6, 2023 · 1 comment
Open

Globalization of days, months and buttons #70

ClacksOperator opened this issue Dec 6, 2023 · 1 comment

Comments

@ClacksOperator
Copy link

Currently, globalization is loosely possible via changing the buttons and static values manually. I'd like to be able to pass in months, days, short days and button text in order to be able to use a single instance of the library in a multi-lingual site.

Proposal:

  • Extend SimplePickerOpts to pass in translations for static values
  • Retain current defaults
  • If an incorrect number of parameters are passed (e.g. only 7 months), maintain the defaults
@ClacksOperator
Copy link
Author

As a side note, I'm already working on this as it is something I'd like support for on the platform I'm adding the library to.

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

1 participant