@intlayer/docs 9.3.1 → 9.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/blog/ar/nextjs-multilingual-seo-comparison.md +10 -10
  2. package/blog/de/nextjs-multilingual-seo-comparison.md +9 -9
  3. package/blog/en/nextjs-multilingual-seo-comparison.md +10 -10
  4. package/blog/en-GB/nextjs-multilingual-seo-comparison.md +10 -10
  5. package/blog/es/nextjs-multilingual-seo-comparison.md +10 -10
  6. package/blog/fr/nextjs-multilingual-seo-comparison.md +10 -10
  7. package/blog/hi/nextjs-multilingual-seo-comparison.md +10 -10
  8. package/blog/id/nextjs-multilingual-seo-comparison.md +10 -10
  9. package/blog/it/nextjs-multilingual-seo-comparison.md +10 -10
  10. package/blog/ja/nextjs-multilingual-seo-comparison.md +9 -9
  11. package/blog/ko/nextjs-multilingual-seo-comparison.md +9 -9
  12. package/blog/pl/nextjs-multilingual-seo-comparison.md +10 -10
  13. package/blog/pt/nextjs-multilingual-seo-comparison.md +9 -9
  14. package/blog/ru/nextjs-multilingual-seo-comparison.md +9 -9
  15. package/blog/tr/nextjs-multilingual-seo-comparison.md +9 -9
  16. package/blog/uk/nextjs-multilingual-seo-comparison.md +10 -10
  17. package/blog/vi/nextjs-multilingual-seo-comparison.md +10 -10
  18. package/blog/zh/nextjs-multilingual-seo-comparison.md +10 -10
  19. package/dist/cjs/generated/docs.entry.cjs +20 -0
  20. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  21. package/dist/esm/generated/docs.entry.mjs +20 -0
  22. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  23. package/dist/types/generated/docs.entry.d.ts +1 -0
  24. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  25. package/docs/ar/bundle_optimization.md +1 -1
  26. package/docs/ar/configuration.md +32 -9
  27. package/docs/ar/dictionary/content_file.md +0 -22
  28. package/docs/ar/dictionary/function_fetching.md +23 -0
  29. package/docs/ar/eslint.md +336 -0
  30. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +1 -1
  31. package/docs/bn/configuration.md +34 -9
  32. package/docs/bn/eslint.md +336 -0
  33. package/docs/cs/bundle_optimization.md +1 -1
  34. package/docs/cs/configuration.md +33 -9
  35. package/docs/cs/eslint.md +336 -0
  36. package/docs/de/bundle_optimization.md +1 -1
  37. package/docs/de/configuration.md +34 -9
  38. package/docs/de/dictionary/content_file.md +0 -22
  39. package/docs/de/dictionary/function_fetching.md +23 -0
  40. package/docs/de/eslint.md +336 -0
  41. package/docs/en/bundle_optimization.md +1 -1
  42. package/docs/en/configuration.md +34 -9
  43. package/docs/en/dictionary/content_file.md +0 -22
  44. package/docs/en/dictionary/function_fetching.md +23 -0
  45. package/docs/en/eslint.md +336 -0
  46. package/docs/en/packages/intlayer/getLocalizedPath.md +70 -19
  47. package/docs/en-GB/configuration.md +33 -9
  48. package/docs/en-GB/dictionary/content_file.md +0 -22
  49. package/docs/en-GB/dictionary/function_fetching.md +23 -0
  50. package/docs/en-GB/eslint.md +336 -0
  51. package/docs/en-GB/intlayer_with_create_react_app.md +32 -35
  52. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +1 -1
  53. package/docs/es/bundle_optimization.md +1 -1
  54. package/docs/es/configuration.md +35 -9
  55. package/docs/es/dictionary/content_file.md +0 -22
  56. package/docs/es/dictionary/function_fetching.md +23 -0
  57. package/docs/es/eslint.md +336 -0
  58. package/docs/fr/bundle_optimization.md +1 -1
  59. package/docs/fr/configuration.md +35 -9
  60. package/docs/fr/dictionary/content_file.md +0 -22
  61. package/docs/fr/dictionary/function_fetching.md +23 -0
  62. package/docs/fr/eslint.md +336 -0
  63. package/docs/hi/configuration.md +35 -9
  64. package/docs/hi/dictionary/content_file.md +0 -22
  65. package/docs/hi/dictionary/function_fetching.md +23 -0
  66. package/docs/hi/eslint.md +336 -0
  67. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +1 -1
  68. package/docs/hi/intlayer_with_vite+svelte.md +2 -2
  69. package/docs/id/configuration.md +35 -9
  70. package/docs/id/dictionary/content_file.md +0 -22
  71. package/docs/id/dictionary/function_fetching.md +23 -0
  72. package/docs/id/eslint.md +336 -0
  73. package/docs/it/bundle_optimization.md +1 -1
  74. package/docs/it/configuration.md +35 -9
  75. package/docs/it/dictionary/content_file.md +0 -22
  76. package/docs/it/dictionary/function_fetching.md +23 -0
  77. package/docs/it/eslint.md +336 -0
  78. package/docs/ja/configuration.md +30 -9
  79. package/docs/ja/dictionary/content_file.md +0 -22
  80. package/docs/ja/dictionary/function_fetching.md +23 -0
  81. package/docs/ja/eslint.md +336 -0
  82. package/docs/ja/intlayer_with_react_router_v7.md +1 -146
  83. package/docs/ja/intlayer_with_vite+react.md +5 -1
  84. package/docs/ko/configuration.md +31 -9
  85. package/docs/ko/dictionary/content_file.md +0 -22
  86. package/docs/ko/dictionary/function_fetching.md +23 -0
  87. package/docs/ko/eslint.md +336 -0
  88. package/docs/ko/intlayer_with_lynx+react.md +4 -0
  89. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +1 -1
  90. package/docs/ko/intlayer_with_storybook.md +5 -5
  91. package/docs/nl/configuration.md +33 -9
  92. package/docs/nl/eslint.md +336 -0
  93. package/docs/pl/bundle_optimization.md +1 -1
  94. package/docs/pl/configuration.md +34 -9
  95. package/docs/pl/dictionary/content_file.md +0 -22
  96. package/docs/pl/dictionary/function_fetching.md +23 -0
  97. package/docs/pl/eslint.md +336 -0
  98. package/docs/pl/intlayer_with_astro.md +1 -114
  99. package/docs/pl/migration_from_i18next_to_intlayer.md +4 -0
  100. package/docs/pl/migration_from_next-i18next_to_intlayer.md +8 -4
  101. package/docs/pl/migration_from_next-intl_to_intlayer.md +11 -5
  102. package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
  103. package/docs/pl/migration_from_react-i18next_to_intlayer.md +8 -4
  104. package/docs/pl/migration_from_vue-i18n_to_intlayer.md +4 -0
  105. package/docs/pt/bundle_optimization.md +1 -1
  106. package/docs/pt/configuration.md +34 -9
  107. package/docs/pt/dictionary/content_file.md +0 -22
  108. package/docs/pt/dictionary/function_fetching.md +23 -0
  109. package/docs/pt/eslint.md +336 -0
  110. package/docs/pt/intlayer_with_astro.md +1 -114
  111. package/docs/ru/bundle_optimization.md +1 -1
  112. package/docs/ru/configuration.md +34 -9
  113. package/docs/ru/dictionary/content_file.md +0 -22
  114. package/docs/ru/dictionary/function_fetching.md +23 -0
  115. package/docs/ru/eslint.md +336 -0
  116. package/docs/tr/bundle_optimization.md +1 -1
  117. package/docs/tr/configuration.md +33 -9
  118. package/docs/tr/dictionary/content_file.md +0 -22
  119. package/docs/tr/dictionary/function_fetching.md +23 -0
  120. package/docs/tr/eslint.md +336 -0
  121. package/docs/uk/configuration.md +35 -9
  122. package/docs/uk/dictionary/content_file.md +0 -22
  123. package/docs/uk/dictionary/function_fetching.md +23 -0
  124. package/docs/uk/eslint.md +336 -0
  125. package/docs/uk/packages/angular-intlayer/exports.md +2 -2
  126. package/docs/ur/configuration.md +35 -9
  127. package/docs/ur/eslint.md +336 -0
  128. package/docs/vi/bundle_optimization.md +1 -1
  129. package/docs/vi/configuration.md +33 -9
  130. package/docs/vi/dictionary/content_file.md +0 -22
  131. package/docs/vi/dictionary/function_fetching.md +23 -0
  132. package/docs/vi/eslint.md +336 -0
  133. package/docs/zh/bundle_optimization.md +1 -1
  134. package/docs/zh/configuration.md +29 -9
  135. package/docs/zh/dictionary/content_file.md +0 -22
  136. package/docs/zh/dictionary/function_fetching.md +23 -0
  137. package/docs/zh/eslint.md +336 -0
  138. package/docs/zh/intlayer_with_create_react_app.md +4 -0
  139. package/docs/zh/intlayer_with_lynx+react.md +4 -0
  140. package/docs/zh/intlayer_with_nextjs_14.md +0 -2
  141. package/docs/zh/intlayer_with_nextjs_15.md +0 -2
  142. package/docs/zh/intlayer_with_nextjs_page_router.md +0 -2
  143. package/docs/zh/intlayer_with_nuxt.md +1 -1
  144. package/docs/zh/intlayer_with_react_router_v7.md +4 -0
  145. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +4 -0
  146. package/docs/zh/intlayer_with_solid_start.md +1 -1
  147. package/docs/zh/intlayer_with_vite+vue.md +0 -2
  148. package/docs/zh-TW/bundle_optimization.md +1 -1
  149. package/docs/zh-TW/eslint.md +336 -0
  150. package/package.json +7 -7
  151. package/src/generated/docs.entry.ts +20 -0
