When attempting to switch to a different language via the "home" page of OSP, you will get a "file not found" error.
To fix this, modify the file include/language_box.php:
in line 10 replace:
<SELECT name="newlang" onChange="javascript:changelang(top.location.href=this.options[this.selectedIndex].value)">
with:
<SELECT name="newlang" onChange="javascript:changelang("newLang="+this.options[this.selectedIndex].value)">
(all in one line).
Reason:
mainfile.php (used by home.php) expects the parameter "newLang" to contain the selected new language, in order to set the cookie correctly. That's all there is to it - you do not need to change the top.location.href here.
Versions affected:
I've chechked this both in the versions
OSP04X20070126.tar.gz as well as
OSP04X20060215.zip
so the error seems to be perpetuating itself for quite some time already.
Sidenote on the translations: both the Japanese as well as the Chinese language files do not seem to be complete - not all strings show up translated...
Modified language_box.php to counter this error