Different UICulture and Culture

4 posts, 0 answers
  1. Ole Oscar
    Ole Oscar avatar
    18 posts
    Member since:
    Jun 2008

    Posted 17 Sep 2014 Link to this post

    We have decided to move over to Kendo components.

    The localization requirement is basically the same as standard .NET.

    Culture for dates,numeric and so on.
    UICulture for text.

    The reason for it is that our clients must display amounts in currency NOK(nb-NO) since their data is NOK and not selectable, but they can select either nb-NO or other like for example en-GB as text.
    In Sweden and other countries it is the local currency there, but the text is also UICulture is selectable.
    Is that possible?

    Regards
    Ole Oscar Johnsen
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 17 Sep 2014 Link to this post

    Hello Ole,

    Kendo UI support culture settings according to the standard conventions as explained in the following help topics:
    http://docs.telerik.com/kendo-ui/framework/globalization/definecultureinfo
    http://docs.telerik.com/kendo-ui/aspnet-mvc/globalization

    If you can accomplish what you explain using the standard .NET globalization mechanism with regular html elements, you should be able to do the same with our Kendo UI widgets. Let me know if I am leaving something from your logic out.

    Regards,
    Sebastian
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Ole Oscar
    Ole Oscar avatar
    18 posts
    Member since:
    Jun 2008

    Posted 19 Sep 2014 in reply to Sebastian Link to this post

    Hi,

    If I understand you correctly the kendo.culture call is the same as System.Threading.Thread.CurrentCulture.
    There is no need for System.Threading.Thread.CurrentUICulture since it is handled directly on the server side by html.

    Regards
    Ole Oscar
  4. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 19 Sep 2014 Link to this post

    Let us know if you need additional information which is not present in the help topic I referenced in my previous response, Ole.

    Regards,
    Sebastian
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top