License locale not resolved in DataCite Export

Hi,

in the export files of the data cite export plugin, the locales for the licenses are not resolved, resulting in e.g.

##submission.license.cc.by4.footer##

This only happens if the Quick Submit Plugin is not installed. In the register function of the quick plugin, the locale LOCALE_COMPONENT_PKP_SUBMISSION is loaded and this function is called when exporting data with the DataCite Plugin.

Version: OJS 3.1.1

best,
Carola

Hi,

reload :slight_smile:

best,
Carola

Hi @carola,

Thanks for the heads-up – I’ve added the locale load to the PKPApplication function itself, rather than depending on various calling functions to add it themselves. See Add locale load to CC badge resolution · pkp/pkp-lib@c0f172e · GitHub for a patch.

Regards,
Alec Smecher
Public Knowledge Project Team