(frontend) the LanguagePicker now uses config as options

- config endpoint languages are used as available options for LanguagePicker
- updating the language from it, triggers an update on the user via API
This commit is contained in:
rvveber
2025-03-04 16:08:39 +01:00
committed by Samuel Paccoud
parent 2bf47b7705
commit 7fc83a4fcd
5 changed files with 52 additions and 31 deletions

View File

@@ -12,8 +12,8 @@ const config = {
MEDIA_BASE_URL: 'http://localhost:8083',
LANGUAGES: [
['en-us', 'English'],
['fr-fr', 'French'],
['de-de', 'German'],
['fr-fr', 'Français'],
['de-de', 'Deutsch'],
],
LANGUAGE_CODE: 'en-us',
POSTHOG_KEY: {},