All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Code Block |
---|
submission: { autosave: { // NOTE: which metadata trigger an autosave metadata: [], /** * NOTE: after how many time (milliseconds) submission is saved automatically * eg. timer: 5 * (1000 * 60); // 5 minutes */ timer: 0 }, icons: { metadata: [ /** * NOTE: example of configuration * { * // NOTE: metadata name * name: 'dc.author', * // NOTE: fontawesome (v5.x) icon classes and bootstrap utility classes can be used * style: 'fa-user' * } */ { name: 'dc.author', style: 'fas fa-user' }, // default configuration { name: 'default', style: '' } ], authority: { confidence: [ /** * NOTE: example of configuration * { * // NOTE: confidence value * value: 'dc.author', * // NOTE: fontawesome (v4.x) icon classes and bootstrap utility classes can be used * style: 'fa-user' * } */ { value: 600, style: 'text-success' }, { value: 500, style: 'text-info' }, { value: 400, style: 'text-warning' }, // default configuration { value: 'default', style: 'text-muted' }, ] } } }, |
...
The "universal" section pertains to enabling/disabling Angular Universal for Server-side rendering. DSpace requires server-side rendering to support Search Engine Optimization. When it's turned off, your site may not be able to be indexed in Google, Google Scholar and other search engines.
Code Block |
---|
// Angular Universal settings
universal: {
preboot: true,
async: true,
time: false
}, |
The "debug" property allows you to turn on debugging in the Angular UI. When enabled, your environment and all Redux actions/transfers are logged to the console. This is only ever needed if you are debugging a tricky issue.
Code Block |
---|
// NOTE: will log all redux actions and transfers in console
debug: false |
The "defaultLanguage" and "languages" sections allow you to customize which languages to support in your User Interface. See also Multilingual Support.
Code Block |
---|
// Default Language in which the UI will be rendered if the user's browser language is not an active language
defaultLanguage: 'en',
// Languages. DSpace Angular holds a message catalog for each of the following languages.
// When set to active, users will be able to switch to the use of this language in the user interface.
languages: [{
code: 'en',
label: 'English',
active: true,
}, {
code: 'de',
label: 'Deutsch',
active: true,
},
...
], |
The DSpace UI requires that a corresponding language pack file (named with the language code and ending in ".json5") be placed in ./src/assets/i18n/
. See also DSpace 7 Translation - Internationalization (i18n) - Localization (l10n) for information about how to create and contribute these files.
...