Page 1 of 1

calendar with german translation?

Posted: Wed Dec 11, 2019 12:15 pm
by ecosis4812
Thank you for the excellence mod for hesk.
I have install the german translation file,- but the calendar is also in english (days, month, ..).
Is this right or have i forget something?

Greentings from Ralf

Re: calendar with german translation?

Posted: Wed Dec 11, 2019 2:01 pm
by mkoch227
In language/de/text-mfh.php (where "de" is your German language folder), find:

Code: Select all

// Language for the calendar pages
// Supported language codes: https://github.com/fullcalendar/fullcalendar/tree/v3.0.1/locale (do not include .js!)
// If your language is NOT in the supported langauges, leave 'en'
$hesklang['CALENDAR_LANGUAGE']='en';
If you're referring to the datepicker and not the actual calendar page, change this value in text-mfh.php:

Code: Select all

// Datepicker language
// Visit https://github.com/uxsolutions/bootstrap-datepicker/tree/master/dist/locales for a complete list (or 'en'). Provide the value between "-datepicker." and ".min.js" below.
$hesklang['DATEPICKER_LOCALE'] = 'en';

Re: calendar with german translation?

Posted: Thu Dec 12, 2019 10:43 am
by ecosis4812
It´s works - Thanks a lot!