init locale settings #19

This commit is contained in:
ghost 2023-10-03 17:02:00 +03:00
parent 4720b34e9c
commit 8d1c35360b
2 changed files with 6 additions and 1 deletions

5
.env
View File

@ -47,4 +47,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
# YGGtracker # YGGtracker
APP_VERSION='2.0.0' APP_VERSION='2.0.0'
APP_NAME=YGGtracker APP_NAME=YGGtracker
APP_LOCALE=en
APP_LOCALES=en|uk

View File

@ -6,6 +6,8 @@
parameters: parameters:
app.version: '%env(APP_VERSION)%' app.version: '%env(APP_VERSION)%'
app.name: '%env(APP_NAME)%' app.name: '%env(APP_NAME)%'
app.locale: '%env(APP_LOCALE)%'
app.locales: '%env(APP_LOCALES)%'
services: services:
# default configuration for services in *this* file # default configuration for services in *this* file