Skip to content

Commit 690ff93

Browse files
committed
Deprecating support for legacy translations directory
1 parent 2121344 commit 690ff93

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

translation.rst

+5
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,11 @@ with these tasks:
375375
Translation 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+
378383
Symfony looks for message files (i.e. translations) in the following default locations:
379384

380385
* the ``translations/`` directory (at the root of the project);

0 commit comments

Comments
 (0)