Creative Commons Options not translating in submission form

114 views
Skip to first unread message

Carolyn Sullivan

unread,
Mar 5, 2024, 9:49:47 AM3/5/24
to DSpace Technical Support
Hello,

For some reason, the creative commons options aren't translating in the submission form, ie:

CreativeCommons_030524.png

As pictured, we managed to translate the questions for the French form by removing the default locale (ie. cc.license.locale=en) from dspace.cfg ).  The labels for the radio buttons though remain unchanged.  Are those labels being added dynamically directly from Creative Commons?  What can we do to get them to translate for our French users?

Thanks,
Carolyn

Toni Prieto

unread,
Mar 5, 2024, 1:59:08 PM3/5/24
to dspac...@googlegroups.com

Hello Carolyn,

These translations are provided directly by the Creative Commons API, but unfortunately they don't provide translations for the answers.

I've been working on fixing this by implementing a modification in Angular to translate answers locally. You can see the required changes here:

https://github.com/DSpace/dspace-angular/compare/main...toniprieto:dspace-angular:cc-translate-answers

By applying this change and adding translations in French, you should be able to fix it.

I will try to submit this change for future versions.

Regards,

Toni

--
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/fb2a0f15-e95b-4c25-8f0c-e204d3df05adn%40googlegroups.com.

Carolyn Sullivan

unread,
Mar 6, 2024, 9:08:39 AM3/6/24
to DSpace Technical Support
Hello Toni,

Oooh, thanks, that's very clever!  I'll be contacting the Creative Commons API to ask them to please add translations, but in the interim, that is perfect!  Thank you so much for sharing, I really appreciate it!

Cheers,
Carolyn.

Rachel Wang

unread,
Jan 9, 2026, 4:34:07 PM (24 hours ago) Jan 9
to DSpace Technical Support
Hi Toni and Carolyn, 

I’m bumping this thread as there’s been renewed interest from the community around this issue. 

Toni, thanks again for sharing your solution. Would you be open to contributing this fix back to the main branch? I’m happy to help support the review process. This improvement would be a great enhancement to DSpace’s multilingual support. Please let me know what you think. 

Thank you!
Reply all
Reply to author
Forward
0 new messages