File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -375,11 +375,6 @@ with these tasks:
375375Translation Resource/File Names and Locations
376376---------------------------------------------
377377
378- .. versionadded :: 4.2
379- The translations directory ``src/Resources/<bundle name>/translations/ `` was
380- deprecated in Symfony 4.2, use the directory defined in the ``default_path ``
381- option (``translations/ `` by default).
382-
383378Symfony looks for message files (i.e. translations) in the following default locations:
384379
385380* the ``translations/ `` directory (at the root of the project);
@@ -388,6 +383,11 @@ Symfony looks for message files (i.e. translations) in the following default loc
388383
389384* the ``Resources/translations/ `` directory inside of any bundle.
390385
386+ .. versionadded :: 4.2
387+ Using the ``src/Resources/<bundle name>/translations/ `` directory to store
388+ translations was deprecated in Symfony 4.2. Use instead the directory
389+ defined in the ``default_path `` option (which is ``translations/ `` by default).
390+
391391The locations are listed here with the highest priority first. That is, you can
392392override the translation messages of a bundle in any of the top two directories.
393393
You can’t perform that action at this time.
0 commit comments