Replies: 6 comments 4 replies
-
@solth Can you please check if the 'Language for metadata' of the user used for this test is English? If the user's language for metadata is English and no English label is configured for the metadata, the metadata ID will be used as label. |
Beta Was this translation helpful? Give feedback.
-
This is an useful feature. But may i ask why this has to be configured using the kitodo_config.properties? I would prefer if it is possible to define for each division in the ruleset, which key should be used for the display of the label. Would that be an option? |
Beta Was this translation helpful? Give feedback.
-
@IkramMaalej it seems the label was not displayed because the whole metadata was not defined in the process' ruleset. So the string was taken directly from the I think instead, only those entries in the configuration that represent metadata of the current process' ruleset should be used when searching for title metadata! As we discussed, the menu should also probably not include the individual metadata entries that are eligable as title, but instead just offer the options "Type", "Title" and "Type - Title", so that multiple metadata keys for different structure types can be displayed at the same time and the user also does not have to worry which metadata acts as title for which structural element. @BartChris I think the reason why this is currently configured in the I will convert this issue into a discussion because further evaluation showed the original issue description is not really the best solution for this. |
Beta Was this translation helpful? Give feedback.
-
@andre-hohmann and @subhhwendt could you weigh in on this issue? |
Beta Was this translation helpful? Give feedback.
-
Yes, the ruleset’s
|
Beta Was this translation helpful? Give feedback.
-
See also discussion in Especially the comment #5016 (comment). |
Beta Was this translation helpful? Give feedback.
-
#4757 added a switch that allows the user to change the label of the tree nodes in the structure tree from type to specific metadata values configured as
metsEditor.titleMetadata
in the central config filekitodo_config.properties
.However, the menu currently displays the
id
of metadata defined in the ruleset (or rather just the values separated by comma aftermetsEditor.titleMetadata
from the config file), which is not optimal, since normally thelabel
of a metadata is used in the Kitodo metadata editor UI and the user is probably not familiar with the internal IDs of the metadata as defined in the ruleset.It would be better to show thelabel
of the corresponding metadata in the menu instead, since the user is familiar with that, optionally preceded with a "Metadata: ", to make the difference to "Type" even easier to understand.After thinking this through with @IkramMaalej, I think the best solution would be the following:
use=title
oruse=structureTitle
in corresponding rulesets (credits go to @BartChris for the suggestion)metsEditor.titleMetadata
fromkitodo_config.properties
, since it doesn't respect the ruleset in use by the current processFor the options "Title" and "Type - Title" only the metadata in the current process has to be checked when searching for structure title information to display.
@subhhwendt , @andre-hohmann could you give your opinion on this idea?
Beta Was this translation helpful? Give feedback.
All reactions