Bryntum by default provides entity name as "Event" so in default functionality of scheduler it shows event everywhere. Like add event or delete event
I want to change entity display name to item . How can I achieve that?
Support Forum
It's done in locales. You can extend locales or create a new one. Here is an example of how to extend En locale:
You can open Basic example and run the code above in console to check how it works.
Please check out extendLocale docs and localization guide for reference (ignore moment.js info, it's out of dated, we will cleanup).
Also you can take a look how we extended Sweden and Russian locales for internal usage in examples. See files in "examples/_localization".
I've created a ticket for next major release (2.0) to have this configurable in one place. Default will be "task". https://app.assembla.com/spaces/bryntum/tickets/7647
Thanks for your feedback!
scheduler.localeManager.extendLocale('En', {
extends : 'En',
EventEdit : {
editEvent : 'Edit item'
},
Scheduler : {
addEvent : 'Add item',
deleteEvent : 'Delete item',
unassignEvent : 'Unassign item'
},
EventFilter : {
filterEvents : 'Filter items'
}
});
Please check out extendLocale docs and localization guide for reference (ignore moment.js info, it's out of dated, we will cleanup).
Also you can take a look how we extended Sweden and Russian locales for internal usage in examples. See files in "examples/_localization".
I've created a ticket for next major release (2.0) to have this configurable in one place. Default will be "task". https://app.assembla.com/spaces/bryntum/tickets/7647
Thanks for your feedback!
Pavlo Miklashevych
Sr. Frontend Developer