Skip to content

Commit 073cb54

Browse files
committed
Merge branch '5.1'
* 5.1: Example should be translator not translation
2 parents db74eed + 295d553 commit 073cb54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
]);

0 commit comments

Comments
 (0)