Hi Pragash,

This bug related to the untranslated checkbox was fixed in version 7.4.  
See this PR https://github.com/DSpace/dspace-angular/pull/1708

So, I'd recommend upgrading to 7.4... or you could reference the fixes 
applied in 7.4 to perform the same fix in your site.

I suspect the second issue may be related to your first issue.  It's not 
currently reproducible in 7.4... so either it was fixed recently as well, 
or it is a bug resulted from the custom code you've added.

If you need more help, let us know on this list (or on dspace-tech).

Tim
On Friday, November 4, 2022 at 6:50:21 AM UTC-5 [email protected] wrote:

> Good day team,
>
>      This constant label is hard corded so it is not getting translated 
> into different languages. I tried adding items into json files, and put the 
> key for the label does not get translated as expected. On a separate note,  
> the one below highlighted in green is working so wondering whether there 
> additional changes needed to get translation working?
>
>
> Issue 1:=> 
>
> export const SECTION_LICENSE_FORM_MODEL = [
>   {
>     id: 'granted',
>     label: 'I confirm the license above (required)',
>     required: true,
>     value: false,
>     validators: {
>       required: null
>     },
>     errorMessages: {
>       required: 'You must accept the license',
>       notgranted: 'You must accept the license'
>     },
>     type: 'CHECKBOX',
>   }
> ];
>
> CURRENTLY WORKS THE TRANSLATION EXAMPLE BELOW:=>
> export const BITSTREAM_FORM_ACCESS_CONDITION_TYPE_CONFIG: 
> DynamicSelectModelConfig<any> = {
>   id: 'name',
>   label: 'submission.sections.upload.form.access-condition-label',
>   options: []
> };
>
>
> Issue 2:
>  Once the checkbox is selected to "I confirm the license the checkbox 
> becomes not visible.
>
> Hope to get another soon, or help on both of the issues.
>
> Regards
> Pragash
>

-- 
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 Community" 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-community/b859a53b-a174-438c-8295-51fe79c4674dn%40googlegroups.com.

Reply via email to