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
minor #14147 Some fixes in structure overriding page (l-vo)
This PR was merged into the 4.4 branch.
Discussion
----------
Some fixes in structure overriding page
* 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 (I think it's a typo, I don't see why `var` would be involved when public dir is customized)
In the same way, a #14135 targets 3.4 to use `default_path` instead of `paths` for templates.
Commits
-------
b65212f Some fixes in structure overriding:
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>` 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