Added docstring to i18n/middleware