Factorize some code using ContextDecorator
Allow the use of django.utils.translation.override as a decorator