Skip to content

Commit 9d2363c

Browse files
committed
[FrameworkBundle][config] allow multiple fallback locales.
1 parent 3774a37 commit 9d2363c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 5 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
530-
........
529+
fallbacks
530+
.........
531531

532-
**type**: ``string`` **default**: ``en``
532+
**type**: ``string|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)