Quote Originally Posted by NogDog View Post
Well, I used the wrong array key in the first line, but the intention was:
  • If the "TDM_LANG" session value already exists, use that. (Presumably the user already selected explicitly or via HTTP header.)
  • If not, but the browser sent an "Accept-Language" HTTP header, use that.
  • Otherwise, set it to "italian"
perfect,
many many thanks for the help and explanation