symfony/symfony — pull request #10368 by fabpot (2014-03-03 16:42:06+00:00)
Title: [FrameworkBundle] Added a translation:debug command

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |

This PR is based on #10076 but fixes a bunch of issues for edge cases. It also uses the new Table helper.

Original description:

This pull request adds a `translation:debug` command that can be used to inspect unused / missing messages and compare them with the fallback ones (for example to detect copy pasted strings). This is inspired by this ruby project https://github.com/glebm/i18n-tasks

Example of output:

![demo](https://f.cloud.github.com/assets/1586668/1953198/590529cc-81b8-11e3-8802-03f3e8e4ecc1.png)