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

Change language of calendar #19

Open
diego-caceres opened this issue Jun 12, 2017 · 4 comments
Open

Change language of calendar #19

diego-caceres opened this issue Jun 12, 2017 · 4 comments

Comments

@diego-caceres
Copy link

Is there a way to change the calendar language to spanish for example?

Thanks

@jirikolarik
Copy link
Member

Basically setting up moment.js locale should work, please try this PR and let me know if it helped: #20

@diego-caceres
Copy link
Author

Hi, sorry for the delay on trying that, but I had been working on other parts of the app.
I tried your PR but I had an exception thrown any time I tried to open the calendar, about the range function not being defined. I think the problem is about the different import from moment.
The library is great, and as I only need one language, I currently did a local modification to support only spanish. When I can, I'll try to further review this.
Thanks

@AutoB
Copy link

AutoB commented Nov 29, 2017

try this : moment.locale('th')

@ghost
Copy link

ghost commented Jan 15, 2020

Any solution yet???

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

3 participants