runroom-packages / translation-bundle
Manage translations on the Sonata Admin interface
Installs: 11 397
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
Type:symfony-bundle
Requires
- php: ^7.3 || ^8.0
- a2lix/translation-form-bundle: ^3.0
- doctrine/doctrine-bundle: ^2.1
- doctrine/orm: ^2.7
- doctrine/persistence: ^1.3 || ^2.0
- friendsofsymfony/ckeditor-bundle: ^1.2 || ^2.2
- knplabs/doctrine-behaviors: ^2.0.6
- sonata-project/admin-bundle: ^3.68
- sonata-project/doctrine-orm-admin-bundle: ^3.20
- symfony/config: ^4.4 || ^5.1
- symfony/dependency-injection: ^4.4 || ^5.1
- symfony/http-kernel: ^4.4.13 || ^5.1.5
- symfony/translation: ^4.4 || ^5.1
- symfony/twig-bundle: ^4.4 || ^5.1
- symfony/validator: ^4.4 || ^5.1
- symfony/yaml: ^4.4 || ^5.1
- twig/twig: ^2.12 || ^3.0
Requires (Dev)
- fzaninotto/faker: ^1.9
- matthiasnoback/symfony-config-test: ^4.2
- matthiasnoback/symfony-dependency-injection-test: ^4.1
- nelmio/alice: ^3.7
- phpunit/phpunit: ^9.3
- runroom-packages/testing: ^0.9.3
- symfony/phpunit-bridge: ^5.1
- theofidry/alice-data-fixtures: ^1.2
README
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\TranslationBundle::class => ['all' => true], ];
Update doctrine schema
Finally, execute doctrine schema update to create the new tables:
console doctrine:schema:update --force
License
This bundle is under the MIT license.