We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
default_locale
framework.translator.fallbacks
1 parent 00ac4ce commit dd12eb5Copy full SHA for dd12eb5
translation.rst
@@ -943,6 +943,9 @@ the framework:
943
$framework->defaultLocale('en');
944
};
945
946
+This ``default_locale`` is also relevant for the translator, as we will see
947
+in the next section.
948
+
949
.. _translation-fallback:
950
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,
- 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.
971
972
.. configuration-block::
973
0 commit comments