Skip to content

Commit 13e3351

Browse files
committed
Update override.rst
Minor editing.
1 parent b80f46b commit 13e3351

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cookbook/bundles/override.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +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 the loading order in ``AppKernel`` is parent > child.
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.
197198

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

0 commit comments

Comments
 (0)