File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
# See https://symfony.com/doc/current/translation.html
2
2
framework :
3
- default_locale : ' %locale%'
3
+ default_locale : ' %app. locale%'
4
4
translator :
5
5
# Translations are defined using the ICU Message Format
6
6
# See https://symfony.com/doc/current/translation/message_format.html
7
7
default_path : ' %kernel.project_dir%/translations'
8
8
fallbacks :
9
- - ' %locale%'
9
+ - ' %app. locale%'
10
10
providers :
11
11
# crowdin:
12
12
# dsn: '%env(CROWDIN_DSN)%'
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ homepage:
7
7
controller : Symfony\Bundle\FrameworkBundle\Controller\TemplateController::templateAction
8
8
defaults :
9
9
template : default/homepage.html.twig
10
- _locale : ' %locale%'
10
+ _locale : ' %app. locale%'
11
11
12
12
controllers :
13
13
resource :
@@ -16,4 +16,4 @@ controllers:
16
16
type : attribute
17
17
prefix : /{_locale}
18
18
defaults :
19
- _locale : ' %locale%'
19
+ _locale : ' %app. locale%'
Original file line number Diff line number Diff line change 4
4
# Put parameters here that don't need to change on each machine where the app is deployed
5
5
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
6
6
parameters :
7
- locale : ' en'
7
+ app. locale : ' en'
8
8
app.notifications.email_sender :
[email protected]
9
9
10
10
services :
@@ -17,7 +17,7 @@ services:
17
17
# defined/created in this file; if some argument is used rarely, instead of defining
18
18
# it here you can use the #[Autowire] attribute to inject it manually in the service constructor
19
19
array $enabledLocales : ' %kernel.enabled_locales%'
20
- string $defaultLocale : ' %locale%'
20
+ string $defaultLocale : ' %app. locale%'
21
21
22
22
# makes classes in src/ available to be used as services
23
23
# this creates a service per class whose id is the fully-qualified class name
You can’t perform that action at this time.
0 commit comments