File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2024,7 +2024,7 @@ performance a bit:
20242024
20252025 # config/packages/translation.yaml
20262026 framework :
2027- translation :
2027+ translator :
20282028 enabled_locales : ['en', 'es']
20292029
20302030 .. code-block :: xml
@@ -2039,18 +2039,18 @@ performance a bit:
20392039 http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
20402040
20412041 <framework : config >
2042- <framework : translation >
2042+ <framework : translator >
20432043 <enabled-locale >en</enabled-locale >
20442044 <enabled-locale >es</enabled-locale >
2045- </framework : translation >
2045+ </framework : translator >
20462046 </framework : config >
20472047 </container >
20482048
20492049 .. code-block :: php
20502050
20512051 // config/packages/translation.php
20522052 $container->loadFromExtension('framework', [
2053- 'translation ' => [
2053+ 'translator ' => [
20542054 'enabled_locales' => ['en', 'es'],
20552055 ],
20562056 ]);
You can’t perform that action at this time.
0 commit comments