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 2af0b3f

Browse filesBrowse files
committed
[#4050] Backporting some additions to 2.3
1 parent db35c42 commit 2af0b3f
Copy full SHA for 2af0b3f

File tree

Expand file treeCollapse file tree

1 file changed

+24
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+24
-0
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+24Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.