Skip to content

The 'default' domain for translation files #14390

Closed
@34rc1n

Description

@34rc1n

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;

Please give some information about that here.. https://symfony.com/doc/current/translation.html#translation-resource-locations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions