1.37 Translations
For the configuration of the translation groups offered in the backend, the following block exists in the configuration file:
config_viewer.xml
<translations>
<group type="SOLR_FIELD_NAMES" name="translation__group_name_solr-fields" description="translation__group_description_solr-fields">
<key>DC</key>
<key>ACCESSCONDITION</key>
<key>BOOL_IMAGEAVAILABLE</key>
<key>FULLTEXTAVAILABLE</key>
<!-- List all MD_ fields except the ones that end with _UNTOKENIZED -->
<key regex="true">MD_.*(?&lt;!_UNTOKENIZED)$</key>
<!-- List all MD_ fields except the ones that contain CODICOLOGICAL,
DATE_SEARCH, NAME_SEARCH, PLACE_SEARCH and ent with _UNTOKENIZED
<key regex="true">MD_(?!.*CODICOLOGICAL)(?!.*DATE_SEARCH)(?!.*NAME_SEARCH)(?!.*PLACE_SEARCH).*(?&lt;!_UNTOKENIZED)lt;/key>
-->
</group>
<group type="SOLR_FIELD_VALUES" name="translation__group_name_collections" description="translation__group_description_collections">
<key>DC</key>
</group>
<group type="CORE_STRINGS" name="translation__group_name_email" description="translation__group_description_email">
<key>commentChangedNotificationEmailBody</key>
<key>commentChangedNotificationEmailSubject</key>
<key regex="true">commentNewNotificationEmail.*</key>
<key regex="true">feedbackEmail.*</key>
<key regex="true">user_activationEmail.*</key>
<key regex="true">user_retrieveAccountConfirmationEmail.*</key>
<key regex="true">user_retrieveAccountNewPasswordEmail.*</key>
</group>
<group type="LOCAL_STRINGS" name="translation__group_local_messages" description="translation__group_description_local_messages">
<key regex="true">.*</key>
</group>
</translations>
The parameters are explained in detail in the following table:
Option
Description
group
A <group /> entry encloses the options for the translation group. There can be any number of <group /> entries.
group/@type
The type="" attribute defines the potential values that exist in the group. There are the following possibilities:
  • SOLR_FIELD_NAMES: Lists the Solr field names corresponding to the values configured in the key entries.
  • SOLR_FIELD_VALUES: Lists the Solr field values of the fields configured in the key entries.
  • CORE_STRINGS: Lists the message keys from global messages_XX.properties files.
  • LOCAL_STRINGS: Lists the message keys from local messages_XX.properties files.
group/@name
Message key for the name of the translation group. This name is displayed as a heading in the backend for the group.
group/@description
Message key for the description of the translation group. This description is displayed in the backend for the group.
group/key
Each group of type SOLR_FIELD_NAMES or SOLR_FIELD_VALUES may contain a list of <key /> entries matching the field names. Each group of type CORE_STRINGS can contain a list of <key /> entries corresponding to the name of the message key.
group/key/@regex
If the attribute regex="true" is set, all field names or message keys are selected based on the specified regular expression.
Copy link