File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -943,6 +943,9 @@ the framework:
943
943
$framework->defaultLocale('en');
944
944
};
945
945
946
+ This ``default_locale `` is also relevant for the translator, as we will see
947
+ in the next section.
948
+
946
949
.. _translation-fallback :
947
950
948
951
Fallback Translation Locales
@@ -963,7 +966,8 @@ checks translation resources for several locales:
963
966
(Spanish) translation resource (e.g. ``messages.es.yaml ``);
964
967
965
968
#. If the translation still isn't found, Symfony uses the ``fallbacks `` option,
966
- which can be configured as follows:
969
+ which can be configured as follows. When this option is not defined, it
970
+ defaults to the ``default_locale `` setting mentioned in the previous section.
967
971
968
972
.. configuration-block ::
969
973
You can’t perform that action at this time.
0 commit comments