Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix language-specific metadata display issues #1378

Open
jacobthill opened this issue Jan 5, 2022 · 0 comments
Open

Fix language-specific metadata display issues #1378

jacobthill opened this issue Jan 5, 2022 · 0 comments
Assignees
Labels

Comments

@jacobthill
Copy link
Contributor

DLME users are multilingual; some need to interact with the application in English and others in Arabic. The metadata partners provide us comes in many languages. The solution we came up with is to show Arabic metadata in the Arabic view and English metadata in the English view. In some cases the metadata is in other languages or may have undetermined values (e.g. 'und-Arab' or 'und-Latn'). To solve this problem we should be displaying in the English view:

  • fields with 'en' language tags first,
  • then, other Latin script languages which we can prioritized by changing the order here. The changes made in January 2021 implemented this functionality.

The Arabic view is similar but Arabic scripts are prioritized over Latin.

When values are present in Arabic and Latin script, only one script should show. This works as expected for some fields (e.g. cho_language, cho_type, etc.) but for some fields values in both scripts are displayed. For example, in the creator, contributor, and alternative title fields of this record you can see values in Arabic and Latin script.

@jacobthill jacobthill added the bug label Jan 5, 2022
@jacobthill jacobthill self-assigned this Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant