Skip to content
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

[Translatable] Problems with configuration #426

Closed
treatys opened this issue Aug 5, 2019 · 2 comments
Closed

[Translatable] Problems with configuration #426

treatys opened this issue Aug 5, 2019 · 2 comments

Comments

@treatys
Copy link

treatys commented Aug 5, 2019

Hello,

I've just installed DoctrineBehaviors to Symfony Flex and I cannot go thru configuration. I am getting this error:

The service "knp.doctrine_behaviors.translatable_subscriber.default_locale_callable" has a dependency on a non-existent parameter "locale". Did you mean one of these: "kern el.default_locale", "knp.doctrine_behaviors.translatable_subscriber.current_locale_callable.class", "knp.doctrine_behaviors.translatable_subscriber.default_locale_callable. class"?

Do you have any idea how to fix this?

@horlyk
Copy link

horlyk commented Sep 12, 2019

services.yml:
parameters: locale: 'en'

@TomasVotruba
Copy link
Contributor

This will be resolved on services level in new version

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

No branches or pull requests

3 participants