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.1.0(1mo ago)4382.9M↓48.8%262[60 issues](https://github.com/lexik/LexikTranslationBundle/issues)[10 PRs](https://github.com/lexik/LexikTranslationBundle/pulls)19MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Aug 20Pushed 1mo 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 2w ago

READMEChangelog (10)Dependencies (70)Versions (80)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

77

—

ExcellentBetter than 100% of packages

Maintenance88

Actively maintained with recent releases

Popularity64

Solid adoption and visibility

Community47

Growing community involvement

Maturity96

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 ~79 days

Recently: every ~40 days

Total

65

Last Release

41d 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 (10 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

v8.1.0PHP ^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 (87 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)")[![vworldat](https://avatars.githubusercontent.com/u/650955?v=4)](https://github.com/vworldat "vworldat (5 commits)")[![HecFranco](https://avatars.githubusercontent.com/u/24323276?v=4)](https://github.com/HecFranco "HecFranco (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![jvasseur](https://avatars.githubusercontent.com/u/849295?v=4)](https://github.com/jvasseur "jvasseur (5 commits)")[![knallcharge](https://avatars.githubusercontent.com/u/1715912?v=4)](https://github.com/knallcharge "knallcharge (5 commits)")[![94noni](https://avatars.githubusercontent.com/u/1358361?v=4)](https://github.com/94noni "94noni (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)")[![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)")

---

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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k18.3M430](/packages/easycorp-easyadmin-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)[contao/core-bundle

Contao Open Source CMS

1301.7M3.1k](/packages/contao-core-bundle)[sylius/sylius

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

8.5k6.0M777](/packages/sylius-sylius)[chameleon-system/chameleon-base

The Chameleon System core.

1029.4k6](/packages/chameleon-system-chameleon-base)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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