6eDesign / svelte-calendar

A lightweight datepicker with neat animations and a unique UX.
https://6edesign.github.io/svelte-calendar/
MIT License
543 stars 90 forks source link

What about internacionalization? #110

Closed EriksonGM closed 3 years ago

EriksonGM commented 3 years ago

Can we change the month to spanish or another lenguage?

Would be nice some internacionalization features.

AndreasMaros commented 3 years ago

Have you seen https://github.com/6eDesign/svelte-calendar#daysofweek-and-monthsofyear? That should do excatly what you're looking for.

6eDesign commented 3 years ago

The next version of this calendar will require dayjs as a peer dependency. I believe we will be able to rely on it solely for locales.

6eDesign commented 3 years ago

Localization has been overhauled in the latest release of svelte-calendar (v3.x). Please check out the localization example on this page. Feel free to open a new issue with additional feedback/bugs/etc.