Page 1 of 1

Language in Calender

Posted: Tue Jun 21, 2016 1:37 pm
by jones
Hi Mike,

I have now install and translate mfh 2.6.1 to Danish.

And i can see that you have write:
Calendar now changes language depending on helpdesk language (NOTE: The language file for the calendar (as stored in /js/calendar/lang) must match your language folder's name). In Danish - Hesk is in dk folder and the calender lang is in da.js

My question is:
Can I change the Danish folder in languages from dk to da, without anything happens to the rese of the installation and files which I already use?

Re: Language in Calender

Posted: Tue Jun 21, 2016 1:41 pm
by mkoch227
After renaming the folder, you will also need to change the folder name in hesk_settings.inc.php. Find:

Code: Select all

'Danish' => array('folder'=>'dk', ...
Change 'dk' to 'da'. Save, upload, and test.

Re: Language in Calender

Posted: Tue Jun 21, 2016 2:05 pm
by jones
Hi Mike,

Thanks a lot :-)

Do you also where i can change the date format from (yyyy-mm-dd) to (dd-mm-yyyy), when i create a events in the calender ?
Because in Denmark we use the date format in (dd-mm-yyyy).

I have triede and look here: https://modsforhesk.atlassian.net/wiki/ ... d=16842754

Re: Language in Calender

Posted: Tue Jun 21, 2016 2:28 pm
by mkoch227
Currently, everything is in ISO-8601 format (YYYY-MM-DD) as it is more "universally" known to everyone. Ideally, a future update would set the format based on the user's browser settings, so US users would most likely see mm/dd/yyyy, or dd-mm-yyyy for you browser, etc.