Symfony News

New in Symfony 2.7: Translation Profiler

Abdellatif Ait boudad

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.


Be trained by Symfony experts - 2015-04-13 Clichy - 2015-04-14 London - 2015-04-14 London


About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Resources

Find us on Twitter

Find us on Facebook