Skip to content

Add a property to handle custom locale #15

@Angrigo

Description

@Angrigo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions