Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit7efb02d

Browse files
committed
minor#12021 [Translation] Mention that you don't have to clear the cache for translation files (javiereguiluz)
This PR was merged into the 4.3 branch.Discussion----------[Translation] Mention that you don't have to clear the cache for translation filesMentions the nice new behavior implemented insymfony/symfony#28937.Commits-------ddf97c7 [Translation] Mention that you don't have to clear the cache for translation files
2 parents725d8e4 +ddf97c7 commit7efb02d

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

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

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp