added an option to translate the weekdays