Skip to content

Commit 4eaf1d9

Browse files
committed
minor #18872 [Translation] Fix default-path XML config (HeahDude)
This PR was merged into the 5.4 branch. Discussion ---------- [Translation] Fix `default-path` XML config Note: we should wait for symfony/symfony#51671 to be merged first. Commits ------- 8f381f6 [Translator] Fix `default-path` XML config
2 parents 5b8f853 + 8f381f6 commit 4eaf1d9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

translation.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ are located:
8484
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
8585
8686
<framework:config default-locale="en">
87-
<framework:translator>
88-
<framework:default-path>'%kernel.project_dir%/translations'</framework:default-path>
89-
<!-- ... -->
90-
</framework:translator>
87+
<framework:translator
88+
default-path="%kernel.project_dir%/translations"
89+
/>
9190
</framework:config>
9291
</container>
9392

0 commit comments

Comments
 (0)