Use get_language_from_request for better language detection

This improves compatibility with django CMS