|
11 | 11 |
|
12 | 12 | #### A convenient way to set up, manage and use localized routes in a Laravel app. |
13 | 13 |
|
14 | | -- [Automatically register](#register-routes) a route for each locale you wish to support. |
15 | | -- Use [route slugs or custom domains](#supported-locales) (or subdomains) |
| 14 | +- [Automatically register](#-register-routes) a route for each locale you wish to support. |
| 15 | +- Use [route slugs or custom domains](#-supported-locales) (or subdomains) |
16 | 16 | - Optionally remove the locale slug from the URL for your main language. |
17 | | -- [Generate localized route URL's](#generate-route-urls) in the simplest way using the `route()` helper. |
18 | | -- [Redirect to localized routes](#redirect-to-routes) using the `redirect()->route()` helper. |
19 | | -- Generate localized signed route URL's |
20 | | -- Allow routes to be [cached](#cache-routes). |
21 | | -- Optionally [translate each segment](#translate-routes) in your URI's. |
| 17 | +- [Generate localized route URL's](#-generate-route-urls) in the simplest way using the `route()` helper. |
| 18 | +- [Redirect to localized routes](#-redirect-to-routes) using the `redirect()->route()` helper. |
| 19 | +- [Generate localized signed route URL's](#-generate-signed-route-urls) |
| 20 | +- Allow routes to be [cached](#-cache-routes). |
| 21 | +- Optionally [translate each segment](#-translate-routes) in your URI's. |
22 | 22 | - **Let you work with routes without thinking too much about locales.** |
23 | 23 |
|
24 | 24 | ## ✅ Requirements |
@@ -54,7 +54,7 @@ Add any locales you wish to support to your published `config/localized-routes.p |
54 | 54 | 'supported-locales' => ['en', 'nl', 'fr'], |
55 | 55 | ``` |
56 | 56 |
|
57 | | - This will automically prepend a slug to your localized routes. [More on this below](#register-routes). |
| 57 | + This will automically prepend a slug to your localized routes. [More on this below](#-register-routes). |
58 | 58 |
|
59 | 59 | ##### Using Domains |
60 | 60 |
|
|
0 commit comments