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

Translations in app/Resources are not detected. #1010

Closed
ghost opened this issue Aug 30, 2017 · 0 comments
Closed

Translations in app/Resources are not detected. #1010

ghost opened this issue Aug 30, 2017 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Aug 30, 2017

I had some translations in my bundles, for example in src/Bundle/AppBundle/Resources/translations but when I moved it to app/Resources/AppBundle/translations in my Twig templates it shows that translations are missing. I've tried invalidating cache and restarting the IDE but it didn't help.

Is there any way I've missed to make it work or is it a bug?

// EDIT

I noticed that there's a Translation Root Path option in the Settings and it does make the translations work (after invalidating cache and restarting the IDE). However it's quite inconvenient since when you clear your cache then suddenly all the translations are marked as missing. Moreover with the translations placed straight in your bundles in src/ it didn't need the cache filled to see the translations.

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

No branches or pull requests

1 participant