News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Internationalization Made Easy
November 12, 2012 @ 13:15:58

In this new tutorial posted to PHPMaster.com, Hari K T takes a look at internationalization in a Symfony2-based application using its own translation component.

If you've ever worked to develop a site which needed to be available in multiple languages then you know how difficult it can be. With the help of Symfony2′s Translation component you can easily make internationalized sites. I'll show you how with some sample code and some discussion on its API.

He includes a basic example of how the component works with the typical "hello world" translation from English to French. He mentions fallback locales, pluralization and the conversion between translation formats (like converting from a YAML file into a translation object).

0 comments voice your opinion now!
internationalization symfony2 i18n framework component tutorial


blog comments powered by Disqus

Similar Posts

Community News: Zend/PHP Conference & Expo 2007 Site Posted

Tobias Schlitt's Blog: Radar charts, MS SQL support, dialog system and greetings from spiderman!

Eran Galperin's Blog: Profiling queries with Zend_Db and optimizing them by hand

Piotr Walczyszyn's Blog: Configuring Eclipse PDT & Flash Builder 4 Plug-in for PHP/Flex development

Qandidate.com: Debugging PHP applications with HHVM


Community Events

Don't see your event here?
Let us know!


performance extension laravel symfony2 interview library opinion podcast voicesoftheelephpant php7 framework api introduction version release application community series example testing

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework