Skip to content

Commit 7cc7d69

Browse files
committed
[symfony#2601] Very minor tweaks to overriding article
1 parent 2f9151b commit 7cc7d69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/bundles/override.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ can override the translations from any translation file, as long as it is in
134134
.. caution::
135135

136136
The last translation file always wins. That mean that you need to make
137-
sure to load the class which overrides the translation of another bundle
138-
before that bundle in the ``AppKernel``.
137+
sure that the bundle containing *your* translations is loaded after any
138+
bundle whose translations you're overriding. This is done in ``AppKernel``.
139139

140140
The file that always wins is the one that is placed in
141-
``app/Resources/translations``, as those files are always loaded as last.
141+
``app/Resources/translations``, as those files are always loaded last.
142142

143143
.. _`the Doctrine documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html#overrides

0 commit comments

Comments
 (0)