Inventory (UXPROD-785)

[UXPROD-3790] Inventory. Improved localization of ControlledVocab component Created: 28/Aug/22  Updated: 30/Nov/23

Status: Open
Project: UX Product
Components: None
Affects versions: None
Fix versions: None
Parent: Inventory

Type: New Feature Priority: P3
Reporter: Charlotte Whitt Assignee: Charlotte Whitt
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Cloners
clones UXPROD-3789 Course Reserves. Improved localizati... Open
Defines
is defined by UIIN-2167 Provide local translations to Control... Open
Epic Link: Inventory
Development Team: None
PO Rank: 0
Rank: Cornell (Full Sum 2021): R5

 Description   

Current situation or problem:
Recent work by Priyanka Terala in STSMACOM-453 Closed means we can now provide better translations to the ControlledVocab component. Previously, the component used its own translations to assemble sentences like "the

{thing} could not be deleted" where the only variable was "{thing}

", a problem in languages like German where "the thing" could be "der Kaffee" or "die Milch" or "das Wasser", i.e. the article changes depending on the gender of the noun. Now, it allows the calling application to provide translations, though it will still fall back on its own translations if none are provided (i.e. the work is backwards compatible).

In scope
There are 21 instances of ControlledVocab across for the ui-courses apps:
ui-inventory/src/settings/AlternativeTitleTypesSettings.js
ui-inventory/src/settings/CallNumberTypes.js
ui-inventory/src/settings/ClassificationTypesSettings.js
ui-inventory/src/settings/ContributorTypesSettings.js
ui-inventory/src/settings/FormatsSettings.js
ui-inventory/src/settings/HoldingsNoteTypesSettings.js
ui-inventory/src/settings/HoldingsSourcesSettings.js
ui-inventory/src/settings/HoldingsTypeSettings.js
ui-inventory/src/settings/ILLPolicy.js
ui-inventory/src/settings/IdentifierTypesSettings.js
ui-inventory/src/settings/InstanceNoteTypesSettings.js
ui-inventory/src/settings/InstanceStatusTypesSettings.js
ui-inventory/src/settings/ItemNoteTypesSettings.js
ui-inventory/src/settings/LoanTypesSettings.js
ui-inventory/src/settings/MaterialTypesSettings.js
ui-inventory/src/settings/ModesOfIssuanceSettings.js
ui-inventory/src/settings/NatureOfContentTermsSettings.js
ui-inventory/src/settings/ResourceTypesSettings.js
ui-inventory/src/settings/StatisticalCodeSettings.js
ui-inventory/src/settings/StatisticalCodeTypes.js
ui-inventory/src/settings/URLRelationshipSettings.js

Out of scope

Use case(s)

Proposed solution/stories

Links to additional info

Questions


Generated at Fri Feb 09 00:34:49 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.