From 8d1c35360b5ba15297990c02a3f005c1577e80ba Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 3 Oct 2023 17:02:00 +0300 Subject: [PATCH] init locale settings #19 --- .env | 5 ++++- config/services.yaml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.env b/.env index ff72acd..082bfb8 100644 --- a/.env +++ b/.env @@ -47,4 +47,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 # YGGtracker APP_VERSION='2.0.0' -APP_NAME=YGGtracker \ No newline at end of file +APP_NAME=YGGtracker + +APP_LOCALE=en +APP_LOCALES=en|uk diff --git a/config/services.yaml b/config/services.yaml index afb739c..df414d4 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -6,6 +6,8 @@ parameters: app.version: '%env(APP_VERSION)%' app.name: '%env(APP_NAME)%' + app.locale: '%env(APP_LOCALE)%' + app.locales: '%env(APP_LOCALES)%' services: # default configuration for services in *this* file