php bin/console debug:translation
Displays translation messages information
Usage
debug:translation [--domain [DOMAIN]] [--only-missing] [--only-unused] [--all] [--] <locale> [<bundle>]
Arguments
locale The locale
bundle The bundle name or directory where to load the messages
Options
--domain The messages domain
--only-missing Displays only missing messages
--only-unused Displays only unused messages
--all Load messages from all registered bundles
Help
The debug:translation command helps finding unused or missing translation
messages and comparing them with the fallback ones by inspecting the
templates and translation files of a given bundle or the default translations directory.
You can display information about bundle translations in a specific locale:
php bin/console debug:translation en AcmeDemoBundle
You can also specify a translation domain for the search:
php bin/console debug:translation --domain=messages en AcmeDemoBundle
You can only display missing messages:
php bin/console debug:translation --only-missing en AcmeDemoBundle
You can only display unused messages:
php bin/console debug:translation --only-unused en AcmeDemoBundle
You can display information about application translations in a specific locale:
php bin/console debug:translation en
You can display information about translations in all registered bundles in a specific locale:
php bin/console debug:translation --all en