| Summary: | Translating Custom slips adds same amount of options to the Print dropdown in patron's details | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Anneli Österman <anneli.osterman> |
| Component: | Notices | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: | Custom slip with two languages | ||
Created attachment 190287 [details] Custom slip with two languages When you add a custom slip and there are several languages installed and translating notices (TranslateNotices system preference) is allowed there will be as many options as added languages in the Print dropdown menu in patron's details. All of those options print the slip in the the language that has been selected as patron's Preferred language for notices. So, if you have three languages plus default you will get four options that all look the same (name comes from the Name of the notice) and prints the same content. How to reproduce: 1. Make sure you have at least to languages added to Koha. 2. Select in StaffInterfaceLanguages systempreferences at least two of those languages 3. Choose "Allow" to TranslateNotices systempreference 4. Go to Tools - Notices and slips - New notice - Patrons (custom slip) 5. Add code (TEST) and Name (Testing languages) 6. Add (different) content to at least two languages 7. Go to random patron's details and modify to select one of the selected languages as Preferred language for notices. Save. 8. Select Print from the toolbar and notice that there are at least two custom slips with the same name 9. Try to print both/all of them and notice that all of them prints the content in the language that patron has preferred. See the screenshot attached.