Prior to update I copied an complete ojs (3.3.0.13) (files and database) to a test environment. Everything looks ok beside the crossrefReferenceLinking (1.0.2.1) plugin. The name and description are not shown properly but the corresponding names:
##plugins.generic.crossrefReferenceLinking.displayName##
and ##plugins.generic.crossrefReferenceLinking.description##
Also all properties are shown the same way.
Any hints on this? Thanks in advance.
- Crossref: release version 2.1.0.0
plugins\importexport\crossref\locale\en_US\locale.po
msgid “plugins.importexport.crossref.displayName”
msgstr “CrossRef XML Export Plugin”
msgid “plugins.importexport.crossref.description”
msgstr “Export article metadata in CrossRef XML format.”
- You may add lines:
plugins\importexport\crossref\locale\en_US\locale.po
msgid “plugins.generic.crossrefReferenceLinking.displayName”
msgstr “CrossRef XML Export Plugin”
msgid “plugins.generic.crossrefReferenceLinking.description”
msgstr “Export article metadata in CrossRef XML format.”
plugins\importexport\crossref\locale\de_DE\locale.po
msgid “plugins.generic.crossrefReferenceLinking.displayName”
msgstr “Crossref-Export/Registrierungs-Plugin”
msgid “plugins.generic.crossrefReferenceLinking.description”
msgstr “Artikel-Metadaten im Crossref-Format exportieren oder registrieren.”
PS.
It is possible to modify a source code (if msgid=“plugins.importexport.crossref.displayName” is available).
plugins\plugins\importexport\crossref\CrossRefExportPlugin.inc.php
Line 50: return __(‘plugins.generic.crossrefReferenceLinking.displayName’);
plugins\plugins\importexport\crossref\CrossRefExportPlugin.inc.php
Line 50: return __(‘plugins.importexport.crossref.displayName’);
Thank you for pointing to the right direction (locales). But I did not dare to tinker with the code and copy from one plugin to another.
What helped in the end was disabling the german locale (Administration -> Languages
) and navigating to website -> plugins
. Now everything looked as expected. Even reactivating the german locale did not break the plugin again.
crossrefReferenceLinking
does not have a german locale and I don’t know why a gernam locale would have been used since the primary locale in ojs is set to English and my webbroser is also set to english.
(In config.inc.php
locale
was at first set to de_DE
. Changing it to en_US
did not fix the error.)