React Scheduler - Localization

The React Scheduler provides an API that allows you to format dates and localize messages.

Format Dates

Scheduler UI plugins can display dates that are formatted depending on the locale. To specify the locale, assign one of the supported formats to the Scheduler component's locale property.

Localize Messages

Most UI plugins have the messages option that accepts localized messages.

Basic Setup

The following example demonstrates how to localize the Scheduler by specifying the messages and locale properties.

Developing a React App? Check out our updated React UI Suite instead.
If you are considering React for an upcoming software project or have used DevExtreme Reactive components in the past, please visit js.devexpress.com/React
Migrate to DevExtreme React
DevExtreme Reactive product line is now in maintenance support mode. If you're building a React app, consider our up-to-date DevExtreme React UI suite. For more information, visit the Migrate from DevExtreme Reactive help topic on the DevExtreme React site.

Customize Date Formatting

To customize how dates are formatted in a component, override the component and set the formatDate property to a function that formats dates. The following example illustrates these actions. Note that in this example, the Moment.js library is used to work with dates.

Developing a React App? Check out our updated React UI Suite instead.
If you are considering React for an upcoming software project or have used DevExtreme Reactive components in the past, please visit js.devexpress.com/React
Migrate to DevExtreme React
DevExtreme Reactive product line is now in maintenance support mode. If you're building a React app, consider our up-to-date DevExtreme React UI suite. For more information, visit the Migrate from DevExtreme Reactive help topic on the DevExtreme React site.

This site uses cookies to make your browsing experience more convenient and personal. Cookies store useful information on your computer to help us improve the efficiency and relevance of our site for you. In some cases, they are essential to making the site work properly. By accessing this site, you consent to the use of cookies. For more information, refer to DevExpress’ privacy policy and cookie policy.