I just tried this on mine, worked fine.
Changed my browser language to  en-au, and it came up with invalid language 
file as expected (as I hadn't made the folder yet)

Tested  

cp -rp en en-au

..and it comes up with the english page as expected.

However, I do see that Firefox uses lower case for the language encoding - 
Preferences, Choose Preferred Language, ...

vqadmin gets the language from HTTP_ACCEPT_LANGUAGE

(see lang.c)


Suggest you do this.

Add a test page and check what this is set to.   I'll assume you have php 
installed and can do something like the below:

<?php

print "Vqadmin is looking for a folder called: ". 
$_SERVER["HTTP_ACCEPT_LANGUAGE"];
 

?>


If not, visit this page http://mail.computersolutions.cn/accept.php

I see Vqadmin is looking for a folder called: 
en-au,zh-cn;q=0.8,en-us;q=0.5,zh;q=0.3

So I need to create a folder or folders for

en-au
zh-cn
en-us
zh

In my vqadmin/html folder.

Might be that your HTTP_ACCEPT_LANGUAGE from your browser is upper case, so 
you'd need to use an appropriate case for the folder I guess...

Let me know how you go!

Lawrence.


On Mar 5, 2011, at 5:23 PM, Charlie Garrison wrote:

> Good evening,
> 
> On 5/03/11 at 5:04 PM +0800, Lawrence Sheed <[email protected]> 
> wrote:
> 
>> en-au should work..
>> 
>> Possible you have follow symlinks turned off in apache config, or 
>> permissions don't let it access 
>> that.
> 
> I'm pretty sure symlinks are ok on this server.
> 
>> Can always do a copy of the folder, taking care to keep permissions correct.
>> 
>> rm en-au
>> cp -rp en en-au 
> 
> They are only files, not directories. But trying anyway:
> 
> -rw-r--r--  1 vpopmail  vchkpw  1492 Mar  5  2008 en
> -rw-r--r--  1 vpopmail  vchkpw  1492 Mar  5  2008 en-au
> -rw-r--r--  1 vpopmail  vchkpw  1492 Mar  5  2008 en-us
> 
>> Suggest do that anyway, and retest.
>> Better to solve it properly I always say :)
> 
> I agree it's better to solve properly, so persisting... but without any luck.
> 
> Changed Chrome prefs to make en-au preferred language, and:
> 
>  "invalid language file"
> 
> Any other suggestions?
> 
> 
> Thanks,
> Charlie
> 
> -- 
>   Ꮚ Charlie Garrison ♊ <[email protected]>
> 
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> 〠  http://www.ietf.org/rfc/rfc1855.txt
> 
> 
> 
> 


!DSPAM:4d720bcb32717739718647!

Reply via email to