Skip to content

Commit

Permalink
[#5954] minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Dec 9, 2015
1 parent d58cb56 commit 2ad1ba5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,11 @@ For more options, see :ref:`component-translator-message-catalogs`.
framework:
translator:
paths:
- "%kernel.root_dir%/../translations"
- '%kernel.root_dir%/../translations'
.. code-block:: xml
<!-- app/config/config.xml -->
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:framework="http://symfony.com/schema/dic/symfony"
Expand All @@ -407,11 +408,12 @@ For more options, see :ref:`component-translator-message-catalogs`.
.. code-block:: php
// app/config/config.php
$container->loadFromExtension('framework', array(
'translator' => array(
'paths' => array(
'%kernel.root_dir%/../translations'
)
'%kernel.root_dir%/../translations',
),
),
));
Expand Down

0 comments on commit 2ad1ba5

Please sign in to comment.