humandirect/locale-bundle

A slim bundle for switching languages

Installs: 79

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.1.0 2023-12-16 09:55 UTC

This package is auto-updated.

Last update: 2024-04-16 10:45: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
  • In the Request Header parameter
  • Based on the Subdomain hostname

Authors

  1. The Human Direct team: https://www.humandirect.eu
  2. Matthias Breddin : @lunetics
  3. Christophe Willemsen : @kwattro