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:
2024
2024
2025
2025
# config/packages/translation.yaml
2026
2026
framework :
2027
- translation :
2027
+ translator :
2028
2028
enabled_locales : ['en', 'es']
2029
2029
2030
2030
.. code-block :: xml
@@ -2039,18 +2039,18 @@ performance a bit:
2039
2039
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
2040
2040
2041
2041
<framework : config >
2042
- <framework : translation >
2042
+ <framework : translator >
2043
2043
<enabled-locale >en</enabled-locale >
2044
2044
<enabled-locale >es</enabled-locale >
2045
- </framework : translation >
2045
+ </framework : translator >
2046
2046
</framework : config >
2047
2047
</container >
2048
2048
2049
2049
.. code-block :: php
2050
2050
2051
2051
// config/packages/translation.php
2052
2052
$container->loadFromExtension('framework', [
2053
- 'translation ' => [
2053
+ 'translator ' => [
2054
2054
'enabled_locales' => ['en', 'es'],
2055
2055
],
2056
2056
]);
You can’t perform that action at this time.
0 commit comments