Locale: default German in dev/prod, English in test; validate locale in LocaleController

This commit is contained in:
Moritz 2026-02-24 15:07:46 +01:00
parent 2cab4b0de4
commit 3a98f70ba5
Signed by: moritz
GPG key ID: 1020A035E5DD0824
3 changed files with 10 additions and 5 deletions

View file

@ -49,6 +49,9 @@ config :mv, :session_identifier, :unsafe
config :mv, :require_token_presence_for_authentication, false
# Use English as default locale in tests so UI tests can assert on English strings.
config :mv, :default_locale, "en"
# Enable SQL Sandbox for async LiveView tests
# This flag controls sync vs async behavior in CycleGenerator after_action hooks
config :mv, :sql_sandbox, true