Skip to content

Commit 2ad1ba5

Browse files
committed
[#5954] minor tweaks
1 parent d58cb56 commit 2ad1ba5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

book/translation.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,11 @@ For more options, see :ref:`component-translator-message-catalogs`.
384384
framework:
385385
translator:
386386
paths:
387-
- "%kernel.root_dir%/../translations"
387+
- '%kernel.root_dir%/../translations'
388388
389389
.. code-block:: xml
390390
391+
<!-- app/config/config.xml -->
391392
<?xml version="1.0" encoding="UTF-8" ?>
392393
<container xmlns="http://symfony.com/schema/dic/services"
393394
xmlns:framework="http://symfony.com/schema/dic/symfony"
@@ -407,11 +408,12 @@ For more options, see :ref:`component-translator-message-catalogs`.
407408
408409
.. code-block:: php
409410
411+
// app/config/config.php
410412
$container->loadFromExtension('framework', array(
411413
'translator' => array(
412414
'paths' => array(
413-
'%kernel.root_dir%/../translations'
414-
)
415+
'%kernel.root_dir%/../translations',
416+
),
415417
),
416418
));
417419

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy