Change Scheduler Culture

5 posts, 1 answers
  1. Pascal
    Pascal avatar
    5 posts
    Member since:
    Nov 2013

    Posted 12 Nov 2013 Link to this post

    Hi,

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

    Thx
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 12 Nov 2013 Link to this post

    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!
  3. UI for ASP.NET AJAX banner
  4. Pascal
    Pascal avatar
    5 posts
    Member since:
    Nov 2013

    Posted 12 Nov 2013 Link to this post

    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
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 12 Nov 2013 Link to this post

    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!
  6. Answer
    Pascal
    Pascal avatar
    5 posts
    Member since:
    Nov 2013

    Posted 12 Nov 2013 Link to this post

    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
Back to Top
UI for ASP.NET AJAX banner