Language detection methods

User language is determined by url, user preference, browser in that
order