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

Locale #311

Closed
DrogazDev opened this issue Aug 15, 2024 · 2 comments
Closed

Locale #311

DrogazDev opened this issue Aug 15, 2024 · 2 comments

Comments

@DrogazDev
Copy link

hey, when i add a locale to the options ('nl') the days abbreviation and dates and such are correctly translated, but month,week,day buttons & the all-day doenst translate. Is there a way for me to translate this manually?

image

@vkurko
Copy link
Owner

vkurko commented Aug 16, 2024

Yes, to change those texts, use the buttonText option:

buttonText: function (text) {
    text.today = 'Vandaag';
    text.month = 'Maand';
    ...
    return text;
}

@vkurko vkurko closed this as completed Aug 16, 2024
@DrogazDev
Copy link
Author

Thx for the help, overlooked it :)

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

2 participants