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

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

servergrove/translation-editor-bundle
=====================================

Web based UI to manage Symfony2 translations

1152.0k32[2 issues](https://github.com/servergrove/TranslationEditorBundle/issues)[2 PRs](https://github.com/servergrove/TranslationEditorBundle/pulls)2PHP

Since Aug 15Pushed 10y ago10 watchersCompare

[ Source](https://github.com/servergrove/TranslationEditorBundle)[ Packagist](https://packagist.org/packages/servergrove/translation-editor-bundle)[ RSS](/packages/servergrove-translation-editor-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (2)

TranslationEditorBundle
=======================

[](#translationeditorbundle)

The TranslationEditorBundle is a Symfony2 bundle that provides web base UI to manage Symfony2 translations.

The following command line tools are provided:

- Import translation files

    ./app/console locale:editor:import \[--dry-run\] \[filename\]

Import translation files into MongoDB. If no files is specified, the command will search for files in translations directories in src/

- Export to translation files

    ./app/console locale:editor:export \[--dry-run\] \[filename\]

Export translations to translation files from MongoDB. If no files is specified, the command will search for files in translations directories in src/

Screenshot
----------

[](#screenshot)

[![](https://camo.githubusercontent.com/2108a5fb464bacebfa12cd95e5dce30d1f36fdf2d79ba174348985d60d4b3002/687474703a2f2f6661726d382e737461746963666c69636b722e636f6d2f373135382f363636383537303335335f316238353265306537625f625f642e6a7067)](https://camo.githubusercontent.com/2108a5fb464bacebfa12cd95e5dce30d1f36fdf2d79ba174348985d60d4b3002/687474703a2f2f6661726d382e737461746963666c69636b722e636f6d2f373135382f363636383537303335335f316238353265306537625f625f642e6a7067)

Installation:
-------------

[](#installation)

Download or clone the bundle. If you use deps file add it like this:

```
[TranslationEditorBundle]
	git=git://github.com/servergrove/TranslationEditorBundle.git
	target=/bundles/ServerGrove/Bundle/TranslationEditorBundle

```

Then run ./bin/vendors install

Add ServerGrove namespace to app/autoload.php:

```
$loader->registerNamespaces(array(
	...
	'ServerGrove' => __DIR__.'/../vendor/bundles',
	...
));

```

Enable it in your app/AppKernel.php (we recommend that you do it only for the dev environments)

```
public function registerBundles()
{
	...

    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    	...
        $bundles[] = new ServerGrove\Bundle\TranslationEditorBundle\ServerGroveTranslationEditorBundle();
    }

	...
}

```

Configuration:
--------------

[](#configuration)

We recommend that you only enable this bundle for the development environments, so only add the configuration in config\_dev.yml

The collection parameter allows you to define the collection that will contain the translations for the project, so you can have multiple Symfony2 projects in the same mongodb server.

The mongodb parameters defines the mongodb server to connect to.

```
parameters:
	translation_editor.collection: mytranslations
	translation_editor.mongodb: mongodb://localhost:27017

# enable bundle extension
server_grove_translation_editor: ~

```

Add the routing configuration to app/config/routing\_dev.yml

```
SGTranslationEditorBundle:
	resource: "@ServerGroveTranslationEditorBundle/Resources/config/routing.yml"
	prefix:   /

```

Usage:
------

[](#usage)

1. Import translation files into mongodb

    ./app/console locale:editor:import
2. Load editor in browser, edit your translations

3. Export changes to translation files

    ./app/console locale:editor:export

WARNING
-------

[](#warning)

**PLEASE** Backup your translation files before using the editor. **Use a source control system like git, even svn is ok**. We are not responsible for lost information.

TODO
----

[](#todo)

- Support for nested yml format
- Support for xliff files
- Import strings from twig files
- Ability to edit key
- Add Google Translate API interface
- Add Search capabilities

**Pull requests are welcome! We open sourced this bundle hoping people find it useful. Please contribute back any enhancements.**

**Notice:** This bundle has been developed with very short time availability so it does not contain tests, comments, etc, so don't look at it to see how things are done. Instead of complaining of the ugly code, please contribute pull requests with enhancements :)

More information:
-----------------

[](#more-information)

- [ServerGrove Website](http://www.servergrove.com/)
- [ServerGrove Blog](http://blog.servergrove.com/)
- [Follow ServerGrove @ Twitter](http://twitter.com/servergrove)
- [GitHub Downloads](http://github.com/servergrove)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/05f6e92a30f69a12acbdcd7602d53ebac895ff467d9434d5c3b37e592198b6b5?d=identicon)[pgodel](/maintainers/pgodel)

---

Top Contributors

[![pgodel](https://avatars.githubusercontent.com/u/18968?v=4)](https://github.com/pgodel "pgodel (11 commits)")[![iambrosi](https://avatars.githubusercontent.com/u/297102?v=4)](https://github.com/iambrosi "iambrosi (4 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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