@@ -88,6 +88,8 @@ Add any locales you wish to support to your published `config/localizer.php` fil
8888'supported_locales' => ['en', 'nl'];
8989```
9090
91+ By default, the ` UrlDetector ` will look for these locales in the URL.
92+
9193You can also use one or more custom slugs for a locale:
9294
9395``` php
@@ -121,7 +123,7 @@ By default, the middleware will use the following detectors to check for a suppo
121123
122124Update the ` detectors ` array to choose which detectors to run and in what order.
123125
124- > You can create your own detector by implementing the ` \ CodeZero\Localizer\Detectors\Detector` interface
126+ > You can create your own detector by implementing the ` CodeZero\Localizer\Detectors\Detector ` interface
125127> and add a reference to it in the config file. The detectors are resolved from Laravel's IOC container,
126128> so you can add any dependencies to your constructor.
127129
@@ -135,11 +137,11 @@ The first supported locale that is returned by a detector will automatically be
135137
136138Update the ` stores ` array to choose which stores to use.
137139
138- > You can create your own store by implementing the ` \ CodeZero\Localizer\Stores\Store` interface
140+ > You can create your own store by implementing the ` CodeZero\Localizer\Stores\Store ` interface
139141> and add a reference to it in the config file. The stores are resolved from Laravel's IOC container,
140142> so you can add any dependencies to your constructor.
141143
142- ## 🛠️ More Configuration (optional)
144+ ## 🛠️ More Configuration
143145
144146### ☑️ ` omitted_locale `
145147
@@ -218,6 +220,7 @@ Default: `60 * 24 * 365` (1 year)
218220``` bash
219221composer test
220222```
223+
221224## ☕️ Credits
222225
223226- [ Ivan Vermeyen] ( https://github.com/ivanvermeyen )
0 commit comments