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

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

afe/translation-tool-bundle
===========================

Check for duplicated translations code, unused translations codes, ...

0.1.0(10y ago)2115MITPHPPHP &gt;=5.3.2

Since Sep 7Pushed 10y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

This bundle provide a set of tools to :

- Find unused translations code
- Find duplicated translations code

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

[](#installation-)

```
composer require afe/translation-tool-bundle:dev-master

```

```
// AppKernel.php
public function registerBundles()
{
    ...
    $bundles = array(
        ...
        new Afe\TranslationToolBundle\AfeTranslationToolBundle(),
        ...
    );
    ...
}

```

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

[](#configuration-)

```
# config.yml
afe_translation_tool:
    # translation files configuration
    translation_files_dir_path: "%kernel.root_dir%/.." # translation files root directory
    translation_files_locale: fr # locale of translations files to process
    translation_files_format: yml # translation files format to process (only yml is currently supported)
    excluded_translation_file_mask: ["dtc_*"] # excluded translations files from process
    excluded_translation_directories: ["vendor"] # exclude translation files of this directory

    # processed directory configuration
    src_dir_path: "%kernel.root_dir%/.." # src root directory
    format_to_look_into: ["twig", "html", "php", "js"] # look for unused translation in those given files
    excluded_file_mask: ["fr.json", "fr.js"] # file to exclude from the process
    excluded_directories: ["node_modules", "vendor", "data", "compiled", "bootstrap", "assets"] # file to exclude from the process

```

Usage :
-------

[](#usage-)

```
# display duplicated translations code
php app/console afe:translation:check:codes

# display unused translations code
php app/console afe:translation:unused:codes

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3906d ago

### Community

Maintainers

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

---

Top Contributors

[![debugall](https://avatars.githubusercontent.com/u/1188914?v=4)](https://github.com/debugall "debugall (18 commits)")

---

Tags

unsused duplicated translation

### Embed Badge

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

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

###  Alternatives

[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)[jms/translation-bundle

Puts the Symfony Translation Component on steroids

42510.8M63](/packages/jms-translation-bundle)[jms/i18n-routing-bundle

This bundle allows you to create i18n routes.

3635.3M17](/packages/jms-i18n-routing-bundle)[php-translation/symfony-bundle

3244.1M9](/packages/php-translation-symfony-bundle)[bcc/extra-tools-bundle

A set of extra tools in a bundle for Symfony2: a translation extractor, a locale date parser/formatter, a unit converter...

9359.0k](/packages/bcc-extra-tools-bundle)[docteurklein/translator-bundle

This bundle's purpose is to provide an interface for edition, addition and deletion of translations messages.

462.7k](/packages/docteurklein-translator-bundle)

PHPackages © 2026

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