Skip to content

explain precedence of translation directories #13430

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

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

SimonHeimberg
Copy link
Contributor

Explain the precedence of translation directories configured in translator.path.

for translation files.
for translation files. Translation entries from later directories overwrite
earlyer ones. The last processed dir is `default_path <reference-translator-default_path>`
(which has a default value).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This order is the result of my tests. Could somebody confirm please?

In case you do not use flex: app/Resources/translations is after default_path.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's correct.

Explain the precedence of translation directories configured in `translator.path`.
@javiereguiluz javiereguiluz changed the base branch from 3.4 to 4.4 September 9, 2020 17:50
@javiereguiluz javiereguiluz merged commit d57b714 into symfony:4.4 Sep 9, 2020
@javiereguiluz
Copy link
Member

Thanks Simon! Sorry it took us so long to merge.

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

Successfully merging this pull request may close these issues.

4 participants