Skip to content

search labels not translated #12

Open
@floriangantner

Description

@floriangantner

Describe the bug
The applied search filter labels in the badges above the search results are not translated correctly.

To Reproduce

  1. apply some filter with known translation https://dspacecris7.4science.cloud/search?page=1&configuration=researchoutputs&query=&f.has_content_in_original_bundle=true,equals&spc.page=1
  2. switch to locale de
  3. in the badge "true" is displayed
    Screenshot 2022-12-09 at 09-47-13 DSpace Angular Suche

Expected behavior
3. We expect the existing values from the language json to be translated
4

// "search.filters.has_content_in_original_bundle.true": "Yes",

"search.filters.has_content_in_original_bundle.true": "Ja",

  "search.filters.has_content_in_original_bundle.true": "Ja",

Related work
PR will follow soon...
Either normalize the value and also replace ,equals
or
rename the keys to scheme:
search.filters.has_content_in_original_bundle,equals.true

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions