Skip to content

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