Text to go in the release notes:
|
This patch set cleans up the way languages are chosen and used in includes when printing slips. Previously, if the system preference 'TranslateNotices' was turned off (meaning the patron had their language set to 'Default'), the includes texts would be in English, even if the library had written their notices in a different language e.g. French.
With this patch set, the language used for includes will always match the language used for creating the notice itself, regardless of whether 'TranslateNotices' is turned on or off.
This patch set also makes important changes to the logic used to set the language. With this patch, the notice will:
1. use patron's preferred language
2. if patron's preferred language is 'default', use the first language in 'language' system preference.
This patch set also adds the display of 'Default language' to the language that will be marked as 'Default' in the notices editor tool so that the librarian writing a notice will know exactly which language will be used when printing slips.
Please note that due to these changes it is no longer possible to print the slip in any installed language simply by switching the staff interface language before printing! Bug 36733 has been added as a follow-up for restoring this functionality.
|