Enable Wagtail i18n locales for admin language switching

This commit is contained in:
MandelBot
2026-03-16 07:06:38 +00:00
parent e900eca4a3
commit 223f20252b

View File

@@ -60,3 +60,8 @@ SECRET_KEY = "xyh998+wzhzueld8u6=)l@imh^!07&c6i_hjn7=8=jl$8%z_4t"
# Template engine vertical preset # Template engine vertical preset
ACTIVE_VERTICAL = "agency" ACTIVE_VERTICAL = "agency"
# Wagtail content internationalization in admin
WAGTAIL_I18N_ENABLED = True
WAGTAIL_CONTENT_LANGUAGES = LANGUAGES