lunetics/locale-bundle

A Bundle for switching Languages

Installs: 1 089 717

Dependents: 11

Suggesters: 0

Security: 0

Stars: 187

Watchers: 18

Forks: 76

Type:symfony-bundle

3.0.0-rc2 2023-02-28 15:52 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