Page 1 of 1

FIX: Language doesn't change (individual users)

Posted: Sun Jun 24, 2012 1:15 am
by stefan1234
The language does not change according to the individual users' configuration. (v1.25.0)

- FIX -

The bug is in the "includes/lang.php" file.
In Debian, it is located in the "/usr/share/zoneminder/" directory. In some cases it can be in the "/var/www/" dir.

In that file, change the line where it's written:

Code: Select all

$userLangFile = $prefix.$user['Language'].'.php';
To:

Code: Select all

$userLangFile = $prefix.'lang/'.$user['Language'].'.php';

Couldn't be simpler. 8)