Popup localisation in french langage

2 posts, 0 answers
  1. Gora
    Gora avatar
    5 posts
    Member since:
    Dec 2011

    Posted 09 Aug Link to this post

    How to localize  in french  create event popup ?

    Please see attached file, i would like have title in french :

    Event ==>  Evenement

    None ==>  aucun

    Time ==>  heure

    Here is my code

                    .Date(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day))
                    .StartTime(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 9, 00, 00))
                    .EndTime(new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 18, 00, 00))
                    .HtmlAttributes(new { @class = "ra-section" })
                    .Views(views =>
                        views.DayView(dayView => dayView.Selected(true));
                    .DataSource(dataSource => dataSource
                    .Model(m =>
                        m.Id(f => f.TaskID);
                        m.Field(f => f.Title);
                        m.Field(f => f.Start);
                        m.Field(f => f.End);
                        m.Field(f => f.EndTimezone);
                    .Events(e => e.Error("error_handler"))
                    .Read("ChargerTous", "TaskScheduler")
                    .Create("Ajouter", "TaskScheduler")
                    .Update("Modifier", "TaskScheduler")
                    .Destroy("Supprimer", "TaskScheduler")


  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    239 posts

    Posted 11 Aug Link to this post

    Hi Gora,

    You could change the default title text by configuring the messages.editor.editorTitle section in the Scheduler helper configuration. For your case, you will have to do the following configuration:
    .Messages(m => m.Editor(e => e.EditorTitle("Evenement")))

    To overwrite the None option label of the Resource drop-down, you could handle the edit event of the Scheduler:
    function onEdit(e) {
        // 'OwnerID' is used below as the resource is mapped in this way:  resource.Add(m => m.OwnerID)
        var $dropdown = e.container.find('.k-edit-field[data-container-for="OwnerID"] select[data-role="dropdownlist"]').data('kendoDropDownList');
        var op = $dropdown.options;
        op.optionLabel = "Aucun";

    I am not quite sure which one is the "Time" text you would like to overwrite.

    Veselin Tsvetanov
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET AJAX banner
Back to Top