Skip to content

Commit cef9ca6

Browse files
committed
Added a small note regarding the availability of the Translator
1 parent fd137b6 commit cef9ca6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Translator/doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ For a better developer experience, TypeScript types definitions are also generat
7171
Then, you will be able to import those JavaScript translations in your assets.
7272
Don't worry about your final bundle size, only the translations you use will be included in your final bundle, thanks to the `tree shaking <https://webpack.js.org/guides/tree-shaking/>`_.
7373

74+
.. note::
75+
76+
This package requires the `translator` to be enabled in your Symfony application. If you don't use the `translator` service, the warmup command will not generate any translations.
77+
7478
Configuring the default locale
7579
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7680

0 commit comments

Comments
 (0)