Skip to content

Commit 951580d

Browse files
committed
minor #9578 [Translation] Add the true default location where translations are stored (pimolo)
This PR was merged into the 3.4 branch. Discussion ---------- [Translation] Add the true default location where translations are stored https://github.com/symfony/framework-bundle/blob/7c221a91384d7ba889c1f7e05e02111f6bfe8831/DependencyInjection/Configuration.php#L692 https://github.com/symfony/framework-bundle/blob/7c221a91384d7ba889c1f7e05e02111f6bfe8831/DependencyInjection/FrameworkExtension.php#L997 According to these lines, there is a default path which is handled before the others. It doesn't appear in the 3.4 docs. Commits ------- e1ccf87 Add the true default location
2 parents 15185ab + e1ccf87 commit 951580d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

translation.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ Translation Resource/File Names and Locations
360360

361361
Symfony looks for message files (i.e. translations) in the following default locations:
362362

363+
* the ``translations`` directory (at the root of the project);
364+
363365
* the ``app/Resources/translations`` directory;
364366

365367
* the ``app/Resources/<bundle name>/translations`` directory;

0 commit comments

Comments
 (0)