Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 2.02 KB

File metadata and controls

49 lines (32 loc) · 2.02 KB

RunroomTranslationBundle

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

This bundle gives the ability to define and use translations directly on the Sonata Backoffice as a replacement for yaml translations of Symfony.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require runroom-packages/translation-bundle

Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Runroom\TranslationBundle\RunroomTranslationBundle::class => ['all' => true],
];

Update doctrine schema

Finally, execute doctrine schema update to create the new tables:

console doctrine:schema:update --force

Contribute

The sources of this package are contained in the Runroom monorepo. We welcome contributions for this package on runroom/runroom-packages.

License

This bundle is under the MIT license.