Skip to content

Commit

Permalink
Get started: added translator service to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickroger committed Jul 28, 2016
1 parent e0d70a6 commit 2f92cc4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Resources/doc/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,18 @@ You can do this by importing them in the routing configuration:
resource: "@SonataAdminBundle/Resources/config/routing/sonata_admin.xml"
prefix: /admin
Step 5: Preparing your Environment
Step 5: Enable the "translator" service
---------------------------------------

The translator service is required by SonataAdmin to display all labels properly.

.. code-block:: yaml
# app/config/config.yml
framework:
translator: { fallbacks: [en] }
Step 6: Preparing your Environment
----------------------------------

As with all bundles you install, it's a good practice to clear the cache and
Expand Down

0 comments on commit 2f92cc4

Please sign in to comment.