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

Add a property to handle custom locale #15

Open
Angrigo opened this issue Feb 20, 2023 · 0 comments
Open

Add a property to handle custom locale #15

Angrigo opened this issue Feb 20, 2023 · 0 comments

Comments

@Angrigo
Copy link

Angrigo commented Feb 20, 2023

When developing an application not always we want default languages, the idea is to provide a detailed locale property instead of just a string

<Scheduler 
locale={{
  "day": "Day",
  "week": "Week",
  "month": "Month",
  "timeline": "Timeline",
  "mon": "Mon",
  "tue": "Tue",
  "wed": "Wed",
  "thu": "Thu",
  "fri": "Fri",
  "sat": "Sat",
  "sun": "Sun",
  "search": "Search..."
}}
events={events}
legacyStyle={false}
...
/>

by doing so you prevent forking this project just to change locale and give more customization options

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

1 participant