This Symfony2 bundle allow to import translation files content into the database and provide a GUI to edit translations.
Clone or download
Permalink
Failed to load latest commit information.
.travis Symfony 4 support (#305) Feb 19, 2018
Command Symfony 4 support (#305) Feb 19, 2018
Controller 🐛 Fix render twig in controller for overriding purpose (#311) Aug 25, 2018
DependencyInjection Fix BC with Symfony 2.8 LTS (#322) May 18, 2018
Document Merge branch 'master' into list_missing_translations Nov 9, 2015
Entity added percentages on overview Oct 6, 2015
EventDispatcher Fix for Missing Cache Dir and Windows Paths Mar 14, 2017
Form add default domain when adding a new translation Sep 13, 2017
Manager Added modified flag in order to fix merge algorithm (#261) Mar 27, 2018
Model Added modified flag in order to fix merge algorithm (#261) Mar 27, 2018
Propel Replace Propel to Propel2. (#302) Jan 19, 2018
Resources add sf4 support (#320) May 7, 2018
Storage Replace Propel to Propel2. (#302) Jan 19, 2018
Tests class names are declared in StudlyCaps (#328) Sep 17, 2018
Translation Added modified flag in order to fix merge algorithm (#261) Mar 27, 2018
Util Fix double-encoding of translations in the web UI (#289) Nov 29, 2017
.gitignore Functional tests. Feb 12, 2015
.php_cs added php_cs config file May 29, 2015
.travis.yml Symfony 4 support (#305) Feb 19, 2018
Changelog.md - Add File entity and document. Mar 7, 2012
LICENSE update file Sep 19, 2012
LexikTranslationBundle.php added php_cs config file May 29, 2015
README.md update documentation Sep 13, 2017
composer.json Symfony 4 support (#305) Feb 19, 2018
phpunit.xml.dist Symfony 4 support (#305) Feb 19, 2018

README.md

Overview

This Symfony bundle allows you to:

  • import translation files content into the database and provide a GUI to edit translations.
  • export translations from the database into files.
  • have an overview to check translation domains are completely translated.
  • add new translations in the database.

Build Status Latest Stable Version SensioLabsInsight

The idea is to:

  • write your translations files (xliff, yml or php) as usual for at least one language (the default language of your website for example).
  • load translations into the database by using a command line.
  • freely edit/add translation through an edition page.

The bundle overrides the translator service and provides a DatabaseLoader. Database translations content is loaded last so it overrides content from xliff, yml and php translations files. You can also export translations from the database into files in case you need to get translations files with the same content as the database.

Documentation

For installation and configuration refer to Resources/doc/index.md


Here is a little screen shot of the edition page :)

edition page screen