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

Internationalization and localization #2

Closed
Daneel87 opened this issue Sep 22, 2022 · 1 comment
Closed

Internationalization and localization #2

Daneel87 opened this issue Sep 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Daneel87
Copy link

I'd like to change the language of the calendar, at least by submitting a list of weekdays and months names, and the week start day.

@chaudharydeepanshu chaudharydeepanshu added the enhancement New feature or request label Sep 22, 2022
@chaudharydeepanshu
Copy link
Owner

Hey great suggestion. I have pushed a new update which provides the desired functionality.

You can use the new features like this:

CleanCalendar(
  startWeekday: WeekDay.monday,               //<-setting start weekday
  weekdaysSymbol: const ["m", "t", "w", "t", "f", "s", "s"],         //<-custom weekday symbols
  monthsSymbol: const [           //<-custom month symbols
    "Jan",
    "Feb",
    "Mar",
    "Apr",
    "May",
    "Jun",
    "Jul",
    "Aug",
    "Sep",
    "Oct",
    "Nov",
    "Dec"
  ],
)

If you have any questions about it then let me know.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants