O'Reilly logo

Symfony2 Essentials by Wojciech Bancer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Translation

One of the most common requirements when building a new site is to have the ability to present it in another language. The translation process can be very difficult. We need to consider various aspects of translating a website—starting from interface translation, choosing default culture, formatting numbers, currencies, and dates to localized ones, and finally, allowing the user to put content in multiple languages.

In this chapter, we will focus on the following:

  • Reviewing various translation formats available in Symfony2
  • Creating translation files
  • How to use translations in all areas of application
  • How to choose the right translation strategy

Translations

Symfony2 provides some basic mechanism to make translations easier. In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required