Download the PHP package ibrows/sonata-translation-bundle without Composer
On this page you can find all versions of the php package ibrows/sonata-translation-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ibrows/sonata-translation-bundle
More information about ibrows/sonata-translation-bundle
Files in ibrows/sonata-translation-bundle
Package sonata-translation-bundle
Short Description Integration of lexik translation into sonata admin
License MIT
Informations about the package sonata-translation-bundle
SonataTranslationBundle
The SonataTranslationBundle is an integration of the LexikTranslationBundle into the SonataAdminBundle.
Installation
Add the following lines in your composer.json:
To start using the bundle, register the SonataTranslationBundle and LexikTranslationBundle in your application's kernel class:
Configuration
SonataTranslationBundle
No initial configuration is necessary.
However there are some options you can configure in order to edit the look. Below the default configuration is shown:
LexikTranslationBundle
The minimal configuration consists of:
For additional configuration options please refer to the official documentation
In order to have some keys shown up in the admin panel, you have to import the translation files first. This is done through a command offered by LexikTranslationBundle:
Once again refer to the official documentation for additional information.
Usage
To include the bundle in the admin dashboard, add group "group.translation" to dashboard
There really is not more to say about it ;).
All versions of sonata-translation-bundle with dependencies
symfony/framework-bundle Version >=2.1
sonata-project/admin-bundle Version *
lexik/translation-bundle Version *