You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Translation does not work on item pages for values taken from Controlled vocabularies. On Slack Corrado Lombardi said, that "valuepair.<name of controlled vocabulary> rendering in cris layout configuration should display the value according to language". But in fact that does not work. If I create a language version of the controlled vocabulary by creating a file <name of controlled vocabulary>_<language>.xml, the values in the dropdown list in the submission form is displayed in the language chosen by the user, who uses the submission form. The value in the field is stored in the language of the submission form and it's not translated on item pages, if the user of the item page has set a different language.
To Reproduce
Steps to reproduce the behavior:
Create a language specific version of a controlled vocabulary (for instance types_de.xml)
Use this controlled vocabulary in the submission form (for instance for the field dc.type)
Use the submission form (or an edit form using this field) to set the type of a publication
Set valuepair.<name of controlled vocabulary> in the cris layout configuration for the item page (for instance rendering=valuepair.types for the dc.type field of the Publication entity)
Process the cris layout configuration
Call the publication you have edited and switch languages.
Expected behavior
On the itempage the display of the type field should be in the language the user has actually selected.
Related work
I'm not aware of any related tickets or PRs.
The text was updated successfully, but these errors were encountered:
Describe the bug
Translation does not work on item pages for values taken from Controlled vocabularies. On Slack Corrado Lombardi said, that "
valuepair.<name of controlled vocabulary>
rendering in cris layout configuration should display the value according to language". But in fact that does not work. If I create a language version of the controlled vocabulary by creating a file<name of controlled vocabulary>_<language>.xml
, the values in the dropdown list in the submission form is displayed in the language chosen by the user, who uses the submission form. The value in the field is stored in the language of the submission form and it's not translated on item pages, if the user of the item page has set a different language.To Reproduce
Steps to reproduce the behavior:
dc.type
)valuepair.<name of controlled vocabulary>
in the cris layout configuration for the item page (for instance rendering=valuepair.types
for thedc.type
field of the Publication entity)Expected behavior
On the itempage the display of the type field should be in the language the user has actually selected.
Related work
I'm not aware of any related tickets or PRs.
The text was updated successfully, but these errors were encountered: