Multilingual Facet Values and Discovery Search

74 views
Skip to first unread message

Stephen Brush

unread,
Nov 27, 2023, 2:06:05 PM11/27/23
to DSpace Community
We have a multilingual deployment of DSpace (v7.3) with some fairly strict language requirements. We are hoping there is a way to control the values shown in the faceted search filter so that only the values of the current language are shown at a time.

E.g. in the Subject facet box "Minerals" would show when in "en" and "Minerales" when in "es".

Is there any built-in support for something like this?

- - - - - - - - - - - - - -
Assuming there isn't, I believe I have a solution. I have already added a language value to the Projection class for some prior multilingual requirements. What I plan to do is add an additional DiscoveryConfiguration (e.g "default_es") and update the call to determine the configuration to use to include the language (in DiscoveryRestRepository and DiscoveryConfigurationService).

However, once a language specific config is returned I still need language specific values. I don't believe SOLR utilizes the language attributes stored in "metadatavalue"so I will also need to duplicate values in a new language specific field in SOLR via a curation task/scripted job.

E.g. dc.subject = Minerals, dc.subject.es = Minerales

Any thoughts on the approach?

Thanks,

Steve
Reply all
Reply to author
Forward
0 new messages