You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration/override_dir_structure.rst
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -140,8 +140,8 @@ Override the Translations Directory
140
140
-----------------------------------
141
141
142
142
If your translation files are not stored in the default ``translations/``
143
-
directory, use the :ref:`framework.translator.paths<reference-translator-paths>`
144
-
configuration option to define your own translations directory (or directories):
143
+
directory, use the :ref:`framework.translator.default_path<reference-translator-default_path>`
144
+
configuration option to define your own translations directory (use :ref:`framework.translator.paths <reference-translator-paths
8000
>` for multiple directories):
145
145
146
146
.. configuration-block::
147
147
@@ -151,7 +151,7 @@ configuration option to define your own translations directory (or directories):
151
151
framework:
152
152
translator:
153
153
# ...
154
-
paths: ["%kernel.project_dir%/i18n"]
154
+
default_path: "%kernel.project_dir%/i18n"
155
155
156
156
.. code-block:: xml
157
157
@@ -167,7 +167,7 @@ configuration option to define your own translations directory (or directories):
0 commit comments