Implementing language-specific default.license files

15 views
Skip to first unread message

Carolyn Sullivan

unread,
Feb 27, 2026, 1:15:11 PM (2 days ago) Feb 27
to DSpace Technical Support
Hello all,

I'm from a bilingual French/English institution, and I've been receiving complaints from staff that our default license isn't localized--ie. there is only one default.license file allowed, you cannot have a French-specific default.license that appears when the user is in the French interface and an English-specific default.license that appears when the user is in the English interface.

As a stopgap measure, we've placed both the French AND English text in our default.license, but this isn't considered best practices.  Has anyone figured out how to localize the default.license that displays to the user and is saved in the form?  

Thanks,
Carolyn.

Carolyn Sullivan

unread,
Feb 27, 2026, 1:19:12 PM (2 days ago) Feb 27
to DSpace Technical Support
It also looks like a solution has been created for this problem, given that this issue has been raised and closed : https://github.com/DSpace/DSpace/issues/8882

Is that the case?  Is there any documentation on implementing that solution?  We're on DSpace 7.6.5 with plans to upgrade to DSpace 8.x

DSpace Technical Support

unread,
Feb 27, 2026, 1:34:12 PM (2 days ago) Feb 27
to DSpace Technical Support
Hi Carolyn,

I believe this already exists as of 7.6.1.  You can create additional "default.license" files for each language like:

- default_fr.license  (French version)
- default_de.license (German version)
- default.license (Default version, which will be used if no language matches)

Then update your supported locales in this setting to list all languages you want to support:

webui.supported.locales = en, fr, de

That setup should give German and French language files alongside the default English one.

This was implemented in this PR (which is where I found those instructions): https://github.com/DSpace/DSpace/pull/8966

Tim

Reply all
Reply to author
Forward
0 new messages