Skip to content

Releases: BenConstable/laravel-localize-middleware

v1.2.1

04 Jun 17:32
Compare
Choose a tag to compare

Various small fixes and tidying up:

  • Fixes README formatting (#6), and makes a few small other README updates
  • Fixes issue with stack determiner fallback on Laravel 5.3/5.4 (#7)
  • Fixes incorrect documentation for the parameter determiner (now correctly documented as request parameter rather than route parameter)
  • Updates TravisCI to test against individual Laravel version
  • Tidies up tests

v1.2.0

08 Jun 19:35
Compare
Choose a tag to compare

This release adds functionality that allows you to specify a 'stack' of drivers, which will attempt to determine the locale sequentially. See the readme for more info.

Also:

  • Determiners have been refactored internally to make adding new ones a bit easier
  • phpdoc has been tidied up
  • There've been a few more tweaks to tidy the codebase

v1.1.0

26 Apr 19:23
Compare
Choose a tag to compare
  • Add a determiner for setting the locale from a request header, which defaults to Accept-Language

v1.0.0

20 Apr 20:05
Compare
Choose a tag to compare

Initial release