FIX: Language doesn't change (individual users)

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
stefan1234
Posts: 1
Joined: Sun Jun 24, 2012 1:01 am

FIX: Language doesn't change (individual users)

Post 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)
Post Reply