Handle language in local_negiciator

Now if the language is not defined we take what is found in the header for 
Accept-Language

if this header is not defined and the language is not passed as a parameter we use 'de'.