Skip to content

Commit 54a4e2f

Browse files
committed
minor #12337 [FrameworkBundle] Document the translator cache_dir option (javiereguiluz)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] Document the translator cache_dir option Fixes #12083. Commits ------- 941bfc2 [FrameworkBundle] Document the translator cache_dir option
2 parents fddff98 + 941bfc2 commit 54a4e2f

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
@@ -227,6 +227,7 @@ Configuration
227227
* `test`_
228228
* `translator`_
229229

230+
* `cache_dir`_
230231
* :ref:`default_path <reference-translator-default_path>`
231232
* :ref:`enabled <reference-translator-enabled>`
232233
* `fallbacks`_
@@ -2093,6 +2094,18 @@ implement :class:`Symfony\\Component\\Templating\\Loader\\LoaderInterface`.
20932094
translator
20942095
~~~~~~~~~~
20952096

2097+
cache_dir
2098+
.........
2099+
2100+
**type**: ``string`` | ``null`` **default**: ``%kernel.cache_dir%/translations/``
2101+
2102+
.. versionadded:: 4.4
2103+
2104+
The ``cache_dir`` option was introduced in Symfony 4.4.
2105+
2106+
Defines the directory where the translation cache is stored. Use ``null`` to
2107+
disable this cache.
2108+
20962109
.. _reference-translator-enabled:
20972110

20982111
enabled

0 commit comments

Comments
 (0)