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
* Use `default_path` instead of `paths` to change translation directory (default_path is anyway added to paths)
* Replace `var` by `vendor` in the public directory section
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
@@ -141,8 +141,8 @@ Override the Translations Directory
141
141
-----------------------------------
142
142
143
143
If your translation files are not stored in the default ``translations/``
144
-
directory, use the :ref:`framework.translator.paths<reference-translator-paths>`
145
-
configuration option to define your own translations directory (or directories):
144
+
directory, use the :ref:`framework.translator.default_path<reference-translator-default_path>`
145
+
configuration option to define your own translations directory (use :ref:`framework.translator.paths <reference-translator-paths>` for multiple directories):
146
146
147
147
.. configuration-block::
148
148
@@ -152,7 +152,7 @@ configuration option to define your own translations directory (or directories):
152
152
framework:
153
153
translator:
154
154
# ...
155
-
paths: ["%kernel.project_dir%/i18n"]
155
+
default_path: "%kernel.project_dir%/i18n"
156
156
157
157
.. code-block:: xml
158
158
@@ -168,7 +168,7 @@ configuration option to define your own translations directory (or directories):
0 commit comments