PHPackages                             servergrove/servergrovelocalebundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. servergrove/servergrovelocalebundle

AbandonedSymfony-bundle[Localization &amp; i18n](/categories/localization)

servergrove/servergrovelocalebundle
===================================

This bundle provides a set of Twig functions to display flags in different ways

v2.0.0(12y ago)131674[2 issues](https://github.com/servergrove/ServerGroveLocaleBundle/issues)[2 PRs](https://github.com/servergrove/ServerGroveLocaleBundle/pulls)MITPHP

Since Nov 2Pushed 3y ago2 watchersCompare

[ Source](https://github.com/servergrove/ServerGroveLocaleBundle)[ Packagist](https://packagist.org/packages/servergrove/servergrovelocalebundle)[ RSS](/packages/servergrove-servergrovelocalebundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (9)Versions (3)Used By (0)

ServerGroveLocaleBundle
=======================

[](#servergrovelocalebundle)

This bundle provides a set of Twig functions to display browser culture codes.

[![Build Status](https://camo.githubusercontent.com/d232e788d1c3627734dbec7d27f86f6a234965b51d7785d70c7f417488356e40/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f73657276657267726f76652f53657276657247726f76654c6f63616c6542756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/servergrove/ServerGroveLocaleBundle)

Installation
------------

[](#installation)

You need to follow the steps according to your Symfony version.

### Specifics to Symfony 2.0

[](#specifics-to-symfony-20)

#### Deps

[](#deps)

First you need to add the bundle to your deps file

```
[ServerGroveLocaleBundle]
    git=https://github.com/servergrove/ServerGroveLocaleBundle.git
    target=bundles/ServerGrove/LocaleBundle

```

and then, run the vendors script to download the bundle source

```
$ php ./bin/vendors install
```

#### Autoload

[](#autoload)

The app must know where to look for our bundle classes. Adding the following line to the autoload file will do it.

```
