8000 [#4050] Backporting some additions to 2.3 · symfony/symfony-docs@2af0b3f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2af0b3f

Browse files
committed
[#4050] Backporting some additions to 2.3
1 parent db35c42 commit 2af0b3f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

reference/configuration/framework.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Configuration
4545
* `profiler`_
4646
* `collect`_
4747
* :ref:`enabled <profiler.enabled>`
48+
* `translator`_
49+
* :ref:`enabled <translator.enabled>`
50+
* `fallback`_
4851

4952
secret
5053
~~~~~~
@@ -493,6 +496,27 @@ and activate the data collectors by hand::
493496

494497
$profiler->enable();
495498

499+
translator
500+
~~~~~~~~~~
501+
502+
.. _translator.enabled:
503+
504+
enabled
505+
.......
506+
507+
**type**: ``boolean`` **default**: ``false``
508+
509+
Whether or not to enable the ``translator`` service in the service container.
510+
511+
fallback
512+
........
513+
514+
**default**: ``en``
515+
516+
This option is used when the translation key for the current locale wasn't found.
517+
518+
For more details, see :doc:`/book/translation`.
519+
496520
Full default Configuration
497521
--------------------------
498522

0 commit comments

Comments
 (0)
0