lunetics-org / LocaleBundle

Locale Bundle for symfony
MIT License
187 stars 76 forks source link

Symfony 4.0 compatibility #190

Closed mkalisz77 closed 7 years ago

mkalisz77 commented 7 years ago

In routing.yml %locale% must be quoted due to this depreciation message: User Deprecated: Not quoting the scalar "%locale%" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0.

lunetics_locale_switcher: path: /changeLocale/{_locale} defaults: _controller: lunetics_locale.switcher_controller:switchAction _locale: %locale%

dbu commented 7 years ago

fixed in #191, #195 adds tests for symfony 4