Skip to content

Use Symfony’s enabled_locales Instead of Custom locales Parameter #4

@CreativeNative

Description

@CreativeNative

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 locales parameter.
  • Use enabled_locales from 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions