Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b387ba

Browse filesBrowse 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
Copy full SHA for 8b387ba

File tree

Expand file treeCollapse file tree

1 file changed

+5
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-8
lines changed

‎translation.rst

Copy file name to clipboardExpand all lines: translation.rst
+5-8Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.