Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Nick 2 posts 72 karma points
    Jan 28, 2016 @ 08:51

    Language on DatePicker not changing


    I have installed the package and everything is working correctly, except for the DatePicker which isn't wanting to change to English (GB). I have modified the controller but it seems it is still on Norwegian.

    Are there any steps I can take to ensure I have set the right language? I followed the documentation and made sure the ajax request was pulling the correct language file.

  • Ole Martin Bakke 109 posts 621 karma points
    May 06, 2016 @ 07:07
    Ole Martin Bakke

    Hi, sorrt for a very delayed reply, I haven't got the notification mail about this post.

    The language in the datepicker is set in the file: ks.umbraco4.calendar.controller.js located in the /scripts/backend-folder.

    Look at line 7,21,35,44 Change lang: 'no' to lang: 'en' and hopefully that will fix your issue. After changing this you might have to do a hard reload of the backoffice or even empty your browser cache for the site.

    Hopefully this will help you

Please Sign in or register to post replies

Write your reply to: