Skip to content

Commit 55606c7

Browse files
committed
Merge branch '4.4'
* 4.4: [FrameworkBundle] Document the translator cache_dir option
2 parents c742ce9 + 54a4e2f commit 55606c7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

reference/configuration/framework.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ Configuration
217217
* `test`_
218218
* `translator`_
219219

220+
* `cache_dir`_
220221
* :ref:`default_path <reference-translator-default_path>`
221222
* :ref:`enabled <reference-translator-enabled>`
222223
* `fallbacks`_
@@ -1941,6 +1942,18 @@ package:
19411942
translator
19421943
~~~~~~~~~~
19431944

1945+
cache_dir
1946+
.........
1947+
1948+
**type**: ``string`` | ``null`` **default**: ``%kernel.cache_dir%/translations/``
1949+
1950+
.. versionadded:: 4.4
1951+
1952+
The ``cache_dir`` option was introduced in Symfony 4.4.
1953+
1954+
Defines the directory where the translation cache is stored. Use ``null`` to
1955+
disable this cache.
1956+
19441957
.. _reference-translator-enabled:
19451958

19461959
enabled

0 commit comments

Comments
 (0)