Skip to content

Commit 6d66322

Browse files
committed
[FrameworkBundle][config] allow multiple fallback locales.
1 parent 9fee9ee commit 6d66322

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Configuration
4848
* :ref:`enabled <profiler.enabled>`
4949
* `translator`_
5050
* :ref:`enabled <translator.enabled>`
51-
* `fallback`_
51+
* `fallbacks`_
5252
* `validation`_
5353
* `cache`_
5454
* `enable_annotations`_
@@ -526,10 +526,10 @@ enabled
526526

527527
Whether or not to enable the ``translator`` service in the service container.
528528

529-
fallback
529+
fallbacks
530530
........
531531

532-
**type**: ``string`` **default**: ``en``
532+
**type**: ``array`` **default**: ``en``
533533

534534
This option is used when the translation key for the current locale wasn't found.
535535

@@ -676,7 +676,7 @@ Full default Configuration
676676
# translator configuration
677677
translator:
678678
enabled: false
679-
fallback: en
679+
fallbacks: [en]
680680
681681
# validation configuration
682682
validation:

0 commit comments

Comments
 (0)