Middleware to reload translation for each request
This will reload the translation file for every request if you add it as a middleware in settings.MIDDLEWARE_CLASSES.
- middleware
- i18n
- cache
- reload
- translation
- reset
- rosetta
This will reload the translation file for every request if you add it as a middleware in settings.MIDDLEWARE_CLASSES.
asksol has posted 1 snippet.