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

ActiveLibrary[Localization &amp; i18n](/categories/localization)

rvalin/translation-bundle
=========================

a Symfony Bundle to update translation

1.0.8(7y ago)164MITPHPPHP &gt;=5.3.9

Since Apr 14Pushed 6y ago1 watchersCompare

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

READMEChangelog (8)DependenciesVersions (13)Used By (0)

RValinTranslationBundle
=======================

[](#rvalintranslationbundle)

RValinTranslationBundle provide an easy way to update translation in symfony (2 -&gt; 4).
It allow user to update translation directly from the page.

### Warning

[](#warning)

This bundle update your translations files.
For this reason, I recommend to use it only in dev or to use [lexikTranslationBundle](https://github.com/lexik/LexikTranslationBundle).

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

[](#installation)

1. Use [Composer](https://getcomposer.org/) to download the library

```
composer require rvalin/translation-bundle

```

2. Then add the RValinTranslationBundle to your application kernel:

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new RValin\MigrationBundle\RValinTranslationBundle(),
        // ...
    );
}
```

3. Then update your config (optional)

Default config:

```
r_valin_translation:
    dumpers_config: []
    updaters: ['file']
    role: 'ROLE_UPDATE_TRANSLATION'
    allowed_domains: []
    allowed_bundles: []

```

This config will use the default config of Symfony to generate translations files.
If you want to customize the dumb set the config you want with dumpers\_config.

Exemple for yml files.

```
r_valin_translation:
    dumpers_config:
        yml:
            as_tree: true

```

### LexikTranslationBundle

[](#lexiktranslationbundle)

If you use [lexikTranslationBundle](https://github.com/lexik/LexikTranslationBundle) you just need to add this service:

```
rvalin.translation.updater.lexik_translation:
    class: RValin\TranslationBundle\Updater\LexikTranslationUpdater
    arguments: ['@lexik_translation.translation_storage', '@lexik_translation.trans_unit.manager']
    tags:
        - { name: rvalin.translation.updater, alias: 'lexik_translation' }

```

And change your config to use this updater:

```
r_valin_translation:
    updaters: ['lexik_translation']

```

You can use both file and lexik\_translation updater if you want to.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Recently: every ~0 days

Total

11

Last Release

2634d ago

Major Versions

v0.4 → v1.0.02018-11-12

### Community

Maintainers

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

---

Top Contributors

[![rValin](https://avatars.githubusercontent.com/u/15260576?v=4)](https://github.com/rValin "rValin (10 commits)")

---

Tags

symfonytranslationedit

### Embed Badge

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

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

###  Alternatives

[willdurand/js-translation-bundle

A pretty nice way to expose your translation messages to your JavaScript.

58917.1M55](/packages/willdurand-js-translation-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)

PHPackages © 2026

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