PHPackages                             lordjancso/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. lordjancso/translation-bundle

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

lordjancso/translation-bundle
=============================

Translation bundle for Symfony to manage your translations.

v0.0.6(1mo ago)09.8k↓45.2%MITPHPPHP ^8.1CI passing

Since Mar 11Pushed 1mo ago1 watchersCompare

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

READMEChangelogDependencies (20)Versions (9)Used By (0)

TranslationBundle
=================

[](#translationbundle)

Translation bundle for Symfony to manage your translations in the database.

[![CI](https://github.com/lordjancso/TranslationBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/lordjancso/TranslationBundle/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/5d396bb9c120b07aacac182f189373522708a6ad480c5f8f95e276bd18de3090/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72646a616e63736f2f7472616e736c6174696f6e2d62756e646c652f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/lordjancso/translation-bundle)[![Total Downloads](https://camo.githubusercontent.com/58c2e265b26032b309a756f2388ec1bd25960ba9b7f00eb27a10de7eb7907910/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72646a616e63736f2f7472616e736c6174696f6e2d62756e646c652f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/lordjancso/translation-bundle)[![License](https://camo.githubusercontent.com/3eb39b59dcd6e3ba419cdf825575caba68e5012e1e6378b48e0a7b19214929aa/68747470733a2f2f706f7365722e707567782e6f72672f6c6f72646a616e63736f2f7472616e736c6174696f6e2d62756e646c652f6c6963656e73653f666f726d61743d666c6174)](https://packagist.org/packages/lordjancso/translation-bundle)

Requirements
------------

[](#requirements)

- PHP 8.2+
- Symfony 6.4 / 7.4 / 8.0
- Doctrine ORM

Installation
------------

[](#installation)

```
composer require lordjancso/translation-bundle
```

Configuration
-------------

[](#configuration)

```
# config/packages/lordjancso_translation.yaml

lordjancso_translation:
    managed_locales: ['en', 'fr', 'de']    # required
    extract:
        translations_dir: 'translations'    # default: 'translations'
        exclude_domains: []                 # default: []
```

Optionally you can add a route to check your translation progress.

```
# config/routes/dev/lordjancso_translation.yaml

lordjancso_translation:
    resource: "@LordjancsoTranslationBundle/Resources/config/routes.xml"
    prefix: /lordjancso-translation
```

Create the database tables with Doctrine:

```
php bin/console doctrine:schema:update --force
```

Usage
-----

[](#usage)

### Extract

[](#extract)

Extract translation keys from your source code into YAML files.

```
php bin/console lordjancso:extract-translations hu
```

### Export

[](#export)

Export translations from the database to YAML files.

```
php bin/console lordjancso:export-translations
```

### Import

[](#import)

Import YAML translation files into the database.

```
php bin/console lordjancso:import-translations
```

### Translation stats UI

[](#translation-stats-ui)

If you added the route, visit `/lordjancso-translation` to see a translation coverage overview per domain and locale.

Testing
-------

[](#testing)

```
./vendor/bin/simple-phpunit
```

Limitations
-----------

[](#limitations)

- Only supports Doctrine ORM with MySQL

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance89

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Recently: every ~543 days

Total

6

Last Release

54d ago

PHP version history (3 changes)v0.0.1PHP ^7.1

v0.0.3PHP ^8.2

v0.0.6PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![lordjancso](https://avatars.githubusercontent.com/u/6485707?v=4)](https://github.com/lordjancso "lordjancso (96 commits)")

---

Tags

symfonybundletranslatetranslationlordjancso

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

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

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

1.3k1.3M152](/packages/sulu-sulu)[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)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[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)
