Localisation : Calendar Admin, Calendar View and Appointment Terminal
Calendar Admin, Calendar View and Appointment Terminal
The files calendarAdminMessages.properties, calendarClientMessages.properties and appointmentTerminalMessages.properties files in %QP_HOME%/conf/lang are the default language files for the three modules.
Instruction for translating any of the modules:
1. Make a copy of the default properties file and name it e.g. calendarAdminMessages_fr.properties if translating to French.
2. Translate each entry of calendarAdminMessages_fr.properties to the wanted language (e.g. French) and save the file.
The browser language decides which language file is used for Calendar Admin and Calendar View, but the user language decides which language file is used for Appointment Terminal. If no language file exists for the preferred language, the default language file is used. A cache reset in the web browser might be needed for the changes to be applied.
The isRTL and firstDay properties
The calendar.isRTL and calendar.firstDay properties have a special meaning in the context of the calendar-admin and calendar-client applications.
• isRTL: [true|false] is used to determine whether the web application should be rendered from left-to-right or right-to-left. So, for an Arabic translation, one would set 'isRTL':true, while Swedish, for example, would use 'isRTL':false
• firstDay: [0-6] is used to denote which day of the week that is the first day of the week. 0 == Sunday, 1== Monday … 6 = Saturday. This affects the calendar-admin Week Schedule and the calendar-client weekly view where one manages appointments. You do not need to change the 'dayNames', 'dayNamesShort' etc. array indexing if you change firstDay.