Skip to content

Commit

Permalink
Added info about JsonFileLoader added in 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek Benkel committed Jan 6, 2014
1 parent b028282 commit adf678b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/translation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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</components/yaml/introduction>`).

Expand Down

0 comments on commit adf678b

Please # to comment.