OJS 3.0.2 missing languages

Hi,

No language selector is shown in articles view page.
Looking for language configurations I found something very interesting.
In http://localhost/revistas3/dissenso/management/settings/website language tab:

Error.log:
ine 77, referer: http://localhost/revistas3/dissenso/admin/settings
[Wed Jun 14 11:50:58.620388 2017] [:error] [pid 3930] [client ::1:56710] PHP Notice: Undefined index: ja_JP in /var/www/html/revistas3/lib/pkp/controllers/grid/settings/languages/ManageLanguageGridHandler.inc.php on line 57, referer: http://localhost/revistas3/dissenso/management/settings/website
[Wed Jun 14 11:50:58.620429 2017] [:error] [pid 3930] [client ::1:56710] PHP Notice: Undefined index: fr_FR in /var/www/html/revistas3/lib/pkp/controllers/grid/settings/languages/ManageLanguageGridHandler.inc.php on line 57, referer: http://localhost/revistas3/dissenso/management/settings/website

Where is ja_JP and fr_FR? I’m not able to disable/remove/(re)install them.

Regards,
Tarcisio Pereira.

Hi @Tarcisio_Pereira,

Is this an installation you upgraded from a previous release? If so, you may need to temporarily add those languages to registry/locales.xml to get them to show up on this list, then disable them. Then remove them again from the file you added them to. (These are languages that need updating in the OJS 3.x branch.)

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher

Yes it is.
I tried what you said. But I can’t disable on the list.
When I try uncheck the checkbox, I got the toast message ‘Locale disabled’ but it still checked. Even after reload the page.
No error on postgresql log or apache log.

I’m able to uninstall them. But what happens with the articles and article_settings already published in those languages?
Are there any plans for these languages are compatible with 3.X.X?

Regards,
Tarcisio Pereira

Hi @Tarcisio_Pereira,

We depend on volunteer translators so this locales will be updated when someone is able to contribute a translation.

Removing the language won’t disturb translated content e.g. article titles, so perhaps the best solution would be to do that for now, and re-install the locales when they become available.

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher

I created symbolic links to each missing language and en_US.
Now I can disable them.

Thank you.
Tarcisio Pereira.