2 posts, 0 answers
  1. Jeffrey Edgett
    Jeffrey Edgett avatar
    22 posts
    Member since:
    Jun 2005

    Posted 03 Jan 2012 Link to this post

    How do you return the region code ('en-US', 'fr-CA', etc.) that may have been previously set by using kendo.culture(region_code);
  2. Georgi Krustev
    Georgi Krustev avatar
    3747 posts

    Posted 04 Jan 2012 Link to this post

    Hello Jeffrey,

    kendo.culture() will return object with the current selected culture settings. This object has name property, which is the region code:

    var regionCode = kendo.culture().name; //en-US by default

    Kind regards,
    Georgi Krustev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top