@@ -63,12 +63,12 @@ author: aymericzip
63
63
 
64
64
  Розробники часто забувають правильно посилатися на свої сторінки для різних локалей, тож давайте подивимось, як це працює на практиці з різними бібліотеками.
65
65
 
66
- ### **next-intl**
67
-
68
66
  <Tabs>
69
- <Tab label="next-intl">
67
+ <Tab label="next-intl" value="next-intl">
68
+
69
+ ### **next-intl**
70
70
 
71
- ```tsx fileName="src/app/[locale]/about/layout.tsx
71
+ ```tsx fileName="src/app/[locale]/about/layout.tsx"
72
72
  import type { Metadata } from "next";
73
73
  import { locales, defaultLocale } from "@/i18n";
74
74
  import { getTranslations, unstable_setRequestLocale } from "next-intl/server";
@@ -153,10 +153,10 @@ export default function robots(): MetadataRoute.Robots {
153
153
  }
154
154
  ```
155
155
 
156
- ### **next-i18next**
157
-
158
156
  </Tab>
159
- <Tab label="next-i18next">
157
+ <Tab label="next-i18next" value="next-i18next">
158
+
159
+ ### **next-i18next**
160
160
 
161
161
  ```ts fileName="i18n.config.ts"
162
162
  export const locales = ["en", "fr"] as const;
