feat: add translator

This commit is contained in:
2024-01-17 10:21:43 +01:00
parent 435b23635b
commit b246816a1e
9 changed files with 308 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
framework:
default_locale: 'cs'
translator:
default_path: '%kernel.project_dir%/translations'
# providers:
# crowdin:
# dsn: '%env(CROWDIN_DSN)%'
# loco:
# dsn: '%env(LOCO_DSN)%'
# lokalise:
# dsn: '%env(LOKALISE_DSN)%'
# phrase:
# dsn: '%env(PHRASE_DSN)%'

View File

@@ -0,0 +1,17 @@
when@dev:
web_profiler:
toolbar: true
intercept_redirects: false
framework:
profiler:
only_exceptions: false
collect_serializer_data: true
when@test:
web_profiler:
toolbar: false
intercept_redirects: false
framework:
profiler: { collect: false }