PHPackages                             lexik/translation-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. lexik/translation-bundle

ActiveSymfony-bundle[Localization &amp; i18n](/categories/localization)

lexik/translation-bundle
========================

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

v8.0.4(2mo ago)4362.7M—2.7%265[62 issues](https://github.com/lexik/LexikTranslationBundle/issues)[11 PRs](https://github.com/lexik/LexikTranslationBundle/pulls)19MITPHPPHP ^8.1|^8.2|^8.3|^8.4CI passing

Since Aug 20Pushed 2mo ago26 watchersCompare

[ Source](https://github.com/lexik/LexikTranslationBundle)[ Packagist](https://packagist.org/packages/lexik/translation-bundle)[ Docs](https://github.com/lexik/LexikTranslationBundle)[ RSS](/packages/lexik-translation-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (46)Versions (69)Used By (19)

Overview
========

[](#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](https://camo.githubusercontent.com/4d3053e637c46f69975e1ef342f1f914c40939da843510dcded2431c73c8de81/68747470733a2f2f7472617669732d63692e6f72672f6c6578696b2f4c6578696b5472616e736c6174696f6e42756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/lexik/LexikTranslationBundle)[![Latest Stable Version](https://camo.githubusercontent.com/1675f86a693898019bebf979296b2b4f524b824172a04d484684364808102452/68747470733a2f2f706f7365722e707567782e6f72672f6c6578696b2f7472616e736c6174696f6e2d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/lexik/translation-bundle)[![SensioLabsInsight](https://camo.githubusercontent.com/4280e4b94e385b6a28643132899dff51d588c9ec69a337d92214b11d7c341dcd/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64646133656662642d306466332d343465622d626563612d3336353930303030323164342f6d696e692e706e67)](https://insight.sensiolabs.com/projects/dda3efbd-0df3-44eb-beca-3659000021d4)

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
=============

[](#documentation)

For installation and configuration refer to [Resources/doc/index.md](https://github.com/lexik/LexikTranslationBundle/blob/master/Resources/doc/index.md)

---

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

[![edition page screen](https://github.com/lexik/LexikTranslationBundle/raw/master/Resources/doc/screen/grid.jpg)](https://github.com/lexik/LexikTranslationBundle/raw/master/Resources/doc/screen/grid.jpg)

Development
===========

[](#development)

The project provides a **Makefile** for common tasks (tests, static analysis, code style). See **[docs/development.md](docs/development.md)** for:

- How to use the Makefile (requires [GNU Make](https://www.gnu.org/software/make/), usually pre-installed on Linux and macOS).
- **Cross-platform**: running the same commands on Windows (without Make) using Docker Compose.
- Cache files (e.g. `.php-cs-fixer.cache`) are listed in `.gitignore` and are not committed; you can remove them locally if needed.

TESTING
=======

[](#testing)

[Read the documentation for testing ](./testing.md)

###  Health Score

76

—

ExcellentBetter than 100% of packages

Maintenance84

Actively maintained with recent releases

Popularity64

Solid adoption and visibility

Community47

Growing community involvement

Maturity95

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~81 days

Recently: every ~26 days

Total

62

Last Release

66d ago

Major Versions

3.4.x-dev → 4.4.x-dev2021-10-04

4.4.x-dev → 5.2.x-dev2021-12-02

5.3.x-dev → v6.02022-06-12

6.0.x-dev → v7.02024-02-17

v7.3.6 → v8.02026-01-25

PHP version history (9 changes)v1.1.1PHP &gt;=5.3.2

v4.0.0PHP &gt;=5.5.9

v4.0.3PHP ^5.6 || ^7.0

v4.4.0PHP ^7.1

v5.0.0PHP ^7.4

v5.2.0PHP ^7.4|^8.0

6.0.x-devPHP ^8.1

v7.0PHP ^8.2

v7.3PHP ^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/c95b430ba2ad6164d8daffdad2ff923dc92bd55a7d5559cb07adf035a543a761?d=identicon)[gilles31](/maintainers/gilles31)

![](https://www.gravatar.com/avatar/077eba6702dc23a795ee2262dff92505e3c8ead08f7cb205be80d8aae0a6b8e5?d=identicon)[sdieunidou](/maintainers/sdieunidou)

![](https://www.gravatar.com/avatar/9afe5fb1ecbb4f6432e1ea736f9783b6d138c4484889922acb9b3354188e60a0?d=identicon)[jeremyb](/maintainers/jeremyb)

![](https://www.gravatar.com/avatar/3c887878d9155bd964d771d21fe5dd1ac3ceb7f6303d94d684f6d17905f302a1?d=identicon)[cedric-g](/maintainers/cedric-g)

---

Top Contributors

[![bartmcleod](https://avatars.githubusercontent.com/u/1441397?v=4)](https://github.com/bartmcleod "bartmcleod (86 commits)")[![raziel057](https://avatars.githubusercontent.com/u/652505?v=4)](https://github.com/raziel057 "raziel057 (48 commits)")[![cedric-g](https://avatars.githubusercontent.com/u/570306?v=4)](https://github.com/cedric-g "cedric-g (22 commits)")[![shakaran](https://avatars.githubusercontent.com/u/14254?v=4)](https://github.com/shakaran "shakaran (14 commits)")[![rvanlaak](https://avatars.githubusercontent.com/u/2707563?v=4)](https://github.com/rvanlaak "rvanlaak (9 commits)")[![sdieunidou](https://avatars.githubusercontent.com/u/570763?v=4)](https://github.com/sdieunidou "sdieunidou (6 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (5 commits)")[![jvasseur](https://avatars.githubusercontent.com/u/849295?v=4)](https://github.com/jvasseur "jvasseur (5 commits)")[![vworldat](https://avatars.githubusercontent.com/u/650955?v=4)](https://github.com/vworldat "vworldat (5 commits)")[![knallcharge](https://avatars.githubusercontent.com/u/1715912?v=4)](https://github.com/knallcharge "knallcharge (5 commits)")[![HecFranco](https://avatars.githubusercontent.com/u/24323276?v=4)](https://github.com/HecFranco "HecFranco (4 commits)")[![ch3ric](https://avatars.githubusercontent.com/u/858068?v=4)](https://github.com/ch3ric "ch3ric (4 commits)")[![cybermo](https://avatars.githubusercontent.com/u/6603243?v=4)](https://github.com/cybermo "cybermo (4 commits)")[![Donjohn](https://avatars.githubusercontent.com/u/1415326?v=4)](https://github.com/Donjohn "Donjohn (4 commits)")[![94noni](https://avatars.githubusercontent.com/u/1358361?v=4)](https://github.com/94noni "94noni (4 commits)")[![Heyden7611](https://avatars.githubusercontent.com/u/23743780?v=4)](https://github.com/Heyden7611 "Heyden7611 (4 commits)")[![AhmedSamy](https://avatars.githubusercontent.com/u/2566979?v=4)](https://github.com/AhmedSamy "AhmedSamy (3 commits)")[![dinamic](https://avatars.githubusercontent.com/u/11616?v=4)](https://github.com/dinamic "dinamic (3 commits)")[![carlos-ea](https://avatars.githubusercontent.com/u/5512089?v=4)](https://github.com/carlos-ea "carlos-ea (3 commits)")[![sergbass](https://avatars.githubusercontent.com/u/2885302?v=4)](https://github.com/sergbass "sergbass (3 commits)")

---

Tags

bundlephpsymfonysymfony-bundlesymfonybundlei18ntranslation

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lexik-translation-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lexik-translation-bundle/health.svg)](https://phpackages.com/packages/lexik-translation-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
