mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-30 07:34:37 +00:00
Merge config into single file for translations
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
# config/packages/translation.yaml
|
||||
framework:
|
||||
default_locale: en
|
||||
default_locale: '%env(resolve:LOCALE)%' # LOCALE=fr in .env
|
||||
translator:
|
||||
default_path: '%kernel.project_dir%/translations'
|
||||
fallbacks:
|
||||
- en
|
||||
- '%env(resolve:LOCALE)%' # fr
|
||||
providers:
|
||||
loco:
|
||||
dsn: '%env(LOCO_DSN)%'
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
framework:
|
||||
default_locale: '%env(resolve:LOCALE)%'
|
||||
translator:
|
||||
fallbacks: [ '%env(resolve:LOCALE)%' ]
|
||||
Reference in New Issue
Block a user