mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
change setting name to ENABLE_TRANSLATION
This commit is contained in:
parent
c323c62de4
commit
dadef1b32c
@ -60,6 +60,15 @@ Email is sent from NetBox only for critical events or if configured for [logging
|
||||
)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ENABLE_TRANSLATION
|
||||
|
||||
Default: True
|
||||
|
||||
Provides a way to turn translation system off and make NetBox English-based for all users. Directly maps to [USE_I18N](https://docs.djangoproject.com/en/stable/ref/settings/#std-setting-USE_I18N) Django setting.
|
||||
|
||||
|
||||
---
|
||||
|
||||
## HTTP_PROXIES
|
||||
@ -198,11 +207,3 @@ 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.
|
||||
|
@ -156,7 +156,7 @@ SESSION_FILE_PATH = getattr(configuration, 'SESSION_FILE_PATH', None)
|
||||
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)
|
||||
USE_I18N = getattr(configuration, 'ENABLE_TRANSLATION', True)
|
||||
|
||||
# Load any dynamic configuration parameters which have been hard-coded in the configuration file
|
||||
for param in CONFIG_PARAMS:
|
||||
|
Loading…
Reference in New Issue
Block a user