diff --git a/sample_deployment/sample_deployment/example/templates/example/base.html b/sample_deployment/sample_deployment/example/templates/example/base.html index 51f917b..cfe6ce4 100644 --- a/sample_deployment/sample_deployment/example/templates/example/base.html +++ b/sample_deployment/sample_deployment/example/templates/example/base.html @@ -1,6 +1,6 @@ {% load static tailwind_tags %} - +
diff --git a/sample_deployment/sample_deployment/settings.py b/sample_deployment/sample_deployment/settings.py index 95f15c5..7c5b77f 100644 --- a/sample_deployment/sample_deployment/settings.py +++ b/sample_deployment/sample_deployment/settings.py @@ -67,6 +67,7 @@ "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "django_browser_reload.middleware.BrowserReloadMiddleware", + "django.middleware.locale.LocaleMiddleware", "allauth.account.middleware.AccountMiddleware", ] @@ -127,10 +128,17 @@ LANGUAGE_CODE = "en-us" -TIME_ZONE = "UTC" +LANGUAGES = ( + ("en", "English"), + ("fr", "French"), + ("es", "Spanish"), + ("pt-br", "Portuguese (Brazil)"), +) USE_I18N = True +TIME_ZONE = "UTC" + USE_TZ = True