Good morning,

On 5/03/11 at 6:09 PM +0800, Lawrence Sheed <[email protected]> wrote:

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)

I'm confused about the folder part. On my system they are language *files*, not folders or directories.

$ ls -l en en-us en-au
-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

$ file en en-us en-au
en:    ASCII English text
en-us: ASCII English text
en-au: ASCII English text


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, ...

Hmm, I had tried en-AU (rather than en-au) before and I got a server error rather than invalid language error. But at that time I was using symlinks. Making a copy of the file as en-AU works now.

Thanks for your help.


Charlie

--
   Ꮚ Charlie Garrison ♊ <[email protected]>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt


!DSPAM:4d72dd6332711807778901!

Reply via email to