Skip to content

Commit 0c39ac3

Browse files
committed
Added some symfony docs
1 parent 708888f commit 0c39ac3

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

components/symfony-bundle.rst

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,25 @@ WebUI
3535
.. code-block:: yaml
3636
3737
// routing_dev.yml
38-
_translation:
38+
_translation_webui:
3939
resource: "@TranslationBundle/Resources/config/routing_webui.yml"
4040
prefix: /admin
4141
4242
Go to http://localhost.dev/app_dev.php/admin/_trans
43+
44+
Symfony Profiler Integration
45+
----------------------------
46+
47+
.. code-block:: yaml
48+
49+
// config.yml
50+
translation:
51+
locales: ["sv", "en"]
52+
symfony_profiler:
53+
enabled: true
54+
55+
.. code-block:: yaml
56+
57+
// routing_dev.yml
58+
_translation_profiler:
59+
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yml'

0 commit comments

Comments
 (0)