Skip to content

Commit ac4a5f7

Browse files
authored
Explain how translation messages are merged among bundles
1 parent a8cb450 commit ac4a5f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

translation.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,9 @@ Symfony looks for message files (i.e. translations) in the following default loc
497497
``Resources/translations/`` directory, which is no longer recommended for bundles).
498498

499499
The locations are listed here with the highest priority first. That is, you can
500-
override the translation messages of a bundle in the first directory.
500+
override the translation messages of a bundle in the first directory. Bundles are processed
501+
in the order they are given in the ``config/bundles.php`` file, so bundles listed first have
502+
higher priority.
501503

502504
The override mechanism works at a key level: only the overridden keys need
503505
to be listed in a higher priority message file. When a key is not found

0 commit comments

Comments
 (0)