Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d committed Sep 26, 2024
1 parent 7765599 commit 446549a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,14 +337,9 @@ globalLocaleRoutes: {
### Usage:

In the example above:
- **`page2`**: Custom localized paths are defined for the page `page2` in English (`en`), German (`de`), and Russian (`ru`). Instead of following the standard localization pattern (like `/en/page2`), each locale will have a completely custom URL, such as `/custom-page2-en` for English, `/custom-page2-de` for German, and `/custom-page2-ru` for Russian.
- **`page2`**: Custom localized paths are defined for the page `page2` in English (`en`), German (`de`), and Russian (`ru`). Instead of following the standard localization pattern (like `/en/page2`), each locale will have a completely custom URL, such as `/en/custom-page2-en` for English, `/de/custom-page2-de` for German, and `/ru/custom-page2-ru` for Russian.
- **`unlocalized`**: This page will not be localized, so it remains accessible only at `/unlocalized`, without any locale prefixes or custom paths.

### Benefits:

- **Control over URL structure**: Customize the URL for each locale, which can be helpful for SEO or branding purposes.
- **Flexible localization**: Disable localization for pages where it is unnecessary, keeping the URL structure simple and consistent for those specific routes.

---

# 🔄 Caching Mechanism
Expand Down

0 comments on commit 446549a

Please sign in to comment.