Skip to content

Commit 8f381f6

Browse files
committed
[Translator] Fix default-path XML config
1 parent 2cbbb39 commit 8f381f6

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)