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

UX: pass the current locale to FullCalendar #458

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

renato
Copy link
Contributor

@renato renato commented Oct 19, 2023

Passes the current locale (converted to BCP 47) to the FullCalendar initialization, in addition to a custom buttonText object from our I18n.

There's a "locales" file that could be used from FullCalendar, but it's 20kb minified, I don't think it's worth it.

Sample in Brazilian Portuguese

sample in pt_br

@renato renato merged commit e21f970 into main Oct 20, 2023
4 checks passed
@renato renato deleted the full_calendar_locale branch October 20, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants