1.15. Language switching for multilingual metadata
Metadata can be available in different languages, see Chapter 1.19.10. If the Goobi viewer is to change the language of the metadata displayed when changing the language in the user interface, the following switch must be set to true:
config_viewer.xml
1
<viewer>
2
<useViewerLocaleAsRecordLanguage>false</useViewerLocaleAsRecordLanguage>
3
</viewer>
Copied!
In the case of initial calls via resolvers, etc., it can happen that the FacesContext is not yet available, so that the configured default language cannot be called up. In this case, a fallback to the language configured in the following switch takes place (default is en).
config_viewer.xml
1
<viewer>
2
<fallbackDefaultLanguage>en</fallbackDefaultLanguage>
3
</viewer>
Copied!
Last modified 3mo ago
Copy link