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 yesterday

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 35% 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

3952d 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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k160.5M1.2k](/packages/symfony-web-profiler-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11249.0k1](/packages/ecotone-symfony-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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