diff --git a/docs/configuration/system.md b/docs/configuration/system.md index d0814bca6c..9cd2aacb1c 100644 --- a/docs/configuration/system.md +++ b/docs/configuration/system.md @@ -198,3 +198,11 @@ If `STORAGE_BACKEND` is not defined, this setting will be ignored. Default: UTC The time zone NetBox will use when dealing with dates and times. It is recommended to use UTC time unless you have a specific need to use a local time zone. Please see the [list of available time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + +--- + +## USE_I18N + +Default: True + +[Django setting](https://docs.djangoproject.com/en/stable/ref/settings/#std-setting-USE_I18N) which provides a way to turn translation system off and make NetBox English-based for all users. diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py index b991c50293..acec2efcb9 100644 --- a/netbox/netbox/settings.py +++ b/netbox/netbox/settings.py @@ -156,6 +156,7 @@ STORAGE_BACKEND = getattr(configuration, 'STORAGE_BACKEND', None) STORAGE_CONFIG = getattr(configuration, 'STORAGE_CONFIG', {}) TIME_ZONE = getattr(configuration, 'TIME_ZONE', 'UTC') +USE_I18N = getattr(configuration, 'USE_I18N', True) # Load any dynamic configuration parameters which have been hard-coded in the configuration file for param in CONFIG_PARAMS: