lunetics / locale-bundle
A Bundle for switching Languages
Installs: 771 444
Dependents: 14
Suggesters: 0
Security: 0
Stars: 187
Watchers: 16
Forks: 62
Open Issues: 30
Type:symfony-bundle
Requires
- php: ^5.6 || ^7.0
- psr/log: ~1.0
- symfony/framework-bundle: ^2.8 || ^3.0 || ^4.0
- symfony/intl: ^2.8 || ^3.0 || ^4.0
- symfony/templating: ^2.8 || ^3.0 || ^4.0
- symfony/validator: ^2.8 || ^3.0 || ^4.0
- symfony/yaml: ^2.8 || ^3.0 || ^4.0
Requires (Dev)
- ext-intl: *
- symfony/form: ^2.8 || ^3.0 || ^4.0
- symfony/phpunit-bridge: ^3.3 || ^4.0
- twig/twig: 1.* || 2.*
Suggests
- ext-intl: Needed for displaying the country name in the locale language
- dev-master / 2.6.x-dev
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.4.5
- 2.4.4
- 2.4.3
- v2.4.2
- 2.4.1
- v2.4.0
- v2.3.1
- v2.3.0
- v2.2.5
- v2.2.4
- v2.2.2
- v2.2.1
- v2.2.0
- 2.1.x-dev
- v2.1.0
- 2.0.x-dev
- 2.0.1
- dev-dbu-patch-1
- dev-sf3-support
- dev-wip-sf2-tests
- dev-domain-config-doc-fix
- dev-base_path_guesser
- dev-document-vary
- dev-doc-improvements
This package is auto-updated.
Last update: 2021-01-13 05:14:29 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 theSession
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