django-modeltranslation
django-modeltranslation copied to clipboard
Disable modeltranslation on some sites
I have a multi-site application. I would like to disable modeltranslation for some customers (sites). It would be great if django-modeltranslations could be disabled (e.g. in a middleware on a request basis). Disable in this context would mean to store and retrieve model field values for the default language regardless of the currently activated language.
One way to archive this currently is to patch the utils.get_language() function in a custom middleware. Is there another way to to this? Is this be a feature other user would be interested in?