-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Use Symfony’s enabled_locales Instead of Custom locales Parameter
Description
Currently, the bundle uses a custom configuration parameter named locales to define the available locales.
However, Symfony natively provides a similar parameter called enabled_locales, which serves the same purpose and is part of the core framework configuration.
To improve compatibility and reduce redundancy, the bundle should be updated to use Symfony’s enabled_locales parameter instead of the custom locales parameter.
Proposed Changes
- Deprecate the custom
localesparameter. - Use
enabled_localesfrom the Symfony framework configuration. - Update documentation and configuration examples accordingly.
Benefits
- Better alignment with Symfony conventions.
- Simplified configuration.
- Improved interoperability with other bundles relying on
enabled_locales.
References
- Symfony Docs: Framework Configuration – enabled_locales
Metadata
Metadata
Assignees
Labels
No labels