Browse Source

add more languages, init crowdin driver #19

main
ghost 1 year ago
parent
commit
8680718714
  1. 2
      .env
  2. 8
      config/packages/translation.yaml

2
.env

@ -50,4 +50,4 @@ APP_VERSION='2.0.0'
APP_NAME=YGGtracker APP_NAME=YGGtracker
APP_LOCALE=en APP_LOCALE=en
APP_LOCALES=de|fr|en|uk APP_LOCALES=de|fr|en|uk

8
config/packages/translation.yaml

@ -4,9 +4,11 @@ framework:
default_path: '%kernel.project_dir%/translations' default_path: '%kernel.project_dir%/translations'
fallbacks: fallbacks:
- en - en
# providers: providers:
# crowdin: crowdin:
# dsn: '%env(CROWDIN_DSN)%' dsn: '%env(CROWDIN_DSN)%'
domains: ['messages']
locales: ['fr', 'de', 'en', 'uk']
# loco: # loco:
# dsn: '%env(LOCO_DSN)%' # dsn: '%env(LOCO_DSN)%'
# lokalise: # lokalise:

Loading…
Cancel
Save