Language Detection

  • Hi

    I'm using a language detection script.

    How can I use this ( language stored in a PHP Session) to automatically select the language of the chat window?

    I presume its a simple case of adding a small line of code to check the PHP session variable.

    Currently I have:

    This tells the code what the stored language is.

    session detects the browser language if there is not already a language stored in PHPSESSION.

    Any help would be great.


Log in to reply