Page 1 of 1

ZoneMinder 1.25.0 and language

Posted: Mon Oct 10, 2011 6:32 pm
by sipi
Hi, if I have user more than one and set up an other language for one user other than default the user can't use his language. He use only default language. But I can change language setup for all user. What is it? Is it a bug?

Re: ZoneMinder 1.25.0 and language

Posted: Tue Oct 11, 2011 1:13 pm
by sipi
This has not changed. Does anyone know what the problem is?

Re: ZoneMinder 1.25.0 and language

Posted: Sun Dec 11, 2011 4:03 pm
by acrid
Hi Sipi,

I had the same problem with 1.24.2.

Find zm/includes/lang.php
and change:

Code: Select all

    if ( isset($user['Language']) )
        $userLangFile = $prefix.$user['Language'].'.php';
into

Code: Select all

    if ( isset($user['Language']) )
        $userLangFile = $prefix.'lang/'.$user['Language'].'.php';