The Locale Component

http://symfony.com/doc/current/components/locale.html