English_gb not detected English_gb not detected
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

English_gb not detected

Started by jesusarmy, November 14, 2007, 06:25:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jesusarmy

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



Nibbler


Nibbler