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 @@ -918,6 +918,9 @@ the framework:
918
918
$framework->defaultLocale('en');
919
919
};
920
920
921
+ This ``default_locale `` is also relevant for the translator, as we will see
922
+ in the next section.
923
+
921
924
.. _translation-fallback :
922
925
923
926
Fallback Translation Locales
@@ -938,7 +941,8 @@ checks translation resources for several locales:
938
941
(Spanish) translation resource (e.g. ``messages.es.yaml ``);
939
942
940
943
#. If the translation still isn't found, Symfony uses the ``fallbacks `` option,
941
- which can be configured as follows:
944
+ which can be configured as follows. When this option is not defined, it
945
+ defaults to the ``default_locale `` setting mentioned in the previous section.
942
946
943
947
.. configuration-block ::
944
948
You can’t perform that action at this time.
0 commit comments