Skip to content

Preferred locale event subscriber for Symfony projects.

Notifications You must be signed in to change notification settings

anezi/preferred-locale

Repository files navigation

Build Status codecov

Preferred locale event subscriber for Symfony projects.

Features:

  • If the locale is not defined in the URL that the subscriber checks in the session, otherwise it checks the browser languages.
  • The locale is displayed in the URL in lowercase and using a hyphen.
  • It converts the locale displayed in the URL into Symfony-compatible locale.

About

Preferred locale event subscriber for Symfony projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages