add translation support to the backend #215

This commit is contained in:
jonaswinkler
2020-12-30 01:39:06 +01:00
parent 05d4ca06fe
commit 29730a9c13
2 changed files with 31 additions and 0 deletions

View File

@@ -254,6 +254,10 @@ LANGUAGES = [
("de", _("German"))
]
LOCALE_PATHS = [
os.path.join(BASE_DIR, "locale")
]
TIME_ZONE = os.getenv("PAPERLESS_TIME_ZONE", "UTC")
USE_I18N = True