Details
-
Type:
Story
-
Status: In progress (View Workflow)
-
Priority:
P2
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Template:
-
Development Team:Core: Platform
-
Affected Institution:GBV
-
Epic Link:
Description
Overview: English error messages when lang parameter is non-English in some 4xx responses.
Steps to Reproduce:
- Switch to German locale
- Request an item that the requester currently has on loan.
Expected Results: German error message.
Actual Results: English error message:
{ "errors" : [ { "message" : "This requester currently has this item on loan.", "parameters" : [ { "key" : "itemId", "value" : "7212ba6a-8dcf-45a1-be9a-ffaa847c4423" }, { "key" : "userId", "value" : "b4cee18d-f862-4ef1-95a5-879fdd619603" }, { "key" : "loanId", "value" : "38c377d0-842f-4c59-952f-b56635445cd5" } ] } ] }
Additional information:
The language file with English string and the language files with translated strings should use the same directory structure and JSON format as the front-end modules have so that the existing scripts of the FOLIO localization workflow with https://lokalise.com/ can be re-used.
- https://wiki.folio.org/display/I18N/How+To+translate+FOLIO
- https://github.com/folio-org/stripes/blob/master/doc/dev-guide.md#creating-module-translations
- https://github.com/folio-org/stripes/blob/master/doc/i18n.md
translations/mod-circulation/ ar.json ca.json da.json de.json en.json en_GB.json en_SE.json en_US.json es_419.json fr_FR.json ...
Implementation note:
The standard ICU Java libary is https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/
TestRail: Results
Attachments
Issue Links
- blocks
-
UIREQ-603 Internationalize back-end failure messages
-
- Closed
-
- defines
-
UXPROD-371 Enable translation of validation and other error messages that display verbatim from back end
-
- Open
-
- is blocked by
-
STRIPES-750 DECISION: Which module should host back-end translation files?
-
- Closed
-
- relates to
-
UIREQ-220 English words/phrases showing up in FOLIO Apps UI while in RTL - Requests App
-
- Closed
-
-
FOLIO-1716 Uniquely identify backend API validation errors
-
- Closed
-
-
UICIRC-577 Add translation key "mod-circulation.noItemFoundForBarcode"
-
- Blocked
-
-
UIREQ-607 Add translation key "mod-circulation.requesterHasItemOnLoan"
-
- Blocked
-
- mentioned in
-
Page Loading...