Bug 34579 - Separate notice/message languages from installed languages
Summary: Separate notice/message languages from installed languages
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 18:32 UTC by Magnus Enger
Modified: 2024-05-01 16:51 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2023-08-18 18:32:50 UTC
This was mentioned by a Finnish library at PerlKohaCon23, and it makes a lot of sense! As far as I can see there is no previous bug for this. 

Currently, the list of installed languages governs which languages can be chosen as the "Preferred language for notices" for a patron, as well as the languages that notices can be translated into. This is too restrictive, and it should be possible to define a list of active/available "languages for notices", independently of the installed languages. 

For example, libraries in Finland, Sweden and Norway might want to be able to send out notices in one or more of the Sami languages, even though there are no translations for them (yet).

I *think* we could use authorised values for this. As long as the codes in borrowers.lang and letter.lang correspond to each other, it shouldn't matter exactly *what* they are? Or am I missing something? We could also add a syspref to make it possible to choose between using the installed languages (default) and the alternative method of using the authorised values.