How to customize the lightbox labels?

Hi,
I need to customize the lightbox labels.


I need to change the “Description” shown in the above to “Vendor Instruction”.
I tried it by changing dhtmlxscheduler.js

[code]scheduler.locale = {
date: {
month_full: [“January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”, “November”, “December”],
month_short: [“Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”, “Sep”, “Oct”, “Nov”, “Dec”],
day_full: [“Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”],
day_short: [“Sun”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”]
},
labels: {
---------------
---------------
section_description: “Vendor Instruction”, – previously[section_description:“Description”]
section_time: “Time period”,
full_day: “Full day”,

        /*recurring events*/
        confirm_recurring: "Do you want to edit the whole set of repeated events?",
        section_recurring: "Repeat event",
        button_recurring: "Disabled",
        button_recurring_open: "Enabled",
        button_edit_series: "Edit series",
        button_edit_occurrence: "Edit occurrence",

        /*agenda view extension*/
        agenda_tab: "Agenda",
        date: "Date",
        description: "Description",
        -----------------
        -----------------
    }
};[/code]

But nothing has changed. What can I do?

Hi,
you can either change the label in scheduler.locale object (client-side)
JS: scheduler.locale.labels.section_description = "Vendor Instruction";
or specify it in control configuration on the server:
C#: scheduler.Lightbox.Add(new LightboxText("text", "Vendor Instruction"));
scheduler-net.com/docs/lightbox. … e_lightbox

Thank you :slight_smile: That worked