Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 08448e9

Browse filesBrowse files
committed
minor #20652 Explain how translation messages are merged among bundles (mpdude)
This PR was merged into the 6.4 branch. Discussion ---------- Explain how translation messages are merged among bundles This adds a detail about how messages are merged when more than one bundle provides a translation for a single message key. Commits ------- ac4a5f7 Explain how translation messages are merged among bundles
2 parents 8d35db9 + ac4a5f7 commit 08448e9
Copy full SHA for 08448e9

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎translation.rst

Copy file name to clipboardExpand all lines: translation.rst
+3-1Lines changed: 3 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.