modify search field

112 views
Skip to first unread message

Sarfaraz Mohamed

unread,
Sep 16, 2023, 8:48:15 PM9/16/23
to DSpace Technical Support
Hi

I am using Dspace 7.5 on Ubuntu
I am trying to add to additional search fields

1. By Type
2. By Advisor

I managed to add it , but on the display page shows the following :

1. browse.comcol.by.advisor
2. browse.comcol.by.type

Not sure what i am missing any assistance would be appreciated

Thank you
Screenshot 2023-09-16 235122.png

jarmo.s...@uni-hildesheim.de

unread,
Sep 18, 2023, 2:32:02 AM9/18/23
to DSpace Technical Support
Hi,

I think you just need to add a Translation for those entries into your json5 language files under /src/assets/i18n/ as discribed here: https://wiki.lyrasis.org/display/DSDOC7x/Multilingual+Support

Cheers
Jarmo

Sarfaraz Mohamed

unread,
Sep 18, 2023, 6:02:52 AM9/18/23
to DSpace Technical Support
Thank you.

I have previously added it to : /dspace-frontend/dist/browser/assets/i18n/en.json5

  "browse.comcol.by.author": "By Author",

  "browse.comcol.by.advisor": "By Advisor",

  "browse.comcol.by.dateissued": "By Issue Date",

  "browse.comcol.by.subject": "By Subject",

----------------------------------------------------------------------------------
Still not working  :(

Salony Permanand

unread,
Sep 19, 2023, 12:16:34 AM9/19/23
to Sarfaraz Mohamed, DSpace Technical Support
As per my knowledge, you have to list that two values in en.json5 file and then yarn rebuild is needed
Salony Permanand


--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/43f75660-4b51-4960-8a54-538a2e9b173en%40googlegroups.com.

Sarfaraz Mohamed

unread,
Sep 25, 2023, 3:44:40 PM9/25/23
to DSpace Technical Support
I have done the following :

/dspace-frontend-src/scripts$ npx yarn build:prod

still the same am i missing something can someone post their steps in correcting this.

Thank you

Reply all
Reply to author
Forward
0 new messages