View unanswered posts | View active topics It is currently Sun May 19, 2013 11:45 pm



Reply to topic  [ 1 post ] 
FIX: Language doesn't change (individual users) 
Author Message

Joined: Sun Jun 24, 2012 2:01 am
Posts: 1
Post FIX: Language doesn't change (individual users)
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:
$userLangFile = $prefix.$user['Language'].'.php';

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



Couldn't be simpler. 8)


Sun Jun 24, 2012 2:15 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group