Create middleware to use language from Setting.