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.

    Thanks.


Log in to reply
 

© 2108 H7 | Powered by NodeBB

Looks like your connection to H7 was lost, please wait while we try to reconnect.