Customazing GDPR Cookie consent by Klaro

34 views
Skip to first unread message

Jan Skůpa

unread,
Jun 16, 2023, 7:05:28 AM6/16/23
to DSpace Community
Hi,
anyone know how I can customize cookie consent? There is missing czech translate and I don't know where is it, thank you!
Jan

Mark H. Wood

unread,
Jun 16, 2023, 8:07:37 AM6/16/23
to dspace-c...@googlegroups.com
On Fri, Jun 16, 2023 at 04:05:27AM -0700, Jan Skůpa wrote:
> anyone know how I can customize cookie consent? There is missing czech
> translate and I don't know where is it, thank you!

Search the message catalog for "cookie". There are many entries.
They are present in 'src/assets/i18n/cs.json5', but it appears that
none have been translated -- they are all in English, apparently
copied from en.json5.

Translation is one area in which DSpace can always use more help. If
you can share any changes that you make, that would be greatly appreciated.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Jan Skůpa

unread,
Jun 16, 2023, 8:21:23 AM6/16/23
to DSpace Community
Hello Mark,
thank you!
I have translated the individual messages in the cs.json5 file, but it is strange that the website displays czech sentences that are simply not included in the translation file. That's why I'm confused and have no idea where it's coming from.

Dne pátek 16. června 2023 v 14:07:37 UTC+2 uživatel Mark H. Wood napsal:

DSpace Community

unread,
Jun 16, 2023, 10:38:40 AM6/16/23
to DSpace Community
Hi Jan,

This question also came up on dspace-tech: https://groups.google.com/g/dspace-tech/c/zte9zqxsANg

I suspect you may be running DSpace 7.4?  There was a bug with the translation messages of the Cookie notification accidentally introduced in DSpace 7.4.  See this ticket: https://github.com/DSpace/dspace-angular/issues/2027

It was fixed in 7.5.  So, it no longer exists if you upgrade. 

Tim

Jan Skůpa

unread,
Jun 19, 2023, 2:27:57 AM6/19/23
to DSpace Community
Hi Tim,
great, thank you, I missed that. Yes, we have DSpace 7.4, so upgrade will fixed this.
Thanks
Jan

Dne pátek 16. června 2023 v 16:38:40 UTC+2 uživatel DSpace Community napsal:
Reply all
Reply to author
Forward
0 new messages