diff --git a/bundles/override.rst b/bundles/override.rst index ec1af71ea88..2cbd05134dc 100644 --- a/bundles/override.rst +++ b/bundles/override.rst @@ -155,14 +155,11 @@ can override the translations from any translation file, as long as it is in .. caution:: - The last translation file always wins. That means that you need to make - sure that the bundle containing *your* translations is loaded after any + Translation files are not aware of :doc:`bundle inheritance `. + If you want to override translations from the parent bundle or another bundle, + make sure that the bundle containing *your* translations is loaded after any bundle whose translations you're overriding. This is done in ``AppKernel``. - Translation files are also not aware of :doc:`bundle inheritance `. - If you want to override translations from the parent bundle, be sure that the - parent bundle is loaded before the child bundle in the ``AppKernel`` class. - - The file that always wins is the one that is placed in - ``app/Resources/translations``, as those files are always loaded last. + Finally, translations located in ``app/Resources/translations`` will override + all the other translations since those files are always loaded last. .. _`the Doctrine documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html#overrides