Missing menu strings after upgrading to 3.1

Locales are in the right place, and they have the right permissions and the right translation, but OJS don’t show es_ES navigation menu strings (ie: navigation.about).

If I visit the new translation tool, looks like in the database the translation is “navigation.about” instead of the “Acerca de”.

Demo site: http://revistes.uab.cat:8082/nuevasdeindias/

So first questions is: In OJS 3.1, is there a way to force a locale reload?

Translation was fine in OJS 3.0.2 so, looks like the problem could be related with navigation.menus being now a plugin with a new locale file, isn’t it? I will check it tomorrow.

Cheers,
m.

Hi @marc,

There is an issue with all menu items not being translated in 3.1. Please see https://github.com/pkp/pkp-lib/issues/2987 for more information.

Best,
Amanda Stevens
Public Knowledge Project Team

1 Like

Thanks @astevens :ok_hand:

Long time ago, with @mtub and @asmecher we talk about this, but I don’t remember the conclusion… What about falling back to English if the string is not translated in the active locale?

It will make interface usable, and we won’t dirt the DB (and the counting) with wrong chains…

Please, let me know if you want me to open a “feature request” in this forum or a github issue.

Cheers,
m.

Hi @marc,

There was a plugin written to add English-language fallback behavior – see https://github.com/pkp/defaultTranslation – but it’ll probably need some minor work to bring it up to the OJS 3.x codebase level.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like