Skip to content

Commit aed3177

Browse files
committed
minor #10592 Deprecating support for legacy translations directory (yceruto)
This PR was merged into the master branch. Discussion ---------- Deprecating support for legacy translations directory See symfony/symfony#28997 Commits ------- 690ff93 Deprecating support for legacy translations directory
2 parents d710c88 + 690ff93 commit aed3177

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

translation.rst

Lines changed: 5 additions & 0 deletions
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)