lunetics/locale-bundle

A Bundle for switching Languages

Installs: 968 259

Dependents: 11

Suggesters: 0

Security: 0

Stars: 187

Watchers: 18

Forks: 77

Type:symfony-bundle

3.0.0-rc1 2022-11-28 16:50 UTC

README

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

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 3.x

Read the Documentation for 2.2

License

This bundle is released under the MIT License

Authors

Matthias Breddin : @lunetics
Christophe Willemsen : @kwattro