submission-forms.xml

83 views
Skip to first unread message

Stevenson Gossage

unread,
Sep 29, 2022, 11:02:57 AM9/29/22
to DSpace Developers
Hello,

I was wondering about the integration between the JSON language files and the item submission form. When viewing the create new item submission form, some elements on the form dynamically get updated to the new language when you switch to another language.  The section headings and warnings are all updated but the contents, each field within a section remain in English - or whatever language is hard coded in the submission-form.xml. There is one exception, in the upload file section, when you are editing the bitstream the fist 2 fields are not updated but the rest are updated to the currently selected language. Ideally, if the each field can be mapped to an element in the JSON  language  files then the  fields should dynamically update  when the language changes.

I was wondering if this is supported or is it a new feature?

thanks,

Stevenson

Tim Donohue

unread,
Oct 11, 2022, 1:49:37 PM10/11/22
to DSpace Developers
Hi Stevenson,

Currently, there's a known issue that the submission-forms.xml doesn't support dynamic translations (at least not well).  See this bug ticket  https://github.com/DSpace/dspace-angular/issues/646 and specifically this comment: https://github.com/DSpace/dspace-angular/issues/646#issuecomment-1275048447 

So, this isn't yet fully supported, but there's a workaround of duplicating your submission-forms.xml for each language (see the comment above)

Tim

Reply all
Reply to author
Forward
0 new messages