| Summary: | Status messages returned by Mana are not translatable | ||
|---|---|---|---|
| Product: | Project Infrastructure | Reporter: | Owen Leonard <oleonard> |
| Component: | Mana-kb (server) | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | major | ||
| Priority: | P5 - low | CC: | caroline.cyr-la-rose, jonathan.druart, josef.moravec, paul.poulain |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | 17047 | ||
| Bug Blocks: | |||
Owen, it is something we should change on server side first right ? Changing the product accordingly. |
Some Mana messages which are shown in Koha are being passed directly from Mana as English strings: lib/Mana/Resource.pm: return { msg => "The $resource already exists on Mana, thanks for your contribution!", id => $id, statuscode => 208 }; These strings are not translatable in Koha. If each message is being sent with a unique statuscode we should put the messages strings in a template and use the statuscodes to control their display.