teo/db18n-bundle

An easy db based labeling for translation with admin area

v0.3.1 2016-04-16 11:29 UTC

This package is not auto-updated.

Last update: 2024-11-09 16:37:40 UTC


README

INSTALLATION:

  • add line to composer.json and run "php composer.phar require "teo/db18n-bundle"

  • activate bundle into AppKernel.php

    new Teo\Db18nBundle\TeoDb18nBundle()

  • bundle requires SonataAdminBundle to have admin working and knp behaviour + a2lix translation form to have translations

USAGE:

inside twig:

if you use |trans_db filter, translations will be retrieved from database.