1.19.9 Multilingual metadata

The Goobi viewer supports multilingual metadata. This is indicated by the suffix _LANG_XX in the index field, where XX must be replaced by the language abbreviation. Here is an example of a trilingual title field:

<MD_TITLE_LANG_FR>
    <list>
        <item>
            <xpath>mets:xmlData/mods:mods/mods:titleInfo/mods:title[@lang="fre"]</xpath>
            <addToDefault>true</addToDefault>
            <addSortField>true</addSortField>
            <replace string="&lt;ns&gt;"></replace>
            <replace string="&lt;/ns&gt;"></replace>
            <replace string="&lt;&lt;"></replace>
            <replace string="&gt;&gt;"></replace>
            <replace string="¬"></replace>
        </item>
    </list>
</MD_TITLE_LANG_FR>
<MD_TITLE_LANG_DE>
    <list>
        <item>
            <xpath>mets:xmlData/mods:mods/mods:titleInfo/mods:title[@lang="ger"]</xpath>
            <addToDefault>true</addToDefault>
            <addSortField>true</addSortField>
            <replace string="&lt;ns&gt;"></replace>
            <replace string="&lt;/ns&gt;"></replace>
            <replace string="&lt;&lt;"></replace>
            <replace string="&gt;&gt;"></replace>
            <replace string="¬"></replace>
        </item>
    </list>
</MD_TITLE_LANG_DE>
<MD_TITLE_LANG_EN>
    <list>
        <item>
            <xpath>mets:xmlData/mods:mods/mods:titleInfo/mods:title[@lang="eng"]</xpath>
            <addToDefault>true</addToDefault>
            <addSortField>true</addSortField>
            <replace string="&lt;ns&gt;"></replace>
            <replace string="&lt;/ns&gt;"></replace>
            <replace string="&lt;&lt;"></replace>
            <replace string="&gt;&gt;"></replace>
            <replace string="¬"></replace>
        </item>
    </list>
</MD_TITLE_LANG_EN>

The fields can all be configured equally next to each other in the following sections:

The Goobi viewer automatically recognizes the multilingual fields and displays - if the switch described in Section 1.15 is set to true - only the language of the current user interface.

Last updated