New in Symfony 2.7: Translation Profiler
April 8, 2015
•
Published by
Javier Eguiluz
Warning: This post is about an unsupported Symfony version. Some of this information may be out of date. Read the most recent Symfony Docs.
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](https://farm8.staticflickr.com/7632/17049963966_6fa0a47e7e_o.png)
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](https://farm9.staticflickr.com/8690/17074437932_309eeb9ef7_o.png)
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.
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
It's possible through https://github.com/adrianolek/AOTranslationBundle