Skip to content

Commit 435566d

Browse files
committed
minor #9965 Update framework.rst (apodgorbunschih)
This PR was squashed before being merged into the 3.4 branch (closes #9965). Discussion ---------- Update framework.rst Adding the default_path option to translator configuration Commits ------- 4289160 Update framework.rst
2 parents ac4645b + 4289160 commit 435566d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

reference/configuration/framework.rst

+14
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Configuration
166166
* `test`_
167167
* `translator`_
168168

169+
* :ref:`default_path <reference-translator-default_path>`
169170
* :ref:`enabled <reference-translator-enabled>`
170171
* `fallbacks`_
171172
* `logging`_
@@ -1595,6 +1596,19 @@ paths
15951596
This option allows to define an array of paths where the component will look
15961597
for translation files.
15971598

1599+
.. _reference-translator-default_path:
1600+
1601+
default_path
1602+
............
1603+
1604+
.. versionadded:: 3.4
1605+
The ``default_path`` option was introduced in Symfony 3.4.
1606+
1607+
**type**: ``string`` **default**: ``%kernel.project_dir%/translations``
1608+
1609+
This option allows to define the path where the application translations files
1610+
are stored.
1611+
15981612
property_access
15991613
~~~~~~~~~~~~~~~
16001614

0 commit comments

Comments
 (0)