We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ShedulerComponent with locale

Thread ID:

Created:

Updated:

Platform:

Replies:

144003 Apr 13,2019 05:43 PM UTC Apr 15,2019 05:38 AM UTC ReactJS 1
loading
Tags: Scheduler
Angelo Bastos
Asked On April 13, 2019 05:43 PM UTC

Hello.

I wanted to know if it is possible to inject a locale to the scheduler component or if it is possible to replace the default texts with a customized one.
For example i wanted to translate to Portuguese.


I tried the following but with no results:

<ScheduleComponent
locale="pt-PT"
selectedDate={this.state.date}
startHour="06:00"
endHour="22:00"

>
<ViewsDirective>
<ViewDirective option="Day" eventTemplate={this.eventTemplate}/>
<ViewDirective option="WorkWeek" eventTemplate={this.eventTemplate} />
<ViewDirective option="Month" eventTemplate={this.eventMonthTemplate}/>
<ViewDirective option="TimelineDay" eventTemplate={this.eventTimelineTemplate}/>
</ViewsDirective>
<Inject services={[Day, WorkWeek, Month, Agenda, TimelineViews, Resize, DragAndDrop]}/>
</ScheduleComponent>


Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 15, 2019 05:38 AM UTC

Hi Angelo, 
 
Greetings from Syncfusion. 
 
Yes, kindly refer the below UG link. 
 
Regards, 
Karthi 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon