Hi Pragash,

At this time, there's a known bug that labels & hints on the submission page 
don't support dynamically changing the language: 
https://github.com/DSpace/dspace-angular/issues/646

For now, it is possible to change the language of the labels by modifying the 
<label> field in your "submission-forms.xml", for example:
https://github.com/DSpace/DSpace/blob/main/dspace/config/submission-forms.xml#L60

It's also possible to create multiple "submission-forms.xml" in different 
languages by using a language code.

  *   submission-forms_de.xml would be used for German
  *   submission-forms_fr.xml would be used for French
  *   submission-forms.xml would be the default

Unfortunately, though, that currently requires duplicating the 
"submission-forms.xml" file entirely for each language.

Tim
________________________________
From: [email protected] <[email protected]> on 
behalf of Pragash Rajeswaran <[email protected]>
Sent: Tuesday, October 11, 2022 5:07 AM
To: DSpace Community <[email protected]>
Subject: [dspace-community] Some Label in Item submission page are not getting 
translated in DSpace 7.0

Good Day Team,

   Utilizing DSpace 7.0 for our project, and I am working on getting all labels 
in the submission forms to get translated. The issue I see, the "Description" 
is being presented at alot of location in the form, and the value is getting 
displayed by many label translations.

example:=> id with " label_dc_description" is presented at details of the 
submission page
                      id with label_array_26" is getting it inside the 
thumbnails of the submission.

I found out section-upload-file-edit.modle.ts is performing the tranlsation 
when a file details is returned by server configuration xml. I also found some 
of the label I am trying to translate are not presented in the ts file which is 
causing the failing.

As I was trying to understand how to add these into .ts file, found there are 
multiple models represented in the file(DynamicDatePickerModelConfig,
  DynamicFormArrayModelConfig,
  DynamicFormControlLayout,
  DynamicFormGroupModelConfig,
  DynamicSelectModelConfig,) , which model should I add the Title/Description 
of the file thumbnail section for translation? and which model would be for 
other area's of the form?

 any details explanation of this would help thank you.


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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/2f4458ed-14f9-4dba-b05f-8e8cb09c17e6n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-community/2f4458ed-14f9-4dba-b05f-8e8cb09c17e6n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR22MB32745663A6E84CD1164EB6EBED239%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to