2017 © Pedro Peláez
 

library lexik-translation-sonata-bundle

A Sonata bundle to create a lexik translation admin interface

image

pix-art/lexik-translation-sonata-bundle

A Sonata bundle to create a lexik translation admin interface

  • Wednesday, November 8, 2017
  • by pixart
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,828 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 11 Versions
  • 37 % Grown

The README.md

Install with composer:, (*1)

# Latest stable
composer require pix-art/lexik-translation-sonata-bundle 1.0

# For latest unstable version
composer require pix-art/lexik-translation-sonata-bundle dev-master

Register the bundle with your kernel:, (*2)

// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new Lexik\Bundle\TranslationBundle\LexikTranslationBundle(),
    new LexikTranslationSonataBundle\LexikTranslationSonataBundle(),
    // ...
);

Then install the required assets:, (*3)

php app/console assets:install

Routing:, (*4)

lexik_translation_edition:
    resource: "@LexikTranslationSonataBundle/Resources/config/routing.yml"
    prefix:   /admin

Config:, (*5)

lexik_translation:
    fallback_locale: [nl]
    managed_locales: [nl,fr,en]
    base_layout: "LexikTranslationSonataBundle::translations_layout.html.twig"

Auto Discovery:, (*6)

This will transform you |trans function, to auto discover this translation if it's not found. Make sure the domain is declared if you want it auto discovered, (*7)

lexik_translation_sonata:
    auto_discover: true
    auto_discover_domains: [messages]

The Versions

08/11 2017

dev-master

9999999-dev

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

08/11 2017

v0.10

0.10.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

19/01 2017

v0.9

0.9.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

19/01 2017

v0.8

0.8.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

11/01 2017

v0.7

0.7.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

11/01 2017

v0.6

0.6.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

15/12 2016

v0.5

0.5.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

08/12 2016

v0.4

0.4.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

08/12 2016

v0.3

0.3.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

08/12 2016

v0.2

0.2.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata

08/12 2016

v0.1

0.1.0.0

A Sonata bundle to create a lexik translation admin interface

  Sources   Download

MIT

The Requires

 

translations sonata