Open ghost opened 7 years ago
This "should" be possible. We'll need to look and see how to do this in the hyrax stack, but i'm sure the underlying RDF functionality for Ruby we're using supports it. The question I'd have is how easily accessible/renderable the data would be for views (such as forms).
So I think we could do a couple things if we want to pursue this more (which I agree is a great idea):
Not sure if this would need to go to Products or not. It's an enhancement of sorts, for sure, but seems like a very clear use of linked data we'd want to leverage. I defer to @gamontoya
Revisit in future.
Descriptive summary
In Hyrax, is it possible to use a language attribute with prefLabel and altLabel in Concept, Agent, Place so they can be returned in search results and displayed in the UI?
Do we need to alter the D5 data model to make this possible?
Rationale
Users might only know a Concept, Agent, or Place in a particular language and will search for that. Even if there is an English label, the label in another language might be more common in a particular researcher discipline. Users who are not proficient in English would benefit if terms were displayed in languages other than English. This might also help identification and understanding of descriptive metadata (there can be subtle differences in meaning)
Expected behavior
Not sure, but... if a match is found on an a prefLabel or altLabel, in any language besides English, display the label that was searched for so the user understands why they got a match (maybe display in English also?)