@@ -256,10 +256,10 @@ export default function robots(): MetadataRoute.Robots {
256
256
  }
257
257
  ```
258
258
 
259
- ### **Intlayer**
260
-
261
259
  </Tab>
262
- <Tab label="intlayer">
260
+ <Tab label="intlayer" value="intlayer">
261
+
262
+ ### **Intlayer**
263
263
 
264
264
  ````typescript fileName="src/app/[locale]/about/layout.tsx"
265
265
  import { getIntlayer, getMultilingualUrls } from "intlayer";
@@ -63,12 +63,12 @@ Dưới đây là danh sách kiểm tra mà mọi ứng dụng đa ngôn ngữ n
63
63
 
64
64
  Các nhà phát triển thường quên tham chiếu đúng các trang của họ qua các ngôn ngữ, vì vậy hãy cùng xem cách điều này hoạt động trong thực tế với các thư viện khác nhau.
65
65
 
66
- ### **next-intl**
67
-
68
66
  <Tabs>
69
- <Tab label="next-intl">
67
+ <Tab label="next-intl" value="next-intl">
68
+
69
+ ### **next-intl**
70
70
 
71
- ```tsx fileName="src/app/[locale]/about/layout.tsx
71
+ ```tsx fileName="src/app/[locale]/about/layout.tsx"
72
72
  import type { Metadata } from "next";
73
73
  import { locales, defaultLocale } from "@/i18n";
74
74
  import { getTranslations, unstable_setRequestLocale } from "next-intl/server";
@@ -154,10 +154,10 @@ export default function robots(): MetadataRoute.Robots {
154
154
  }
155
155
  ```
156
156
 
