News Archive
PhpRiot Newsletter
Your Email Address:

More information

Symfony News: Translation Component Now Avabilable (Symfony2)

Note: This article was originally published at PHPDeveloper on 28 September 2010.

As Fabien Potencier recently mentioned, the Translation component for the Symfony framework has recently been made available for use in the Symfony2 framework.

The Symfony2 Translation Component is now available. The documentation is here on github. As always, I need your feedback.

The documentation includes some best practices examples and describes how to use it to internationalize all of the messages in your application. You'll need to update your configuration yaml files with a few settings so you can use the "trans" method globally.