You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have spent a lot of time wondering why my new translation files are not being recognized.
The issue was that they were namend "en.yaml" "en.php" etc. (no domain defined)
The manual does not state that domain part is required.
domain: An optional 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;
Will look at this. Maybe instead of optional, we should say:
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; (e.g. messages.en.yaml)
Uh oh!
There was an error while loading. Please reload this page.
I have spent a lot of time wondering why my new translation files are not being recognized.
The issue was that they were namend "en.yaml" "en.php" etc. (no domain defined)
The manual does not state that domain part is required.
Please give some information about that here.. https://symfony.com/doc/current/translation.html#translation-resource-locations
The text was updated successfully, but these errors were encountered: