PKP Bugzilla – Bug 8353
Allow URL override of current locale
Last modified: 2013-09-09 14:52:02 PDT
Allow override of current locale via URL
Allow locale set by URL
Allow locale set by URL (fix parameter name to avoid clobber)
Allow UI locale override via URL (OMP pre-1.1)
Allow UI locale override via URL (OCS pre-3.0)
Allow UI locale override via URL (OHS pre-???)
Patches for OJS 2.4.x:
A bug was introduced in Github OJS 2.4 branch. The language toggle block plugin is broken.
I've traced it down to commit:
I believe that the assignment to $locale var is missing in line 88. Shouldn't it be "$locale = $session->getSessionVar('currentLocale');"?
You're right, Giovani; thanks for pointing it out. See https://github.com/pkp/ojs/commit/fd24209beee0ca14db2608538bf917029db45dc8
Fix missing variable assignment