PHPackages                             wandi/i18n-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. wandi/i18n-bundle

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

wandi/i18n-bundle
=================

WandiI18nBundle

1.0.2(5y ago)272MITPHPPHP &gt;=5.5.0

Since Jan 22Pushed 5y ago4 watchersCompare

[ Source](https://github.com/WandiParis/I18nBundle)[ Packagist](https://packagist.org/packages/wandi/i18n-bundle)[ Docs](https://github.com/WandiParis/I18nBundle)[ RSS](/packages/wandi-i18n-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

I18nBundle
==========

[](#i18nbundle)

Wandi/I18nBundle is a Symfony bundle used to assist internationalization of projects.

Setup
-----

[](#setup)

### Install via composer

[](#install-via-composer)

```
$ composer require wandi/i18n-bundle

```

### Registering the bundle

[](#registering-the-bundle)

```
$bundles = [
    // ...
    new \Wandi\I18nBundle\WandiI18nBundle(),
];
```

How to use
----------

[](#how-to-use)

### Entity

[](#entity)

- Add **TranslatableEntity** trait in your Entity.
- Create many fields as needed foreach languages used.

```
class Foo
{
    use TranslatableEntity;

    // ...

    /**
     * @var string
     *
     * @ORM\Column(name="bar_fr", type="string", length=255)
     */
    private $barFr;

    /**
     * @var string
     *
     * @ORM\Column(name="bar_en", type="string", length=255)
     */
    private $barEn;
}
```

### View and Controller

[](#view-and-controller)

- The trait will automatically use the correct getter depending to the current language used.

#### View

[](#view)

```
{{ Foo.bar }}
```

#### Controller

[](#controller)

```
$foo->getBar();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~532 days

Total

3

Last Release

1967d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8718936fc9088cb27065762d123c8961dcdab82e2a63816725a8e397865be115?d=identicon)[wandi](/maintainers/wandi)

---

Top Contributors

[![jbchateaux](https://avatars.githubusercontent.com/u/8488550?v=4)](https://github.com/jbchateaux "jbchateaux (5 commits)")[![laurent-bientz](https://avatars.githubusercontent.com/u/6093572?v=4)](https://github.com/laurent-bientz "laurent-bientz (2 commits)")

---

Tags

i18nsymfonysymfony-bundlesymfony3symfony4symfonybundleWandiI18nBundle

### Embed Badge

![Health badge](/badges/wandi-i18n-bundle/health.svg)

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

###  Alternatives

[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k19.0M299](/packages/sonata-project-admin-bundle)[lexik/translation-bundle

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

4362.7M19](/packages/lexik-translation-bundle)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)[creative/symfony-db-i18n-bundle

Allow store i18n-messages in database

1712.6k](/packages/creative-symfony-db-i18n-bundle)

PHPackages © 2026

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