In-Portal has a feature (disabled by default), which allows automatically change website language to one, that matches language from "Accept-Language" header, sent by user's browser on first visit.
There is only one major problem: first visit detection. We presume, that first visit is when no page has been specified = home page.
I think we should remember user's first visit in cookie, that would expire when browser window is closed instead of looking if page in url wasn't specified (only domain is specified).
--
Best Regards,
http://www.in-portal.comhttp://www.alex-time.com