From 86807187143adc4c2beeff68447cdb816576952b Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 4 Oct 2023 19:15:17 +0300 Subject: [PATCH] add more languages, init crowdin driver #19 --- .env | 2 +- config/packages/translation.yaml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.env b/.env index d49f3c3..34c0871 100644 --- a/.env +++ b/.env @@ -50,4 +50,4 @@ APP_VERSION='2.0.0' APP_NAME=YGGtracker APP_LOCALE=en -APP_LOCALES=de|fr|en|uk \ No newline at end of file +APP_LOCALES=de|fr|en|uk diff --git a/config/packages/translation.yaml b/config/packages/translation.yaml index 888f0ba..89f3399 100644 --- a/config/packages/translation.yaml +++ b/config/packages/translation.yaml @@ -4,9 +4,11 @@ framework: default_path: '%kernel.project_dir%/translations' fallbacks: - en -# providers: -# crowdin: -# dsn: '%env(CROWDIN_DSN)%' + providers: + crowdin: + dsn: '%env(CROWDIN_DSN)%' + domains: ['messages'] + locales: ['fr', 'de', 'en', 'uk'] # loco: # dsn: '%env(LOCO_DSN)%' # lokalise: