lunetics/locale-bundle

A Bundle for switching Languages

Package info

github.com/lunetics/LocaleBundle

Issues

Type:symfony-bundle

pkg:composer/lunetics/locale-bundle

Statistics

Installs: 1 158 620

Dependents: 11

Suggesters: 0

Stars: 186

3.0.0-rc2 2023-02-28 15:52 UTC

Requires

Requires (Dev)

Suggests

  • ext-intl: Needed for displaying the country name in the locale language

Provides

None

Conflicts

None

Replaces

None


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