Locale Bundle for symfony2
Clone or download
dbu Merge pull request #203 from ElectricMaxxx/controller_public
make controller public to use it as the redirect controller
Latest commit 1f5ee7f Mar 28, 2018
Permalink
Failed to load latest commit information.
Controller keep query string when redirecting Jan 14, 2015
Cookie Added a FilterLocaleSwitchEvent to handle the persisting of locales i… Oct 26, 2012
DependencyInjection removed unused use statement in RemoveSessionPass Sep 17, 2015
Event LocaleUpdateListener now gets the Request instance from FilterLocaleS… Dec 7, 2012
EventListener removed unused use statement in LocaleUpdateListener Sep 17, 2015
Form/Extension Implement both getName and getBlockPrefix for symfony 2.8 based proje… Jun 29, 2016
LocaleGuesser Stop sessions from being created if not already started. Fixes #198 Nov 29, 2017
LocaleInformation lots of improvements on testing Jan 26, 2018
Matcher bug #180 started refactoring the LocaleChoiceList Dec 4, 2015
Resources Merge pull request #203 from ElectricMaxxx/controller_public Mar 28, 2018
Session Ignore phpunit.xml and coverage dir report/ May 5, 2013
Switcher changed due to hints Jan 26, 2018
Templating/Helper make it possible to override the template inside a twig call Dec 21, 2012
Tests Merge pull request #202 from ElectricMaxxx/inject_services Feb 3, 2018
Twig/Extension do not use container directly Jan 25, 2018
Validator bug #176 dropped support for legacy validation api Dec 4, 2015
.gitignore Ignore phpunit.xml and coverage dir report/ May 5, 2013
.travis.yml test with symfony 3.4 and 4, drop php < 5.6 and bump minor version Nov 27, 2017
CHANGELOG-2_1.markdown added cookieLocaleGuesser Aug 16, 2012
LocaleBundleEvents.php Added a FilterLocaleSwitchEvent to handle the persisting of locales i… Oct 26, 2012
LuneticsLocaleBundle.php Allow to disable session service Jan 8, 2014
README.md Update build matrix to include recent symfony versions Aug 30, 2017
composer.json test with symfony 3.4 and 4, drop php < 5.6 and bump minor version Nov 27, 2017
phing.xml Updated Phing Buildfile and composer.json Oct 17, 2012
phpunit.xml.dist Update composer for symfony 2.2 / dev-master Oct 19, 2012

README.md

LuneticsLocaleBundle

This bundle allows you to guess the Locale from different parameters in your Symfony applications.

Build Status

Background

The locale can be guessed from different parameters in your applications :

  • In the Query parameter
  • In the Route parameters
  • In the Browser preferences
  • In a Cookie or the Session if the locale has already been identified
  • Based on the Subdomain hostname

Documentation

Read the Documentation for master

Read the Documentation for 2.2

Read the Documentation for 2.1

License

This bundle is released under the MIT License

Authors

Matthias Breddin : @lunetics
Christophe Willemsen : @kwattro