gets a abbreviation (like nl or en) for the language of the session. first it checks for the scratch variable language and if that does not exist it gets the user profile field language abrreviated.
Oh there is no pod or tests for it. one of the two options must exist since language is not an optional field in the profile