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

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

weprovide/symfony-translation-bundle
====================================

The We Provide Translation Bundle for Symfony incorporates the JMS/TranslationBundle into the Sonata/AdminBundle.

0.3.0(6y ago)2634[3 issues](https://github.com/weprovide/symfony-translation-bundle/issues)MITPHP

Since Oct 24Pushed 6y agoCompare

[ Source](https://github.com/weprovide/symfony-translation-bundle)[ Packagist](https://packagist.org/packages/weprovide/symfony-translation-bundle)[ RSS](/packages/weprovide-symfony-translation-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)DependenciesVersions (6)Used By (0)

We Provide Translation Bundle
=============================

[](#we-provide-translation-bundle)

The We Provide Translation Bundle for Symfony incorporates the JMS/TranslationBundle into the Sonata/AdminBundle. Both bundles are awesome but do not work together out of the box. Using this bundle you'll be able to extract and manage your translations through the easy-to-use admin.

Dependencies
------------

[](#dependencies)

This bundle is developed with a Symfony Standard Edition on PHP 7.1 using We Provide's version of valet. Obviously it has dependencies to other projects and/or bundles. Below a list of dependencies, please use the installation guides of these bundles first.

- [Symfony Standard Edition 3.3](https://symfony.com/doc/current/setup.html#creating-symfony-applications-with-composer)
- [Sonata Admin Bundle 3.18](https://sonata-project.org/bundles/admin/3-x/doc/getting_started/installation.html) (with [SonataDoctrineORMAdminBundle](https://sonata-project.org/bundles/doctrine-orm-admin/master/doc/reference/installation.html))
- [JMS Translation Bundle 1.3](https://jmsyst.com/bundles/JMSTranslationBundle/master/installation)
- [Ivory CK Editor ^4.0](https://github.com/egeloen/IvoryCKEditorBundle)

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

[](#installation)

Install this bundle into your project using Composer.

```
composer require weprovide/symfony-translation-bundle

```

Enable the bundle by inserting it in your Symfony's `AppKernel.php`.

```
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new WeProvide\TranslationBundle\WeProvideTranslationBundle(),
        );

        // ...
    }

    // ...
}
```

Import the global config of this bundle in your project's `config.yml`.

```
imports:
    - { resource: "@WeProvideTranslationBundle/Resources/config/config.yml" }
```

Configure your locales and translation files folder in your `config.yml`.

```
we_provide_translation:
    # defaults to 'en' if not set, you can use strings like 'en' or a parameter
    default_locale: '%locale%'

    # required, array with locales you wish the manage
    locales: [en, nl_NL]

    # optional, array with (paths of) your bundles to extract translations from
    # if omitted, extracts from your complete project
    translate_bundles: [YourAppBundle]

    # optional, location where translation files will be written
    # if omitted, '@WeProvidePortalBundle/Resources/translations' will be the target
    resource: '@YourAppBundle/Resources/translations'
```

Commands
--------

[](#commands)

In production or other non-debug environments the translations stored in YML are only updated when the cache is cleared. This bundle provides a command to clear cache when a translation has been changed. It's safe to execute or set this command as cron.

```
php bin/console weprovide:translation:recache --env=[prod,stag,dev]

```

You can schedule an extraction of translations from the admin interface. This will not extract the translations directly because this can take a long time. Instead set the command below as cron to do actually execute the scheduled extraction. This will also clear the cache after extraction.

```
php bin/console weprovide:translation:reextract

```

You can use the command below to extract the translations.

```
php bin/console weprovide:translation:extract

```

License
-------

[](#license)

This bundle has been released under the MIT license and open for improvements, please share your thoughts which will be much appreciated.

Authors
-------

[](#authors)

- Mischa Braam ([@mischabraam](https://github.com/mischabraam))

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

5

Last Release

2275d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80809e7caf8341b1bac3d759e2b159a38b9bdab2deee5b0d4d66de6c83b992d1?d=identicon)[IntractoSupport](/maintainers/IntractoSupport)

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

![](https://www.gravatar.com/avatar/6f1ed5a230a1b7a889ad5bb727fc43f070e2d57ad9f857625226096cbfcc80c7?d=identicon)[aadmathijssen](/maintainers/aadmathijssen)

![](https://www.gravatar.com/avatar/92f8e461e78a0a329cc789c8aa51ada74ae2b7cb0ea12ecc4b09a834d114d236?d=identicon)[timvango](/maintainers/timvango)

---

Tags

i18ntranslationjmsmultilanguagesonataweprovide

### Embed Badge

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

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

###  Alternatives

[jms/translation-bundle

Puts the Symfony Translation Component on steroids

42411.2M76](/packages/jms-translation-bundle)[jenssegers/date

A date library to help you work with dates in different languages

1.8k11.6M85](/packages/jenssegers-date)[gettext/gettext

PHP gettext manager

70233.3M127](/packages/gettext-gettext)[fightbulc/moment

Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js

9673.5M13](/packages/fightbulc-moment)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[instaclick/translation-editor-bundle

Web editor UI to manage Symfony2 translations (Symfony2 bundle)

1819.5k](/packages/instaclick-translation-editor-bundle)

PHPackages © 2026

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