Skip to content

Commit 5467a56

Browse files
committed
[#5293] Tweak to link to the article about parent bundles
1 parent e12e911 commit 5467a56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/bundles/override.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ can override the translations from any translation file, as long as it is in
191191
The last translation file always wins. That means that you need to make
192192
sure that the bundle containing *your* translations is loaded after any
193193
bundle whose translations you're overriding. This is done in ``AppKernel``.
194-
Translation files are not aware of the inheritance tree and therefore
195-
unaware of their parent. If you want to override translations from the
196-
parent bundle, be sure that the parent bundle is loaded before the child
197-
bundle in the ``AppKernel`` class.
194+
195+
Translation files are also not aware of :doc:`bundle inheritance </cookbook/bundles/inheritance>`.
196+
If you want to override translations from the parent bundle, be sure that the
197+
parent bundle is loaded before the child bundle in the ``AppKernel`` class.
198198

199199
The file that always wins is the one that is placed in
200200
``app/Resources/translations``, as those files are always loaded last.

0 commit comments

Comments
 (0)