Language in Calender

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
jones
Posts: 75
Joined: Sat Jul 20, 2013 6:41 pm

Language in Calender

Post 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?
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Language in Calender

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
jones
Posts: 75
Joined: Sat Jul 20, 2013 6:41 pm

Re: Language in Calender

Post 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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Language in Calender

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply