Translation not registered? OJS 3.1.0-1

#1

Hello,
When I translate locale/sr_RS@cyrillic/default.xml I have got message key
default.journalSettings.refLinkInstructions
When I add translation on cyrillic and save it is visible like on image below:


but when I go to list of message keys I see that it is not finished like on image below:

Please advise.

#2

Hi @vvucic,

You may need to apply https://github.com/pkp/pkp-lib/commit/c0e1e32957369e91feb37563b484c2bdeea3ede3 if it’s not already in your installation.

Regards,
Alec Smecher
Public Knowledge Project Team

#3

I applied and the issue remains the same :confused:

#4

Hi @vvucic,

Is there anything relevant in your browser’s console log or your PHP error log?

Regards,
Alec Smecher
Public Knowledge Project Team

#5

These are last entries from php werror log [26-Mar-2018 13:06:47 CST6CDT] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199 [26-Mar-2018 13:06:58 CST6CDT] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/lib/pkp/classes/form/Form.inc.php on line 369 [26-Mar-2018 13:06:58 CST6CDT] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/lib/pkp/classes/core/PKPRequest.inc.php on line 592 [26-Mar-2018 13:07:39 CST6CDT] PHP Deprecated: Non-static method TranslatorAction::getLocaleFiles() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/plugins/generic/translator/controllers/grid/LocaleFileGridHandler.inc.php on line 36 [26-Mar-2018 13:07:39 CST6CDT] PHP Deprecated: Non-static method TranslatorAction::getMiscLocaleFiles() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/plugins/generic/translator/controllers/grid/MiscTranslationFileGridHandler.inc.php on line 35 [26-Mar-2018 13:07:45 CST6CDT] PHP Deprecated: Non-static method TranslatorAction::getLocaleFiles() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/plugins/generic/translator/controllers/grid/LocaleFileGridHandler.inc.php on line 36 [26-Mar-2018 13:07:53 CST6CDT] PHP Deprecated: Non-static method TranslatorAction::getLocaleFiles() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/plugins/generic/translator/controllers/grid/LocaleFileGridHandler.inc.php on line 36 [26-Mar-2018 13:07:53 CST6CDT] PHP Deprecated: Non-static method TranslatorAction::getLocaleFiles() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/plugins/generic/translator/controllers/grid/LocaleFileGridHandler.inc.php on line 160 [26-Mar-2018 13:07:54 CST6CDT] PHP Deprecated: Non-static method TranslatorAction::getLocaleFiles() should not be called statically, assuming $this from incompatible context in /home/politi30/public_html/casopis/plugins/generic/translator/controllers/listbuilder/LocaleFileListbuilderHandler.inc.php on line 64