Skip to content

[RFC][Translation] Fallback Locales interface? #25356

Closed
@Warxcell

Description

@Warxcell
Q A
Bug report? no
Feature request? yes
BC Break report? maybe, depends
RFC? yes
Symfony version *

You do plan of having some kind of interface for setFallbackLocales and getFallbackLocales?
I have written software which translates entities/objects and it's using Symfony's Translator to get current locale and fallback locales transparently, instead of having own configuration.

I have to check for existence of methods with method_exists($translator, 'getFallbackLocales') - and I don't like that. :)

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