(app) get language from backend; set browser-detected language if null

- adds useLanguageSynchronizer hook to update the:
  1. frontend-language to the user-preference - if there is one.
  2. user-preference to the (browser-detected) frontend-language - otherwise.
This commit is contained in:
rvveber
2025-02-25 15:41:03 +01:00
committed by Samuel Paccoud
parent 7941fc91d5
commit a7944cce80
4 changed files with 89 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ and this project adheres to
- 🔒️ Manage unsafe attachments #663
- ✨(frontend) Custom block quote with export #646
- ✨(frontend) add open source section homepage #666
- ✨(frontend) synchronize language-choice #401
## Changed