Install loco into project + config todo

This commit is contained in:
2025-11-26 11:43:00 +01:00
parent 65025dc7da
commit e30847dfcd
4 changed files with 18 additions and 0 deletions

4
.env
View File

@@ -92,3 +92,7 @@ REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
###> symfony/ovh-cloud-notifier ###
# OVHCLOUD_DSN=ovhcloud://APPLICATION_KEY:APPLICATION_SECRET@default?consumer_key=CONSUMER_KEY&service_name=SERVICE_NAME
###< symfony/ovh-cloud-notifier ###
###> symfony/loco-translation-provider ###
LOCO_DSN=loco://API_KEY@default
###< symfony/loco-translation-provider ###

View File

@@ -54,6 +54,7 @@
"symfony/http-client": "^5.4",
"symfony/http-foundation": "^5.4",
"symfony/intl": "^5.4",
"symfony/loco-translation-provider": "^6.0",
"symfony/mailer": "^5.4",
"symfony/messenger": "^5.4",
"symfony/mime": "^5.4",

View File

@@ -5,3 +5,7 @@ framework:
fallbacks:
- en
providers:
loco:
dsn: '%env(LOCO_DSN)%'
domains: [ 'messages' ]
locales: [ 'fr', 'nl' ]

View File

@@ -260,6 +260,15 @@
"src/Kernel.php"
]
},
"symfony/loco-translation-provider": {
"version": "6.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "5.3",
"ref": "500b568fcdf2de12ac18e157e11820114db89986"
}
},
"symfony/mailer": {
"version": "5.4",
"recipe": {