Developed with love by KnpLabs Hire us for your project!
359

LexikTranslationBundle

by lexik

This Symfony2 bundle allow to import translation files content into the database and provide a GUI to edit translations.

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

Copyright (C) 2010-2012 Lexik <dev@lexik.fr>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Add Symfony 4.3 kernel.locale_aware tag (#347)
    By spike31, 1 year ago
  • Sf4 fix (#331)
    By spike31, 2 years ago
  • Update LexikTranslationBundle.es.yml (#339)
    By spike31, 2 years ago
  • class names are declared in StudlyCaps (#328)
    By spike31, 2 years ago
  • :bug: Fix render twig in controller for overriding purpose (#311)
    By spike31, 2 years ago
  • Fix BC with Symfony 2.8 LTS (#322)
    By spike31, 2 years ago
  • add sf4 support (#320)
    By spike31, 3 years ago
  • Added modified flag in order to fix merge algorithm (#261)
    By spike31, 3 years ago
  • Remove useless check on http method (#315)
    By spike31, 3 years ago
  • Corrected ExportTranslationsCommand service id. (#314)
    By spike31, 3 years ago
  • Fix symfony >= 3.4 user deprecated. (#310)
    By spike31, 3 years ago
  • #306. set public of 'translate' alias for compatibility with other components in SF4. (#309)
    By spike31, 3 years ago
  • Symfony 4 support (#305)
    By spike31, 3 years ago
  • Minor typo fixes (#296)
    By spike31, 3 years ago
  • Replace Propel to Propel2. (#302)
    By spike31, 3 years ago
  • Fix error undefined index: charset (#298)
    By spike31, 3 years ago
  • Fix double-encoding of translations in the web UI (#289)
    By spike31, 3 years ago
  • URL decode updated translation messages
    By sdieunidou, 3 years ago
  • update documentation
    By Seb, 3 years ago
  • add default domain when adding a new translation
    By sdieunidou, 3 years ago
  • persist grid params in url + add link on overview to filter by a domain
    By sdieunidou, 3 years ago
  • add csrf protection (#278)
    By web-flow, 3 years ago
  • Merge pull request #280 from lexik/dev_tools_fix
    By web-flow, 3 years ago
  • fix DI for dev_tool definition
    By spike31, 3 years ago
  • Replace save by saved glyphicon, looking less 'download' than 'confirm' action (#267)
    By sdieunidou, 3 years ago
  • check if function apc_delete_file() exist before call it (#277)
    By web-flow, 3 years ago
  • remove dependency symfony/symfony
    By web-flow, 3 years ago
  • fix tests (#276)
    By web-flow, 3 years ago
  • fix definition of storage service for sf 3.3 (#275)
    By web-flow, 3 years ago
  • Fix travis conf (#274)
    By web-flow, 3 years ago