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

LexikTranslationBundle

by lexik

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

Overview

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

Build Status
Project 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 override the translator service and provide a DatabaseLoader.
Database translations content is loaded last so it override content from xliff, yml and php translations files.
You can also export translations from the database in to files in case of 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 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.
lexik_translation:
base_layout: LexikTranslationBundle::layout.html.twig
fallback_locale: ~ # Required
managed_locales: [] # Required
grid_input_type: text
storage:
type: orm
object_manager: ~
resources_registration:
type: all
managed_locales_only: true
use_yml_tree: false
  • Merge pull request #122 from pharman/fix_pagination_count
    By cedric-g, 2 years ago
  • Correct argument to Lexik\Bundle\TranslationBundle\Storage\StorageInterface in Lexik\Bundle\TranslationBundle\Util\DataGrid\DataGridRequestHandler
    By pharman, 2 years ago
  • Merge branch '94noni-improvement'
    By cedric-g, 2 years ago
  • back to previous syntax
    By cedric-g, 2 years ago
  • Merge branch 'improvement' of https://github.com/94noni/LexikTranslationBundle into 94noni-improvement
    By cedric-g, 2 years ago
  • Merge pull request #118 from 94noni/toggle_similar_cols
    By cedric-g, 2 years ago
  • Merge branch 'kuczek-feature/functional-tests'
    By cedric-g, 2 years ago
  • Functional tests.
    By kuczek, 2 years ago
  • Some improvements
    By 94noni, 2 years ago
  • Toggle Similar Locale Columns, based on primary branch toggle_similar_cols
    By 94noni, 2 years ago
  • added options to toggle similar cols
    By 94noni, 2 years ago
  • Merge pull request #105 from krzysztofbitnoise/master
    By cedric-g, 2 years ago
  • added missing new line character
    By cedric-g, 2 years ago
  • compare boolean with strict operator
    By cedric-g, 2 years ago
  • fixed travis file
    By cedric-g, 2 years ago
  • clean code, removed unused parameters and use statements
    By cedric-g, 2 years ago
  • clean duplicated code doctrine storage classes
    By cedric-g, 2 years ago
  • run tests with sf2.6
    By cedric-g, 2 years ago
  • renamed angular controller
    By cedric-g, 2 years ago
  • Merge pull request #108 from lexik/doctrine_mapping
    By cedric-g, 2 years ago
  • fixed pagination
    By cedric-g, 2 years ago
  • Merge pull request #109 from lexik/import_domains_option
    By cedric-g, 2 years ago
  • added --domains option on import command
    By cedric-g, 2 years ago
  • Merge branch 'doctrine_mapping' of git://github.com/lexik/LexikTranslationBundle into doctrine_mapping
    By cedric-g, 2 years ago
  • updated doctrine mapping to use mapped super class
    By cedric-g, 2 years ago
  • also run tests with sf2.5
    By cedric-g, 2 years ago
  • updated path in tests
    By cedric-g, 2 years ago
  • improve doctrine mapping
    By cedric-g, 2 years ago
  • updated ng-table and added missing .map file
    By cedric-g, 2 years ago
  • Merge pull request #106 from Yameveo/sortfix
    By cedric-g, 2 years ago