157
- ### **next-i18next**
158
-
159
157
  </Tab>
160
- <Tab label="next-i18next">
158
+ <Tab label="next-i18next" value="next-i18next">
159
+
160
+ ### **next-i18next**
161
161
 
162
162
  ```ts fileName="i18n.config.ts"
163
163
  export const locales = ["en", "fr"] as const;
@@ -258,10 +258,10 @@ export default function robots(): MetadataRoute.Robots {
258
258
  }
259
259
  ```
260
260
 
261
- ### **Intlayer**
262
-
263
261
  </Tab>
264
- <Tab label="intlayer">
262
+ <Tab label="intlayer" value="intlayer">
263
+
264
+ ### **Intlayer**
265
265
 
266
266
  ````typescript fileName="src/app/[locale]/about/layout.tsx"
267
267
  import { getIntlayer, getMultilingualUrls } from "intlayer";
@@ -63,12 +63,12 @@ author: aymericzip
63
63
 
64
64
  开发者经常忘记在不同语言环境中正确引用他们的页面,因此让我们看看使用不同库时这是如何实际操作的。
65
65
 
66
- ### **next-intl**
67
-
68
66
  <Tabs>
69
- <Tab label="next-intl">
67
+ <Tab label="next-intl" value="next-intl">
68
+
69
+ ### **next-intl**
70
70
 
71
- ```tsx fileName="src/app/[locale]/about/layout.tsx
71
+ ```tsx fileName="src/app/[locale]/about/layout.tsx"
72
72
  import type { Metadata } from "next";
73
73
  import { locales, defaultLocale } from "@/i18n";
74
74
  import { getTranslations, unstable_setRequestLocale } from "next-intl/server";
@@ -155,10 +155,10 @@ export default function robots(): MetadataRoute.Robots {
155
155
  }
156
156
  ```
157
157
 
158
- ### **next-i18next**
159
-
160
158
  </Tab>
161
- <Tab label="next-i18next">
159
+ <Tab label="next-i18next" value="next-i18next">
160
+
161
+ ### **next-i18next**
162
162
 
163
163
  ```ts fileName="i18n.config.ts"
164
164
  export const locales = ["en", "fr"] as const;
@@ -258,10 +258,10 @@ export default function robots(): MetadataRoute.Robots {
258
258
  }
259
259
  ```
260
260
 
261
- ### **Intlayer**
262
-
263
261
  </Tab>
264
- <Tab label="intlayer">
262
+ <Tab label="intlayer" value="intlayer">
263
+
264
+ ### **Intlayer**
265
265
 
266
266
  ````typescript fileName="src/app/[locale]/about/layout.tsx"
267
267
  import { getIntlayer, getMultilingualUrls } from "intlayer";
@@ -1454,6 +1454,26 @@ const docsEntry = {
1454
1454
  vi: readLocale("dynamic_dictionaries/variants.md", "vi"),
1455
1455
  uk: readLocale("dynamic_dictionaries/variants.md", "uk")
1456
1456
  },
1457
+ "./docs/en/eslint.md": {
1458
+ en: readLocale("eslint.md", "en"),
1459
+ es: readLocale("eslint.md", "es"),
1460
+ ru: readLocale("eslint.md", "ru"),
1461
+ ja: readLocale("eslint.md", "ja"),
1462
+ fr: readLocale("eslint.md", "fr"),
1463
+ ko: readLocale("eslint.md", "ko"),
1464
+ zh: readLocale("eslint.md", "zh"),
1465
+ de: readLocale("eslint.md", "de"),
1466
+ ar: readLocale("eslint.md", "ar"),
1467
+ it: readLocale("eslint.md", "it"),
1468
+ "en-GB": readLocale("eslint.md", "en-GB"),
1469
+ pt: readLocale("eslint.md", "pt"),
1470
+ hi: readLocale("eslint.md", "hi"),
1471
+ tr: readLocale("eslint.md", "tr"),
1472
+ pl: readLocale("eslint.md", "pl"),
1473
+ id: readLocale("eslint.md", "id"),
1474
+ vi: readLocale("eslint.md", "vi"),
1475
+ uk: readLocale("eslint.md", "uk")
1476
+ },
1457
1477
  "./docs/en/formatters.md": {
1458
1478
  en: readLocale("formatters.md", "en"),
1459
1479
  es: readLocale("formatters.md", "es"),