From adf678b3d15b1a9d5b046ca4424712964272a786 Mon Sep 17 00:00:00 2001 From: Radek Benkel Date: Sun, 5 Jan 2014 23:43:24 +0100 Subject: [PATCH] Added info about JsonFileLoader added in 2.4 --- components/translation/introduction.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/translation/introduction.rst b/components/translation/introduction.rst index 2151bebd15e..243a453cdd9 100644 --- a/components/translation/introduction.rst +++ b/components/translation/introduction.rst @@ -62,6 +62,9 @@ The Translation component uses Loader classes to load catalogs. You can load multiple resources for the same locale, which will then be combined into one catalog. +.. versionadded:: 2.4 + The ``JsonFileLoader`` was introduced in Symfony 2.4. + The component comes with some default Loaders and you can create your own Loader too. The default loaders are: @@ -85,6 +88,8 @@ Loader too. The default loaders are: catalogs form QT XML files. * :class:`Symfony\\Component\\Translation\\Loader\\XliffFileLoader` - to load catalogs from Xliff files. +* :class:`Symfony\\Component\\Translation\\Loader\\JsonFileLoader` - to load + catalogs from JSON files. * :class:`Symfony\\Component\\Translation\\Loader\\YamlFileLoader` - to load catalogs from Yaml files (requires the :doc:`Yaml component`).