@@ -22,7 +22,7 @@ Automatically detect and set an app locale that matches your visitor's preferenc
2222- PHP >= 7.2.5
2323- Laravel >= 7.0
2424
25- ## ⬆️ Upgrade
25+ ## ⬆ Upgrade
2626
2727Upgrading to a new major version?
2828Check our [ upgrade guide] ( UPGRADE.md ) for instructions.
@@ -70,7 +70,7 @@ protected $middlewarePriority = [
7070If you don't see the ` $middlewarePriority ` array in your kernel file,
7171then you can copy it over from the parent class ` Illuminate\Foundation\Http\Kernel ` .
7272
73- ## ⚙️ Configure
73+ ## ⚙ Configure
7474
7575### Publish Configuration File
7676
@@ -141,9 +141,9 @@ Update the `stores` array to choose which stores to use.
141141> and add a reference to it in the config file. The stores are resolved from Laravel's IOC container,
142142> so you can add any dependencies to your constructor.
143143
144- ## 🛠️ More Configuration
144+ ## 🛠 More Configuration
145145
146- ### ☑️ ` omitted_locale `
146+ ### ☑ ` omitted_locale `
147147
148148If you don't want your main locale to have a slug, you can set it as the ` omitted_locale ` (not the custom slug).
149149
@@ -163,20 +163,20 @@ Result:
163163
164164Default: ` null `
165165
166- ### ☑️ ` trusted_detectors `
166+ ### ☑ ` trusted_detectors `
167167
168168Add any detector class name to this array to make it trusted. (do not remove it from the ` detectors ` array)
169169When a trusted detector returns a locale, it will be used as the app locale, regardless if it's a supported locale or not.
170170
171171Default: ` [] `
172172
173- ### ☑️ ` url_segment `
173+ ### ☑ ` url_segment `
174174
175175The index of the URL segment that has the locale, when using the ` UrlDetector ` .
176176
177177Default: ` 1 `
178178
179- ### ☑️ ` route_action `
179+ ### ☑ ` route_action `
180180
181181The custom route action that holds the locale, when using the ` RouteActionDetector ` .
182182
@@ -190,26 +190,26 @@ Route::group(['locale' => 'nl'], function () {
190190});
191191```
192192
193- ### ☑️ ` user_attribute `
193+ ### ☑ ` user_attribute `
194194
195195The attribute on the user model that holds the locale, when using the ` UserDetector ` .
196196If the user model does not have this attribute, this detector check will be skipped.
197197
198198Default: ` locale `
199199
200- ### ☑️ ` session_key `
200+ ### ☑ ` session_key `
201201
202202The session key that holds the locale, when using the ` SessionDetector ` and ` SessionStore ` .
203203
204204Default: ` locale `
205205
206- ### ☑️ ` cookie_name `
206+ ### ☑ ` cookie_name `
207207
208208The name of the cookie that holds the locale, when using the ` CookieDetector ` and ` CookieStore ` .
209209
210210Default: ` locale `
211211
212- ### ☑️ ` cookie_minutes `
212+ ### ☑ ` cookie_minutes `
213213
214214The lifetime of the cookie that holds the locale, when using the ` CookieStore ` .
215215
@@ -221,7 +221,7 @@ Default: `60 * 24 * 365` (1 year)
221221composer test
222222```
223223
224- ## ☕️ Credits
224+ ## ☕ Credits
225225
226226- [ Ivan Vermeyen] ( https://github.com/ivanvermeyen )
227227- [ All contributors] ( https://github.com/codezero-be/laravel-localizer/contributors )
0 commit comments