Skip to content

Commit 8b387ba

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: [Translation] Mention that you don't have to clear the cache for translation files
2 parents 42c37dc + 7efb02d commit 8b387ba

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
@@ -365,15 +365,12 @@ For more options, see :ref:`component-translator-message-catalogs`.
365365
:class:`Symfony\\Component\\Translation\\Loader\\LoaderInterface` interface.
366366
See the :ref:`dic-tags-translation-loader` tag for more information.
367367

368-
.. caution::
369-
370-
Each time you create a *new* translation resource (or install a bundle
371-
that includes a translation resource), be sure to clear your cache so
372-
that Symfony can discover the new translation resources:
373-
374-
.. code-block:: terminal
368+
.. versionadded:: 4.3
375369

376-
$ php bin/console cache:clear
370+
Starting from Symfony 4.3, when you create a new translation file (or
371+
install a bundle that includes translation files), you don't have to clear
372+
the cache with the command ``php bin/console cache:clear`` as you had to do
373+
in previous Symfony versions.
377374

378375
Handling the User's Locale
379376
--------------------------

0 commit comments

Comments
 (0)