Could you please guide me how to use localization together with require js.
Following code produces error:
window.require(
[
"kendo/kendo.menu.min",
"kendo/kendo.router.min",
"kendo/kendo.notification.min",
"kendo/kendo.window.min",
"kendo/cultures/kendo.culture.en-GB.min",
"kendo/messages/kendo.messages.en-GB.min"
], function() {
window.kendo.culture("en-GB");
console.log("culture", window.kendo.culture());
});
The error is:
TypeError: kendo.ui is undefined Scripts/Kendo/messages/kendo.messages.en-GB.min.js?ver=1450788192741
Rest of config is working.