Skip to content

Commit 6b3c424

Browse files
committed
feature symfony#3428 Translation - Added info about JsonFileLoader added in 2.4 (singles)
This PR was merged into the 2.4 branch. Discussion ---------- Translation - Added info about JsonFileLoader added in 2.4 | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes (symfony/symfony#8534) | Applies to | 2.4 | Fixed tickets | n/a Commits ------- adf678b Added info about JsonFileLoader added in 2.4
2 parents 541cd73 + adf678b commit 6b3c424

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/translation/introduction.rst

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ The Translation component uses Loader classes to load catalogs. You can load
6262
multiple resources for the same locale, which will then be combined into one
6363
catalog.
6464

65+
.. versionadded:: 2.4
66+
The ``JsonFileLoader`` was introduced in Symfony 2.4.
67+
6568
The component comes with some default Loaders and you can create your own
6669
Loader too. The default loaders are:
6770

@@ -85,6 +88,8 @@ Loader too. The default loaders are:
8588
catalogs form QT XML files.
8689
* :class:`Symfony\\Component\\Translation\\Loader\\XliffFileLoader` - to load
8790
catalogs from Xliff files.
91+
* :class:`Symfony\\Component\\Translation\\Loader\\JsonFileLoader` - to load
92+
catalogs from JSON files.
8893
* :class:`Symfony\\Component\\Translation\\Loader\\YamlFileLoader` - to load
8994
catalogs from Yaml files (requires the :doc:`Yaml component</components/yaml/introduction>`).
9095

0 commit comments

Comments
 (0)