Is there a way to disable localization for specific apps in settings for Django?
There are two possible reasons for this:
-
Switch off localization in admin apps eg contrib/admin because admins would prefer to use English rather than the local language.
-
Some app default translations are really bad and confusing, and we would like to keep them off during development until we get to doing our own proper translation.
I know we can just delete the translation files or other hacks maybe, but having this in settings is more convenient when we’re doing frequent upgrades.
Regards.
There is no such setting to disable translation for specific apps.
Regarding your first use-case, having admin in another language is easily achived with custom middleware, check this snippet:
http://source.mihelac.org/2009/11/12/django-set-language-for-admin/
If url scheme of 3rd party apps are simple, maybe you can use same approach to set different (default) language for them.