Improve locale setting within user profile, using Languages symfony component

This commit is contained in:
2025-11-07 14:37:46 +01:00
parent 77311b6290
commit 29536449ae
5 changed files with 16 additions and 12 deletions

View File

@@ -12,6 +12,12 @@ services:
tags:
- { name: form.type, alias: translatable_string }
Chill\MainBundle\Form\Type\UserLocaleType:
arguments:
- "%chill_main.available_languages%"
tags:
- { name: form.type }
chill.main.form.type.select2choice:
class: Chill\MainBundle\Form\Type\Select2ChoiceType
tags: