Skip to content

Commit fdaefad

Browse files
committed
Merge branch '4.4'
* 4.4: [Translation] Mention that you don't have to clear the cache for translation files
2 parents 312b2df + 8b387ba commit fdaefad

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

translation.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,15 +347,12 @@ For more options, see :ref:`component-translator-message-catalogs`.
347347
:class:`Symfony\\Component\\Translation\\Loader\\LoaderInterface` interface.
348348
See the :ref:`dic-tags-translation-loader` tag for more information.
349349

350-
.. caution::
350+
.. versionadded:: 4.3
351351

352-
Each time you create a *new* translation resource (or install a bundle
353-
that includes a translation resource), be sure to clear your cache so
354-
that Symfony can discover the new translation resources:
355-
356-
.. code-block:: terminal
357-
358-
$ php bin/console cache:clear
352+
Starting from Symfony 4.3, when you create a new translation file (or
353+
install a bundle that includes translation files), you don't have to clear
354+
the cache with the command ``php bin/console cache:clear`` as you had to do
355+
in previous Symfony versions.
359356

360357
Handling the User's Locale
361358
--------------------------

0 commit comments

Comments
 (0)