forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: jesusarmy on November 14, 2007, 06:25:56 pm

Title: English_gb not detected
Post by: jesusarmy on November 14, 2007, 06:25:56 pm
I have set my browsers to English (united Kingdom) [en-gb], both MSIE and Firefox, but CPG still autodetects the language as plain "English" and so gives the US variant spellings (Favorite instead of Favourite, for example).

If I set the preferred language to French, both MSIE and Firefox display the menus in French, as desired.

I have forced a redetect of the language by going to http://www.jesus.org.uk/gallery?lang=xxx after changing the preferred browser language.

As it works with one language and not another, I find it hard to see what in my set up could be wrong.

Am I right in suspecting that the auto-detect code does not differentiate between US and GB variants of English?

http://www.jesus.org.uk/gallery (http://www.jesus.org.uk/gallery)


Title: Re: English_gb not detected
Post by: Nibbler on November 14, 2007, 07:26:39 pm
This is correct.
Title: Re: English_gb not detected
Post by: Nibbler on November 15, 2007, 09:33:40 pm
Fixed in cvs.