|
-
Jul 1st, 2008, 09:46 PM
#1
Thread Starter
Frenzied Member
Help me test quickly please
Hi,
I just fixed an annoying bug. My site s hold load in English unless your ip address is from China or Hong Kong.
Would you guys still awake do me a favor, go here and see if the site loads in English?
I'm in China now so hard to check. Boss in Ireland and was complaining site still load in Chinese there. So fixed bug (I think) and uploaded it, just wanna confirm before he get online and bite my head off.
-
Jul 1st, 2008, 10:00 PM
#2
Re: Help me test quickly please
I see English text in the three central content columns with Chinese everywhere else.
Did you consider using language negotiation rather than IP address to determine the initial language?
-
Jul 1st, 2008, 10:03 PM
#3
Thread Starter
Frenzied Member
Re: Help me test quickly please
You are not in China or Hong Kong right?
Language negotiation? What's that?
-
Jul 1st, 2008, 10:30 PM
#4
Re: Help me test quickly please
I am in Australia. My browser is configured to accept Australian English (en-AU), British English (en-GB), and then any flavour of English (en), in that order. You can use the $_SERVER['HTTP_ACCEPT_LANGUAGE'] variable to determine what language to serve initially.
My Accept-Language string looks like this:
en-au,en-gb;q=0.7,en;q=0.3
The 'q' value is a weighting. In the absence of q-values the order of appearance should be considered instead. For example, a string of "zh,en" indicates that the user prefers Chinese, but will take English if Chinese is not available. You should serve them Chinese, unless they provide some other token indicating an explicit choice of language, such as a cookie from a previous visit, or a token in the URL. My string indicates that I cannot comprehend Chinese at all; you should serve me English unless either I have previously visited your site and indicated that I want to see Chinese, or I used a URL that specifies the language.
I did have a link to an excellent set of notes on language negotiation, but sadly the page appears to have been removed.
-
Jul 1st, 2008, 11:40 PM
#5
Re: Help me test quickly please
i see all english. the pictures contain Chinese though.
My usual boring signature: Something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|