We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d37d3 commit 295d553Copy full SHA for 295d553
reference/configuration/framework.rst
@@ -2039,18 +2039,18 @@ performance a bit:
2039
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
2040
2041
<framework:config>
2042
- <framework:translation>
+ <framework:translator>
2043
<enabled-locale>en</enabled-locale>
2044
<enabled-locale>es</enabled-locale>
2045
- </framework:translation>
+ </framework:translator>
2046
</framework:config>
2047
</container>
2048
2049
.. code-block:: php
2050
2051
// config/packages/translation.php
2052
$container->loadFromExtension('framework', [
2053
- 'translation' => [
+ 'translator' => [
2054
'enabled_locales' => ['en', 'es'],
2055
],
2056
]);
0 commit comments