Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Warxcell opened this issue Dec 6, 2017 · 1 comment
Closed

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

Warxcell opened this issue Dec 6, 2017 · 1 comment

Comments

@Warxcell
Copy link
Contributor

Warxcell commented Dec 6, 2017

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. :)

@Warxcell Warxcell changed the title [Component][Translation] Fallback Locales interface? [Translation][RFC] Fallback Locales interface? Dec 6, 2017
@Warxcell Warxcell changed the title [Translation][RFC] Fallback Locales interface? [RFC][Translation] Fallback Locales interface? Dec 6, 2017
@nicolas-grekas
Copy link
Member

Closing in favor of #28579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants