Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Localization and require.js

$
0
0

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.

 

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>