New in Symfony 2.7: Translation Profiler

Contributed by
Abdellatif Ait boudad
in #14003.

Internationalizing an application and assuring that all its messages are actually translated is one of the most frustrating, hassling and time-consuming tasks that developers must face.

Symfony is decided to drastically simplify this process while boosting your productivity. That's why in Symfony 2.7, the web debug toolbar will show a new translation panel.

This panel provides a quick overview of the status of your application translation:

Symfony 2.7 toolbar translation panel

Translation messages are divided into three categories: defined (the messages that have already been translated), missing (the messages left to be translated) and same as fallback (messages which aren't translated but are available in the default locale configured in the application).

If you click on the toolbar panel, you'll see the new Translation profiler:

Symfony 2.7 translation profiler

This table shows the detail of the application messages, including their domain, the times each of them have been used and a preview of the translated message.

Comments

So, would it be possible to translate directly from the profiler, that would be awesome
This new feature is awesome, I truely love it
@Martin Aarhof
It's possible through https://github.com/adrianolek/AOTranslationBundle
Great feature!
Nice addition! The web debug toolbar is very powerfull!
Nice, great feature!
Nice feature! The only problem is choice form type, which tries to translate every label in a choice list (take timezone or country choices for example) This results in a lot of missing translations, which are actually not missing.
Nice !!
Awesome, thanks !

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.