This is a migrated thread and some comments may be shown as answers.

Change Scheduler Culture

4 Answers 202 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Pascal
Top achievements
Rank 1
Pascal asked on 12 Nov 2013, 09:45 AM
Hi,

i'm trying your product.
I'm playing with the scheduler, and how can i change culture of it ?

Thx

4 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 12 Nov 2013, 09:56 AM
Hello Pascal,

You should be able to change the culture of the scheduler (along with the rest of the Kendo UI widgets on the page) using the kendo.culture method. See this topic in the online documentation for more info.

Best regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Pascal
Top achievements
Rank 1
answered on 12 Nov 2013, 10:16 AM
Sorry, it was my mistake, i put the 

<script type="text/javascript">
     kendo.culture("fr-FR");
</script>

in 
 $(document).ready(function() 

Now, it works, days are in french, but Taoday button, Month, Day are still in english
0
Sebastian
Telerik team
answered on 12 Nov 2013, 01:26 PM
HI again Pascal,

If you want to localize the scheduler messages, you can do that via the messages API option.

Best regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
Pascal
Top achievements
Rank 1
answered on 12 Nov 2013, 02:31 PM
Thx,



i'm using PHP Wrapper

$scheduler->messages( array('today' => 'Aujourd\'hui'));
It works, but i didn't found in the APi how to change message for addWindowTitle, editWindowTitle ....


I found the solution:

       $scheduler- ->messages( array('today' => 'Aujourd\'hui',
            'editor' => array('editorTitle' => 'Titre'))           
            )
Thx
Tags
Scheduler
Asked by
Pascal
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Pascal
Top achievements
Rank 1
Share this question
or