mopro/translation-ui-bundle

A different UI for the JMSTranslationBundle

Maintainers

👁 futurecat

Package info

github.com/moprodotio/MoproTranslationUIBundle

Language:JavaScript

pkg:composer/mopro/translation-ui-bundle

Statistics

Installs: 435

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 0

0.2.0 2016-02-09 11:52 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT d80033a73235e89d3934ec0dd40a06940b7b5e5d

  • Marc Weistroff <marc.woop@mopro.io>

This package is not auto-updated.

Last update: 2026-06-26 18:30:37 UTC


README

A different UI for the JMSTranslationBundle.

Installation

  • Install the bundle through composer

     composer require mopro/translation-ui-bundle
     php app/console assets:install
    
  • Instanciate the bundle for the dev environment

     if ('dev' === $this->getEnvironment()) {
     $bundles[] = new Mopro\Bundle\TranslationUIBundle\MoproTranslationUIBundle();
     }
    
  • Import routing in your app/config/routing_dev.yml file

     mopro_translation_ui:
     resource: "@MoproTranslationUIBundle/Controller/"
     type: annotation
    

(The routing will conflict with the existing JMSTranslation UI, so remove the routes imports if needed)

Usage

Go to http://your.website/app_dev.php/_trans and start translating.

Development

This bundle relies on Javascript. It uses all the cool things we have in 2016 (see package.json file for a list of dependencies). If you want to develop, make sure you have at least node and npm installed. Then, you will need to run these command:

npm install -g webpack
npm install

In order to generate the javascript file, you will need to run the webpack command.

Remember to symlink your assets by using the php app/console assets:install --symlink command

LICENSE

See LICENSE file.