Skip to content

Deprecate Translation::getFallbackLocales() #28579

@nicolas-grekas

Description

@nicolas-grekas

From #25549 (comment)

getFallbackLocales only fits reflection purposes in the code base. We'd better deprecate it actually and find another way for data collectors and debug:translation. Let's reduce the complexity.

The current places that use it should instead be provided with the same options/locales/fallbacks as the translator.

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