10851 Posts in 2517 Topics by 1793 members
|Go to End|
8 May 2013 at 1:14am Last edited: 10 May 2013 9:24pm
First of all, thanks for a really nice module UC!
I have an issue regarding translation of dates with the event calendar module. When adding setlocale(LC_ALL, 'nb_NO'); in the _config.php file the $DateRange translate the dates in norwegian, but it seems like this configuration is causing the events not to load at first click in CMS. When I click on an event back end the right frame of CMS is just blank. No errors in Firebug. If I refresh the page the event appear agian.
I have removed all the norwegian translation files from the module to exclude potential errors in these files. But still the events wont load before I have refreshed the pages. Also when creating a new event page it does not appear after save. I have to do a refres first.
Is there anybody else that has experienced this or does anyone have a clue about what might be going on here?
10 May 2013 at 8:59pm
I found a solution for this. If I put .utf-8 on the end of the locale code it seems to work.
I am not sure why, but this does the trick. The events are loading in the cms now without having to refresh all the time. It seems likely that it has something to do with the special characters of norwegian language. Has anyone else had this experience with the event_calendar or any other modules? It would be interesting to understand more exactly how this works.
|Go to Top|