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. Image for the cookie policy date
close icon

Localization of DatePicker-Component today-Button inside Scheduler

Hi there,

I want to localize the "today"-Button from the DatePicker-Component of the Scheduler:


I already have a locale.json like in your example and there I have set the "today" property to "Heute", as well as for the datepicker - components:

{
    "de": {
        "schedule": {
            "today": "Heute"
        },
        "datepicker": {
            "today": "Heute"
        }
    }
}

Is this the right key or do I have to set another one?

Thanks and best regards,
Oliver




5 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team October 9, 2019 04:47 AM UTC

 
Syncfusion greetings. 
 
Kindly use below code example to customize the Today word in Calendar component. 

"calendar": { 
            "today": "Heute" 
        } 
 
Regards, 
Karthi 
 
 



PO Politzki Oliver October 9, 2019 06:46 AM UTC

Hi Karthi,

it works, thanks!

Best regards,
Oliver


KK Karthigeyan Krishnamurthi Syncfusion Team October 10, 2019 04:19 AM UTC

Most welcome 😊 




LG Luis Gomez June 20, 2021 04:31 PM UTC

Is there a way to localize custom elements added to the calendar like buttons on the footer?



HB Hareesh Balasubramanian Syncfusion Team June 21, 2021 07:30 AM UTC

Hi Luis, 

Greetings from Syncfusion Support. 

Since we are not clear about your exact requirement, kindly share the below details to validate your reported query and provide prompt solution at earliest.  

  • Whether you have rendered a separate calendar component?
  • Whether you have customized the calendar component which is present inside the scheduler’s toolbar?
  • Kindly share your calendar/scheduler rendering code snippets with us.
  • Image or video reference of your requirement
  • Share the issue replicating sample (if possible) to validate further at our end.
 
We will be happy to assist you..! 
  
Regards, 
Hareesh 


Loader.
Live Chat Icon For mobile
Up arrow icon