diff --git a/components/translation/introduction.rst b/components/translation/introduction.rst index c8130e6f7ec..69b9e5d15ae 100644 --- a/components/translation/introduction.rst +++ b/components/translation/introduction.rst @@ -186,7 +186,7 @@ organization, translations were split into three different domains: loaded like this:: // ... - $translator->addLoader('xliff', new XliffLoader()); + $translator->addLoader('xliff', new XliffFileLoader()); $translator->addResource('xliff', 'messages.fr.xliff', 'fr_FR'); $translator->addResource('xliff', 'admin.fr.xliff', 'fr_FR', 'admin');