Parcourir la source

Define LOCALE_PATHS

Jeremy Stretch il y a 2 ans
Parent
commit
36072f17a9
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      netbox/netbox/settings.py

+ 4 - 0
netbox/netbox/settings.py

@@ -712,6 +712,10 @@ RQ_QUEUES.update({
 # Localization
 #
 
+LOCALE_PATHS = (
+    BASE_DIR + '/translations',
+)
+
 if not ENABLE_LOCALIZATION:
     USE_I18N = False
     USE_L10N = False