Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,12 @@ priority message files.
The filename of the translation files is also important: each message file
must be named according to the following path: ``domain.locale.loader``:

* **domain**: An optional way to organize messages into groups. Unless
* **domain**: Domains are a way to organize messages into groups. Unless
parts of the application are explicitly separated from each other, it is
recommended to only use default ``messages`` domain;
recommended to only use default ``messages`` domain.

If no domains are explicitly defined while using the translator, Symfony
will default to the ``messages`` domain (e.g. ``messages.en.yaml``)

* **locale**: The locale that the translations are for (e.g. ``en_GB``, ``en``, etc);

Expand Down