runroom-packages/translation-bundle

Manage translations on the Sonata Admin interface

Maintainers

Package info

github.com/Runroom/RunroomTranslationBundle

Homepage

Type:symfony-bundle

pkg:composer/runroom-packages/translation-bundle

Statistics

Installs: 76 056

Dependents: 1

Suggesters: 0

Stars: 1


README

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.