Hi Rachel,

I've just submitted a PR:
https://github.com/DSpace/dspace-angular/pull/5031

And the version for 8.x / 7.x:
https://github.com/DSpace/dspace-angular/pull/5032

I wasn't sure whether it made sense to do this, since the integration with the CC API is expected to be replaced (see: https://github.com/DSpace/DSpace/issues/9397).
However, at the moment there is no volunteer to work on that change.

Regards,
Toni


El 9/1/26 a las 22:34, Rachel Wang escribió:
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!

On Wednesday, March 6, 2024 at 9:08:39 AM UTC-5 Carolyn Sullivan wrote:

    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.

    On Tuesday, March 5, 2024 at 1:59:08 PM UTC-5 Toni Prieto wrote:

        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

        On 5/3/24 15:49, Carolyn Sullivan wrote:
        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
-- 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 [email protected].
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/dspace-tech/fb2a0f15-e95b-4c25-8f0c-e204d3df05adn%40googlegroups.com
        
<https://groups.google.com/d/msgid/dspace-tech/fb2a0f15-e95b-4c25-8f0c-e204d3df05adn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: https://lyrasis.org/code-of-conduct/
---
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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/f51085bb-3e69-4647-9249-a49aad163448n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/f51085bb-3e69-4647-9249-a49aad163448n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--

Toni Prieto
Universitat Politècnica de Catalunya
Tel.: 93 405 42 49

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://lyrasis.org/code-of-conduct/
--- 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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/7a66e171-6433-4105-8ed4-c8a3bc0069cd%40upc.edu.

Reply via email to