diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 658b1b431f8..8b70f371f9a 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -227,6 +227,7 @@ Configuration * `test`_ * `translator`_ + * `cache_dir`_ * :ref:`default_path ` * :ref:`enabled ` * `fallbacks`_ @@ -2093,6 +2094,18 @@ implement :class:`Symfony\\Component\\Templating\\Loader\\LoaderInterface`. translator ~~~~~~~~~~ +cache_dir +......... + +**type**: ``string`` | ``null`` **default**: ``%kernel.cache_dir%/translations/`` + +.. versionadded:: 4.4 + + The ``cache_dir`` option was introduced in Symfony 4.4. + +Defines the directory where the translation cache is stored. Use ``null`` to +disable this cache. + .. _reference-translator-enabled: enabled