https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24172
--- Comment #52 from Nick Clemens (kidclamp) <[email protected]> --- Created attachment 172223 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172223&action=edit Bug 24172: [WIP alternate] Process seasons using locale when generating FIXME: I like this path, however, what we really need is a way to get localized seasons in the perl. DateTime handles months and daynames, but has no support for seasons. This patch won't work because it relies on having the languages installed and being able to translate locale 'fre' to language dir 'fr-FR' Attaching only for possible future reference. Currently we are always generating season strings as English, and translating in the templates. Compare this to handling of day/month names which are translated when generated. The numbering for a serial issue is expected to be static as printed - i.e. the French version of an issue will always say 'Hiver' while the English will always say 'Winter'. Translating depending on the interface language will make it harder for users to locate issues in a bilingual context This patch relies on bug 38034 allowing the processing of includes in process_tt If this patch is acceptable we will need a follow-up with a script to correct older serials to the correct locale in the DB - we should be able to run them through process_tt with the correct locale To test: 0 - Apply patch 1 - Make sure you have at least one language other than English installed, we're using French here 2 - Ensure translations are updated after this patch, or install the patch with the fr-FR localizer.inc 2 - Create 2 subscriptions, using numbering 'Seasonal', 1 with locale in english, 1 with locale French 3 - Ensure the prediction is in correct language for the locale 4 - Receive some issues 5 - Confirm the issues are generated with the correct locale for each subscription 6 - Ensure that changing the interface for the staff client does not affect the numering for any views Author: Nick <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
