Use request class variable() and is_set(), and use $user->lang() calls
Merge pull request #3 from marc1706/ticket/2

Use request class variable() and is_set(), and use $user->lang() calls