File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -655,9 +655,12 @@ priority message files.
655
655
The filename of the translation files is also important: each message file
656
656
must be named according to the following path: ``domain.locale.loader ``:
657
657
658
- * **domain **: An optional way to organize messages into groups. Unless
658
+ * **domain **: Domains are a way to organize messages into groups. Unless
659
659
parts of the application are explicitly separated from each other, it is
660
- recommended to only use default ``messages `` domain;
660
+ recommended to only use default ``messages `` domain.
661
+
662
+ If no domains are explicitly defined while using the translator, Symfony
663
+ will look for the ``messages `` domain (e.g. ``messages.en.yaml ``)
661
664
662
665
* **locale **: The locale that the translations are for (e.g. ``en_GB ``, ``en ``, etc);
663
666
You can’t perform that action at this time.
0 commit comments