@@ -246,13 +246,13 @@ Translation
246246~~~~~~~~~~~
247247
248248If you're using the Twig integration with one of the default form theme files
249- (e.g. ``form_div_layout.html.twig ``), there are 2 Twig filters (``trans ``
250- and `` transChoice ``) that are used for translating form labels, errors, option
249+ (e.g. ``form_div_layout.html.twig ``), there is a Twig filter (``trans ``)
250+ that is used for translating form labels, errors, option
251251text and other strings.
252252
253- To add these Twig filters , you can either use the built-in
253+ To add the `` trans `` Twig filter , you can either use the built-in
254254:class: `Symfony\\ Bridge\\ Twig\\ Extension\\ TranslationExtension ` that integrates
255- with Symfony's Translation component, or add the 2 Twig filters yourself,
255+ with Symfony's Translation component, or add the Twig filter yourself,
256256via your own Twig extension.
257257
258258To use the built-in integration, be sure that your project has Symfony's
@@ -281,7 +281,7 @@ to your ``Twig\Environment`` instance::
281281 'en'
282282 );
283283
284- // adds the TranslationExtension (gives us trans and transChoice filters )
284+ // adds the TranslationExtension (it gives us trans filter )
285285 $twig->addExtension(new TranslationExtension($translator));
286286
287287 $formFactory = Forms::createFormFactoryBuilder()
0 commit comments