Hi Carolyn, The i18n keys that Klaro uses/expects are the ones defined in the klaro-configuration.ts file here: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/shared/cookies/klaro-configuration.ts#L79-L121
Each of the strings in that setting is an i18n key that should exist in your en.json5. If you are missing any, then that may be why your display is not working properly. In the end, the Klaro popup should look like the one on our demo site: https://demo.dspace.org. If you already accepted the settings on our demo site, you can access the popup again by clicking on the "Cookie settings" link in the footer. Tim On Friday, February 28, 2025 at 1:12:57 PM UTC-6 Carolyn Sullivan wrote: > Thanks for the clarification, Tim! > > So with regard to the absence of any words after 'Hi! Could we please > enable some additional services for [BLANK]?, I'm still confused how we > would add custom text for [BLANK]. I checked the pull request you linked, > and it looks like we are up to date for that--our > src/app/shared/cookies/browser-klaro.service.ts shows: > > [image: Klaro_022825.png] > > There must then just be a variable we haven't assigned a value to yet in > the i18n packages... is this it? > [image: Klaro_022825_i18n.png] > > Or is it some variable in > the > dspace-7-frontend/-/blob/master/src/app/shared/cookies/browser-klaro.service.spec.ts > > file? > > Thanks so much, > Carolyn. > > On Thursday, February 27, 2025 at 3:41:58 PM UTC-5 DSpace Technical > Support wrote: > >> Hi Carolyn, >> >> Klaro is used to align DSpace with privacy requirements such as GDPR. >> Those requirements say that applications *must* ask for consent before >> storing any cookies in a user's browser. DSpace **requires** storing some >> cookies in a user's browser in order to maintain your session (after >> authenticating) and similar. This means that, regardless of whether Google >> Analytics is used, DSpace still must use Klaro in order to align with GDPR >> (and similar) regulations. Because DSpace strives to align with GDPR, Klaro >> is not removable at this time. (The only way to remove it would be to >> remove it's code, there is no configuration) >> >> Regarding the missing "translations" for your Klaro popup, that bug was >> fixed in 7.5 (https://github.com/DSpace/dspace-angular/pull/2031), but >> also popped up briefly during the 8.1 development (fixed here >> https://github.com/DSpace/dspace-angular/pull/3625). I'm guessing maybe >> you are running code where this bug was not yet fixed. >> >> Tim >> >> On Tuesday, February 25, 2025 at 3:23:52 PM UTC-6 Carolyn Sullivan wrote: >> >>> Hello, >>> >>> Recently I noticed this pop-up: >>> [image: KlaroPopup_022525.png] >>> Digging suggests that it's from https://github.com/klaro-org/klaro-js >>> >>> A few questions: >>> (1) We don't use Google Analytics or any other services, so I guess we >>> don't need Klaro (am I correct?). How do I get rid of this pop-up then? >>> Do I just delete the folder dspace-7-frontend/src/app/shared/cookies (I'm >>> guessing no, deleting stuff seems drastic...)? >>> (2) If we did get 'some other service' in the future, how do I edit the >>> translations marked out >>> in >>> dspace-7-frontend/-/blob/master/src/app/shared/cookies/klaro-configuration.ts >>> >>> ? I see some of the translations marked under zz in the i18n translation >>> pack, but nothing corresponding the 'enable some additional services for'. >>> >>> Thanks so much for your help! >>> Carolyn. >>> >> -- 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+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/c2ac0ecb-4bb9-41db-9cf5-d52f1f4dbc87n%40googlegroups.com.