Users & roles - user list locale issue

I have OJS 3.1.2 installation upgraded from OJS 2.3.6 which is set to use two langueges: english and serbian.

Problem is, when interface is set to english, user name (family name and given name) is not visible. When serbian is selected, everything is ok.

I looked up in database, user_settings table, and found that columns givenName and familyName have locale set to sr_RS@latin. When I copy those columns and set locale to en-US, everything is ok.

Question is, why ojs doesn’t show user names if it finds in any language? What if I set every user names in db to en-US, would it be ok? We are planning to add 3 or 4 more languages, I can’t force users to enter names in 5 or 6 languages, and we already have more than 20k users registered.

I have just tried to manually change locale to en_US, now ojs shows username in english, but not in serbian. Shouldn’t it have primary locale to show, if any other is not found?ex1 ex2 ![Untitled|690x277]

See discussion here: Translation of the author's name - #124 by NateWr

If you update to 3.1.2-1 the problem should be fixed

I can’t update, we have a lot of local code changes.

Fixed with changing this lines of code:


Yes, that was the patch that I applied as well on OJS 3.1.2 . Works well.

1 Like