From c74ce5370f292740fd0478886e9cbefb8be34f2b Mon Sep 17 00:00:00 2001 From: Rafael Dohms Date: Thu, 19 Jan 2012 22:45:44 +0100 Subject: [PATCH] Added note to alert users that initializing a child bundle before the parent will cause translation override to happen the other way. --- cookbook/bundles/inheritance.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cookbook/bundles/inheritance.rst b/cookbook/bundles/inheritance.rst index bb92aee8e8c..d405163cb07 100644 --- a/cookbook/bundles/inheritance.rst +++ b/cookbook/bundles/inheritance.rst @@ -91,4 +91,10 @@ The same goes for routing files, validation configuration and other resources. If you refer to resources without using the @BundleName shortcut, they can't be overridden in this way. -.. _`FOSUserBundle`: https://github.com/friendsofsymfony/fosuserbundle \ No newline at end of file +.. note:: + + To override translation files, please make sure the child bundle is initialized + after the parent bundle in the AppKernel. + +.. _`FOSUserBundle`: https://github.com/friendsofsymfony/fosuserbundle +