Results 1 to 5 of 5

Thread: Help me test quickly please

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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.
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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?

  3. #3

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: Help me test quickly please

    You are not in China or Hong Kong right?

    Language negotiation? What's that?
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

  5. #5
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    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
  •  



Click Here to Expand Forum to Full Width