@intlayer/docs 7.5.11 → 7.5.12

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 (227) hide show
  1. package/blog/ar/intlayer_with_i18next.md +0 -2
  2. package/blog/ar/intlayer_with_next-i18next.md +0 -2
  3. package/blog/ar/intlayer_with_react-i18next.md +0 -2
  4. package/blog/de/intlayer_with_i18next.md +0 -45
  5. package/blog/de/intlayer_with_next-i18next.md +0 -46
  6. package/blog/de/intlayer_with_react-i18next.md +0 -2
  7. package/blog/en/intlayer_with_i18next.md +0 -46
  8. package/blog/en/intlayer_with_next-i18next.md +0 -48
  9. package/blog/en/intlayer_with_next-intl.md +0 -44
  10. package/blog/en/intlayer_with_react-i18next.md +0 -44
  11. package/blog/en/intlayer_with_react-intl.md +0 -42
  12. package/blog/en/intlayer_with_vue-i18n.md +0 -44
  13. package/blog/en-GB/intlayer_with_i18next.md +0 -45
  14. package/blog/en-GB/intlayer_with_next-i18next.md +0 -47
  15. package/blog/en-GB/intlayer_with_next-intl.md +0 -42
  16. package/blog/en-GB/intlayer_with_react-i18next.md +0 -43
  17. package/blog/en-GB/intlayer_with_react-intl.md +0 -42
  18. package/blog/en-GB/intlayer_with_vue-i18n.md +0 -46
  19. package/blog/es/intlayer_with_i18next.md +0 -45
  20. package/blog/es/intlayer_with_next-i18next.md +0 -47
  21. package/blog/es/intlayer_with_next-intl.md +0 -42
  22. package/blog/es/intlayer_with_react-i18next.md +0 -43
  23. package/blog/es/intlayer_with_react-intl.md +0 -42
  24. package/blog/es/intlayer_with_vue-i18n.md +0 -46
  25. package/blog/fr/intlayer_with_i18next.md +0 -45
  26. package/blog/fr/intlayer_with_next-i18next.md +0 -47
  27. package/blog/fr/intlayer_with_next-intl.md +0 -42
  28. package/blog/fr/intlayer_with_react-i18next.md +0 -43
  29. package/blog/fr/intlayer_with_react-intl.md +0 -42
  30. package/blog/fr/intlayer_with_vue-i18n.md +0 -46
  31. package/blog/hi/intlayer_with_i18next.md +0 -2
  32. package/blog/hi/intlayer_with_next-i18next.md +0 -2
  33. package/blog/hi/intlayer_with_react-i18next.md +0 -2
  34. package/blog/id/intlayer_with_i18next.md +0 -2
  35. package/blog/id/intlayer_with_next-i18next.md +0 -2
  36. package/blog/id/intlayer_with_react-i18next.md +0 -2
  37. package/blog/it/intlayer_with_i18next.md +0 -2
  38. package/blog/it/intlayer_with_next-i18next.md +0 -2
  39. package/blog/it/intlayer_with_react-i18next.md +0 -2
  40. package/blog/ja/intlayer_with_i18next.md +0 -45
  41. package/blog/ja/intlayer_with_next-i18next.md +0 -46
  42. package/blog/ja/intlayer_with_next-intl.md +0 -42
  43. package/blog/ja/intlayer_with_react-i18next.md +0 -42
  44. package/blog/ja/intlayer_with_react-intl.md +0 -42
  45. package/blog/ja/intlayer_with_vue-i18n.md +0 -46
  46. package/blog/ko/intlayer_with_i18next.md +0 -2
  47. package/blog/ko/intlayer_with_next-i18next.md +0 -2
  48. package/blog/ko/intlayer_with_react-i18next.md +0 -1
  49. package/blog/pl/intlayer_with_i18next.md +0 -45
  50. package/blog/pl/intlayer_with_next-i18next.md +0 -46
  51. package/blog/pl/intlayer_with_next-intl.md +0 -42
  52. package/blog/pl/intlayer_with_react-i18next.md +0 -43
  53. package/blog/pl/intlayer_with_react-intl.md +0 -42
  54. package/blog/pl/intlayer_with_vue-i18n.md +0 -46
  55. package/blog/pt/intlayer_with_i18next.md +0 -2
  56. package/blog/pt/intlayer_with_next-i18next.md +0 -2
  57. package/blog/pt/intlayer_with_react-i18next.md +0 -2
  58. package/blog/ru/intlayer_with_i18next.md +0 -45
  59. package/blog/ru/intlayer_with_next-i18next.md +0 -47
  60. package/blog/ru/intlayer_with_next-intl.md +0 -42
  61. package/blog/ru/intlayer_with_react-i18next.md +0 -43
  62. package/blog/ru/intlayer_with_react-intl.md +0 -42
  63. package/blog/ru/intlayer_with_vue-i18n.md +0 -46
  64. package/blog/tr/intlayer_with_i18next.md +0 -2
  65. package/blog/tr/intlayer_with_next-i18next.md +0 -1
  66. package/blog/tr/intlayer_with_react-i18next.md +0 -2
  67. package/blog/vi/intlayer_with_i18next.md +0 -2
  68. package/blog/vi/intlayer_with_next-i18next.md +0 -2
  69. package/blog/vi/intlayer_with_react-i18next.md +0 -2
  70. package/blog/zh/intlayer_with_i18next.md +0 -2
  71. package/blog/zh/intlayer_with_next-i18next.md +0 -2
  72. package/blog/zh/intlayer_with_react-i18next.md +0 -2
  73. package/blog/zh/intlayer_with_vue-i18n.md +0 -46
  74. package/dist/cjs/generated/blog.entry.cjs +58 -29
  75. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  76. package/dist/cjs/generated/docs.entry.cjs +218 -99
  77. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  78. package/dist/cjs/generated/frequentQuestions.entry.cjs +30 -15
  79. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  80. package/dist/cjs/generated/legal.entry.cjs +4 -2
  81. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  82. package/dist/esm/generated/blog.entry.mjs +58 -29
  83. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  84. package/dist/esm/generated/docs.entry.mjs +218 -99
  85. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  86. package/dist/esm/generated/frequentQuestions.entry.mjs +30 -15
  87. package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
  88. package/dist/esm/generated/legal.entry.mjs +4 -2
  89. package/dist/esm/generated/legal.entry.mjs.map +1 -1
  90. package/dist/types/generated/blog.entry.d.ts.map +1 -1
  91. package/dist/types/generated/docs.entry.d.ts +1 -0
  92. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  93. package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
  94. package/dist/types/generated/legal.entry.d.ts.map +1 -1
  95. package/docs/ar/intlayer_with_next-i18next.md +0 -1
  96. package/docs/ar/intlayer_with_nextjs_14.md +28 -0
  97. package/docs/ar/intlayer_with_nextjs_15.md +28 -0
  98. package/docs/ar/intlayer_with_nextjs_16.md +28 -0
  99. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +1159 -0
  100. package/docs/ar/plugins/sync-json.md +6 -2
  101. package/docs/de/intlayer_with_next-i18next.md +0 -1
  102. package/docs/de/intlayer_with_nextjs_14.md +28 -0
  103. package/docs/de/intlayer_with_nextjs_15.md +28 -0
  104. package/docs/de/intlayer_with_nextjs_16.md +28 -0
  105. package/docs/de/intlayer_with_nextjs_no_locale_path.md +1152 -0
  106. package/docs/de/plugins/sync-json.md +6 -2
  107. package/docs/en/intlayer_with_next-i18next.md +0 -1
  108. package/docs/en/intlayer_with_nextjs_14.md +28 -0
  109. package/docs/en/intlayer_with_nextjs_15.md +28 -0
  110. package/docs/en/intlayer_with_nextjs_16.md +31 -1
  111. package/docs/en/intlayer_with_nextjs_no_locale_path.md +1132 -0
  112. package/docs/en/plugins/sync-json.md +6 -2
  113. package/docs/en-GB/intlayer_with_next-i18next.md +0 -1
  114. package/docs/en-GB/intlayer_with_nextjs_14.md +28 -0
  115. package/docs/en-GB/intlayer_with_nextjs_15.md +28 -0
  116. package/docs/en-GB/intlayer_with_nextjs_16.md +28 -0
  117. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +1154 -0
  118. package/docs/en-GB/plugins/sync-json.md +6 -2
  119. package/docs/es/intlayer_with_next-i18next.md +0 -1
  120. package/docs/es/intlayer_with_nextjs_14.md +28 -0
  121. package/docs/es/intlayer_with_nextjs_15.md +28 -0
  122. package/docs/es/intlayer_with_nextjs_16.md +28 -0
  123. package/docs/es/intlayer_with_nextjs_no_locale_path.md +1143 -0
  124. package/docs/es/plugins/sync-json.md +6 -2
  125. package/docs/fr/intlayer_with_next-i18next.md +0 -1
  126. package/docs/fr/intlayer_with_nextjs_14.md +28 -0
  127. package/docs/fr/intlayer_with_nextjs_15.md +28 -0
  128. package/docs/fr/intlayer_with_nextjs_16.md +28 -0
  129. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +1174 -0
  130. package/docs/fr/plugins/sync-json.md +9 -5
  131. package/docs/hi/intlayer_with_next-i18next.md +0 -1
  132. package/docs/hi/intlayer_with_nextjs_14.md +28 -0
  133. package/docs/hi/intlayer_with_nextjs_15.md +28 -0
  134. package/docs/hi/intlayer_with_nextjs_16.md +28 -0
  135. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1151 -0
  136. package/docs/hi/plugins/sync-json.md +6 -2
  137. package/docs/id/intlayer_with_next-i18next.md +0 -1
  138. package/docs/id/intlayer_with_nextjs_14.md +28 -0
  139. package/docs/id/intlayer_with_nextjs_15.md +28 -0
  140. package/docs/id/intlayer_with_nextjs_16.md +28 -0
  141. package/docs/id/intlayer_with_nextjs_no_locale_path.md +1154 -0
  142. package/docs/id/plugins/sync-json.md +6 -2
  143. package/docs/it/intlayer_with_next-i18next.md +0 -1
  144. package/docs/it/intlayer_with_nextjs_14.md +28 -0
  145. package/docs/it/intlayer_with_nextjs_15.md +28 -0
  146. package/docs/it/intlayer_with_nextjs_16.md +28 -0
  147. package/docs/it/intlayer_with_nextjs_no_locale_path.md +1148 -0
  148. package/docs/it/plugins/sync-json.md +6 -2
  149. package/docs/ja/intlayer_with_next-i18next.md +0 -1
  150. package/docs/ja/intlayer_with_nextjs_14.md +28 -0
  151. package/docs/ja/intlayer_with_nextjs_15.md +28 -0
  152. package/docs/ja/intlayer_with_nextjs_16.md +28 -0
  153. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1222 -0
  154. package/docs/ja/plugins/sync-json.md +6 -2
  155. package/docs/ko/intlayer_with_next-i18next.md +0 -1
  156. package/docs/ko/intlayer_with_nextjs_14.md +28 -0
  157. package/docs/ko/intlayer_with_nextjs_15.md +28 -0
  158. package/docs/ko/intlayer_with_nextjs_16.md +28 -0
  159. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1205 -0
  160. package/docs/ko/plugins/sync-json.md +6 -2
  161. package/docs/pl/intlayer_with_next-i18next.md +0 -1
  162. package/docs/pl/intlayer_with_nextjs_14.md +28 -0
  163. package/docs/pl/intlayer_with_nextjs_15.md +28 -0
  164. package/docs/pl/intlayer_with_nextjs_16.md +28 -0
  165. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +1149 -0
  166. package/docs/pl/plugins/sync-json.md +6 -2
  167. package/docs/pt/intlayer_with_next-i18next.md +0 -1
  168. package/docs/pt/intlayer_with_nextjs_14.md +28 -0
  169. package/docs/pt/intlayer_with_nextjs_15.md +28 -0
  170. package/docs/pt/intlayer_with_nextjs_16.md +28 -0
  171. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +1152 -0
  172. package/docs/pt/plugins/sync-json.md +6 -2
  173. package/docs/ru/intlayer_with_next-i18next.md +0 -1
  174. package/docs/ru/intlayer_with_nextjs_14.md +28 -0
  175. package/docs/ru/intlayer_with_nextjs_15.md +28 -0
  176. package/docs/ru/intlayer_with_nextjs_16.md +28 -0
  177. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1204 -0
  178. package/docs/ru/plugins/sync-json.md +6 -2
  179. package/docs/tr/intlayer_with_next-i18next.md +0 -1
  180. package/docs/tr/intlayer_with_nextjs_14.md +28 -0
  181. package/docs/tr/intlayer_with_nextjs_15.md +28 -0
  182. package/docs/tr/intlayer_with_nextjs_16.md +28 -0
  183. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1159 -0
  184. package/docs/tr/plugins/sync-json.md +6 -2
  185. package/docs/uk/compiler.md +133 -0
  186. package/docs/uk/component_i18n.md +194 -0
  187. package/docs/uk/intlayer_with_nextjs_14.md +1646 -0
  188. package/docs/uk/intlayer_with_nextjs_15.md +1910 -0
  189. package/docs/uk/intlayer_with_nextjs_16.md +1763 -0
  190. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1159 -0
  191. package/docs/uk/intlayer_with_react_native+expo.md +715 -0
  192. package/docs/uk/packages/intlayer/getConfiguration.md +145 -0
  193. package/docs/uk/vs_code_extension.md +133 -0
  194. package/docs/vi/intlayer_with_next-i18next.md +0 -1
  195. package/docs/vi/intlayer_with_nextjs_14.md +28 -0
  196. package/docs/vi/intlayer_with_nextjs_15.md +28 -0
  197. package/docs/vi/intlayer_with_nextjs_16.md +28 -0
  198. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1151 -0
  199. package/docs/vi/plugins/sync-json.md +6 -2
  200. package/docs/zh/intlayer_with_next-i18next.md +0 -1
  201. package/docs/zh/intlayer_with_nextjs_14.md +28 -0
  202. package/docs/zh/intlayer_with_nextjs_15.md +28 -0
  203. package/docs/zh/intlayer_with_nextjs_16.md +28 -0
  204. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1206 -0
  205. package/docs/zh/plugins/sync-json.md +9 -5
  206. package/frequent_questions/ar/SSR_Next_no_[locale].md +1 -1
  207. package/frequent_questions/de/SSR_Next_no_[locale].md +1 -1
  208. package/frequent_questions/en/SSR_Next_no_[locale].md +1 -1
  209. package/frequent_questions/en-GB/SSR_Next_no_[locale].md +1 -1
  210. package/frequent_questions/es/SSR_Next_no_[locale].md +1 -1
  211. package/frequent_questions/fr/SSR_Next_no_[locale].md +1 -1
  212. package/frequent_questions/hi/SSR_Next_no_[locale].md +1 -1
  213. package/frequent_questions/id/SSR_Next_no_[locale].md +1 -1
  214. package/frequent_questions/it/SSR_Next_no_[locale].md +1 -1
  215. package/frequent_questions/ja/SSR_Next_no_[locale].md +1 -1
  216. package/frequent_questions/ko/SSR_Next_no_[locale].md +1 -1
  217. package/frequent_questions/pl/SSR_Next_no_[locale].md +1 -1
  218. package/frequent_questions/pt/SSR_Next_no_[locale].md +1 -1
  219. package/frequent_questions/ru/SSR_Next_no_[locale].md +1 -1
  220. package/frequent_questions/tr/SSR_Next_no_[locale].md +1 -1
  221. package/frequent_questions/vi/SSR_Next_no_[locale].md +1 -1
  222. package/frequent_questions/zh/SSR_Next_no_[locale].md +1 -1
  223. package/package.json +6 -6
  224. package/src/generated/blog.entry.ts +29 -0
  225. package/src/generated/docs.entry.ts +119 -0
  226. package/src/generated/frequentQuestions.entry.ts +15 -0
  227. package/src/generated/legal.entry.ts +2 -0
@@ -108,17 +108,21 @@ syncJSON({
108
108
  source: ({ key, locale }) => string, // 必填
109
109
  location?: string, // 可选标签,默认值:"plugin"
110
110
  priority?: number, // 可选优先级,用于冲突解决,默认值:0
111
- format?: 'intlayer' | 'icu' | 'i18next', // 可选格式化器,默认值:'intlayer'
111
+ format?: 'intlayer' | 'icu' | 'i18next', // 可选格式化器,用于 Intlayer 运行时兼容性
112
112
  });
113
113
  ```
114
114
 
115
115
  #### `format` ('intlayer' | 'icu' | 'i18next')
116
116
 
117
- 指定在同步 JSON 文件时用于字典内容的格式化器。这允许使用与各种 i18n 库兼容的不同消息格式化语法。
117
+ 指定在同步 JSON 文件时用于字典内容的格式化器。这允许使用与 Intlayer 运行时兼容的不同消息格式化语法。
118
118
 
119
- - `'intlayer'`: 默认的 Intlayer 格式化器(默认值)。
120
- - `'icu'`: 使用 ICU 消息格式化(与 react-intl、vue-i18n 等库兼容)。
121
- - `'i18next'`: 使用 i18next 消息格式化(与 i18next、next-i18nextSolid-i18next 兼容)。
119
+ - `undefined`:不使用格式化器,JSON 内容将按原样使用。
120
+ - `'intlayer'`:默认的 Intlayer 格式化器(默认值)。
121
+ - `'icu'`:使用 ICU 消息格式化(与 react-intlvue-i18n 等库兼容)。
122
+ - `'i18next'`:使用 i18next 消息格式化(与 i18next、next-i18next、Solid-i18next 兼容)。
123
+
124
+ > 请注意,使用格式化器会转换您的 JSON 内容的输入和输出。对于复杂的 JSON 规则(如 ICU 复数),解析可能无法确保输入和输出之间的 1 对 1 映射。
125
+ > 如果您不使用 Intlayer 运行时,您可能更倾向于不设置格式化器。
122
126
 
123
127
  **示例:**
124
128
 
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # هل من الممكن استخدام Intlayer مع Next.js بدون `[locale]` في مسار الصفحة؟
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Ist es möglich, Intlayer mit Next.js ohne `[locale]` im Seitenpfad zu verwenden?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Is it possible to use Intlayer with Next.js without `[locale]` in the page path?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Is it possible to use Intlayer with Next.js without `[locale]` in the page path?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # ¿Es posible usar Intlayer con Next.js sin `[locale]` en la ruta de la página?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Est-il possible d'utiliser Intlayer avec Next.js sans `[locale]` dans le chemin de la page ?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # क्या Next.js के साथ पेज पाथ में `[locale]` के बिना Intlayer का उपयोग करना संभव है?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Apakah mungkin menggunakan Intlayer dengan Next.js tanpa `[locale]` di jalur halaman?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # È possibile usare Intlayer con Next.js senza `[locale]` nel percorso della pagina?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # ページパスに `[locale]` を含めずに Next.js で Intlayer を使用することは可能ですか?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # 페이지 경로에 `[locale]` 없이 Next.js에서 Intlayer를 사용할 수 있나요?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Czy można używać Intlayer z Next.js bez `[locale]` w ścieżce strony?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # É possível usar o Intlayer com Next.js sem `[locale]` no caminho da página?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Можно ли использовать Intlayer с Next.js без `[locale]` в пути страницы?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Next.js ile `[locale]` olmadan Intlayer kullanmak mümkün mü?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # Có thể sử dụng Intlayer với Next.js mà không có `[locale]` trong đường dẫn trang không?
@@ -16,7 +16,7 @@ keywords:
16
16
  - noPrefix
17
17
  slugs:
18
18
  - frequent-questions
19
- - ssr-next-no-[locale]
19
+ - next-no-locale-path
20
20
  ---
21
21
 
22
22
  # 是否可以在页面路径中不使用 `[locale]` 来搭配 Next.js 使用 Intlayer?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/docs",
3
- "version": "7.5.11",
3
+ "version": "7.5.12",
4
4
  "private": false,
5
5
  "description": "Intlayer documentation",
6
6
  "keywords": [
@@ -73,13 +73,13 @@
73
73
  "watch": "webpack --config ./webpack.config.ts --watch"
74
74
  },
75
75
  "dependencies": {
76
- "@intlayer/config": "7.5.11",
77
- "@intlayer/core": "7.5.11",
78
- "@intlayer/types": "7.5.11"
76
+ "@intlayer/config": "7.5.12",
77
+ "@intlayer/core": "7.5.12",
78
+ "@intlayer/types": "7.5.12"
79
79
  },
80
80
  "devDependencies": {
81
- "@intlayer/api": "7.5.11",
82
- "@intlayer/cli": "7.5.11",
81
+ "@intlayer/api": "7.5.12",
82
+ "@intlayer/cli": "7.5.12",
83
83
  "@types/node": "25.0.3",
84
84
  "@utils/ts-config": "1.0.4",
85
85
  "@utils/ts-config-types": "1.0.4",
@@ -71,6 +71,7 @@ export const blogEntry = {
71
71
  pl: readLocale('compiler_vs_declarative_i18n.md', 'pl'),
72
72
  id: readLocale('compiler_vs_declarative_i18n.md', 'id'),
73
73
  vi: readLocale('compiler_vs_declarative_i18n.md', 'vi'),
74
+ uk: readLocale('compiler_vs_declarative_i18n.md', 'uk'),
74
75
  } as unknown as Record<LocalesValues, Promise<string>>,
75
76
  './blog/en/i18n_using_next-i18next.md': {
76
77
  en: readLocale('i18n_using_next-i18next.md', 'en'),
@@ -90,6 +91,7 @@ export const blogEntry = {
90
91
  pl: readLocale('i18n_using_next-i18next.md', 'pl'),
91
92
  id: readLocale('i18n_using_next-i18next.md', 'id'),
92
93
  vi: readLocale('i18n_using_next-i18next.md', 'vi'),
94
+ uk: readLocale('i18n_using_next-i18next.md', 'uk'),
93
95
  } as unknown as Record<LocalesValues, Promise<string>>,
94
96
  './blog/en/i18n_using_next-intl.md': {
95
97
  en: readLocale('i18n_using_next-intl.md', 'en'),
@@ -109,6 +111,7 @@ export const blogEntry = {
109
111
  pl: readLocale('i18n_using_next-intl.md', 'pl'),
110
112
  id: readLocale('i18n_using_next-intl.md', 'id'),
111
113
  vi: readLocale('i18n_using_next-intl.md', 'vi'),
114
+ uk: readLocale('i18n_using_next-intl.md', 'uk'),
112
115
  } as unknown as Record<LocalesValues, Promise<string>>,
113
116
  './blog/en/index.md': {
114
117
  en: readLocale('index.md', 'en'),
@@ -128,6 +131,7 @@ export const blogEntry = {
128
131
  pl: readLocale('index.md', 'pl'),
129
132
  id: readLocale('index.md', 'id'),
130
133
  vi: readLocale('index.md', 'vi'),
134
+ uk: readLocale('index.md', 'uk'),
131
135
  } as unknown as Record<LocalesValues, Promise<string>>,
132
136
  './blog/en/internationalization_and_SEO.md': {
133
137
  en: readLocale('internationalization_and_SEO.md', 'en'),
@@ -147,6 +151,7 @@ export const blogEntry = {
147
151
  pl: readLocale('internationalization_and_SEO.md', 'pl'),
148
152
  id: readLocale('internationalization_and_SEO.md', 'id'),
149
153
  vi: readLocale('internationalization_and_SEO.md', 'vi'),
154
+ uk: readLocale('internationalization_and_SEO.md', 'uk'),
150
155
  } as unknown as Record<LocalesValues, Promise<string>>,
151
156
  './blog/en/intlayer_with_i18next.md': {
152
157
  en: readLocale('intlayer_with_i18next.md', 'en'),
@@ -166,6 +171,7 @@ export const blogEntry = {
166
171
  pl: readLocale('intlayer_with_i18next.md', 'pl'),
167
172
  id: readLocale('intlayer_with_i18next.md', 'id'),
168
173
  vi: readLocale('intlayer_with_i18next.md', 'vi'),
174
+ uk: readLocale('intlayer_with_i18next.md', 'uk'),
169
175
  } as unknown as Record<LocalesValues, Promise<string>>,
170
176
  './blog/en/intlayer_with_next-i18next.md': {
171
177
  en: readLocale('intlayer_with_next-i18next.md', 'en'),
@@ -185,6 +191,7 @@ export const blogEntry = {
185
191
  pl: readLocale('intlayer_with_next-i18next.md', 'pl'),
186
192
  id: readLocale('intlayer_with_next-i18next.md', 'id'),
187
193
  vi: readLocale('intlayer_with_next-i18next.md', 'vi'),
194
+ uk: readLocale('intlayer_with_next-i18next.md', 'uk'),
188
195
  } as unknown as Record<LocalesValues, Promise<string>>,
189
196
  './blog/en/intlayer_with_next-intl.md': {
190
197
  en: readLocale('intlayer_with_next-intl.md', 'en'),
@@ -204,6 +211,7 @@ export const blogEntry = {
204
211
  pl: readLocale('intlayer_with_next-intl.md', 'pl'),
205
212
  id: readLocale('intlayer_with_next-intl.md', 'id'),
206
213
  vi: readLocale('intlayer_with_next-intl.md', 'vi'),
214
+ uk: readLocale('intlayer_with_next-intl.md', 'uk'),
207
215
  } as unknown as Record<LocalesValues, Promise<string>>,
208
216
  './blog/en/intlayer_with_react-i18next.md': {
209
217
  en: readLocale('intlayer_with_react-i18next.md', 'en'),
@@ -223,6 +231,7 @@ export const blogEntry = {
223
231
  pl: readLocale('intlayer_with_react-i18next.md', 'pl'),
224
232
  id: readLocale('intlayer_with_react-i18next.md', 'id'),
225
233
  vi: readLocale('intlayer_with_react-i18next.md', 'vi'),
234
+ uk: readLocale('intlayer_with_react-i18next.md', 'uk'),
226
235
  } as unknown as Record<LocalesValues, Promise<string>>,
227
236
  './blog/en/intlayer_with_react-intl.md': {
228
237
  en: readLocale('intlayer_with_react-intl.md', 'en'),
@@ -242,6 +251,7 @@ export const blogEntry = {
242
251
  pl: readLocale('intlayer_with_react-intl.md', 'pl'),
243
252
  id: readLocale('intlayer_with_react-intl.md', 'id'),
244
253
  vi: readLocale('intlayer_with_react-intl.md', 'vi'),
254
+ uk: readLocale('intlayer_with_react-intl.md', 'uk'),
245
255
  } as unknown as Record<LocalesValues, Promise<string>>,
246
256
  './blog/en/intlayer_with_vue-i18n.md': {
247
257
  en: readLocale('intlayer_with_vue-i18n.md', 'en'),
@@ -261,6 +271,7 @@ export const blogEntry = {
261
271
  pl: readLocale('intlayer_with_vue-i18n.md', 'pl'),
262
272
  id: readLocale('intlayer_with_vue-i18n.md', 'id'),
263
273
  vi: readLocale('intlayer_with_vue-i18n.md', 'vi'),
274
+ uk: readLocale('intlayer_with_vue-i18n.md', 'uk'),
264
275
  } as unknown as Record<LocalesValues, Promise<string>>,
265
276
  './blog/en/l10n_platform_alternative/Lokalise.md': {
266
277
  en: readLocale('l10n_platform_alternative/Lokalise.md', 'en'),
@@ -280,6 +291,7 @@ export const blogEntry = {
280
291
  pl: readLocale('l10n_platform_alternative/Lokalise.md', 'pl'),
281
292
  id: readLocale('l10n_platform_alternative/Lokalise.md', 'id'),
282
293
  vi: readLocale('l10n_platform_alternative/Lokalise.md', 'vi'),
294
+ uk: readLocale('l10n_platform_alternative/Lokalise.md', 'uk'),
283
295
  } as unknown as Record<LocalesValues, Promise<string>>,
284
296
  './blog/en/l10n_platform_alternative/crowdin.md': {
285
297
  en: readLocale('l10n_platform_alternative/crowdin.md', 'en'),
@@ -299,6 +311,7 @@ export const blogEntry = {
299
311
  pl: readLocale('l10n_platform_alternative/crowdin.md', 'pl'),
300
312
  id: readLocale('l10n_platform_alternative/crowdin.md', 'id'),
301
313
  vi: readLocale('l10n_platform_alternative/crowdin.md', 'vi'),
314
+ uk: readLocale('l10n_platform_alternative/crowdin.md', 'uk'),
302
315
  } as unknown as Record<LocalesValues, Promise<string>>,
303
316
  './blog/en/l10n_platform_alternative/phrase.md': {
304
317
  en: readLocale('l10n_platform_alternative/phrase.md', 'en'),
@@ -318,6 +331,7 @@ export const blogEntry = {
318
331
  pl: readLocale('l10n_platform_alternative/phrase.md', 'pl'),
319
332
  id: readLocale('l10n_platform_alternative/phrase.md', 'id'),
320
333
  vi: readLocale('l10n_platform_alternative/phrase.md', 'vi'),
334
+ uk: readLocale('l10n_platform_alternative/phrase.md', 'uk'),
321
335
  } as unknown as Record<LocalesValues, Promise<string>>,
322
336
  './blog/en/list_i18n_technologies/CMS/drupal.md': {
323
337
  en: readLocale('list_i18n_technologies/CMS/drupal.md', 'en'),
@@ -337,6 +351,7 @@ export const blogEntry = {
337
351
  pl: readLocale('list_i18n_technologies/CMS/drupal.md', 'pl'),
338
352
  id: readLocale('list_i18n_technologies/CMS/drupal.md', 'id'),
339
353
  vi: readLocale('list_i18n_technologies/CMS/drupal.md', 'vi'),
354
+ uk: readLocale('list_i18n_technologies/CMS/drupal.md', 'uk'),
340
355
  } as unknown as Record<LocalesValues, Promise<string>>,
341
356
  './blog/en/list_i18n_technologies/CMS/wix.md': {
342
357
  en: readLocale('list_i18n_technologies/CMS/wix.md', 'en'),
@@ -356,6 +371,7 @@ export const blogEntry = {
356
371
  pl: readLocale('list_i18n_technologies/CMS/wix.md', 'pl'),
357
372
  id: readLocale('list_i18n_technologies/CMS/wix.md', 'id'),
358
373
  vi: readLocale('list_i18n_technologies/CMS/wix.md', 'vi'),
374
+ uk: readLocale('list_i18n_technologies/CMS/wix.md', 'uk'),
359
375
  } as unknown as Record<LocalesValues, Promise<string>>,
360
376
  './blog/en/list_i18n_technologies/CMS/wordpress.md': {
361
377
  en: readLocale('list_i18n_technologies/CMS/wordpress.md', 'en'),
@@ -375,6 +391,7 @@ export const blogEntry = {
375
391
  pl: readLocale('list_i18n_technologies/CMS/wordpress.md', 'pl'),
376
392
  id: readLocale('list_i18n_technologies/CMS/wordpress.md', 'id'),
377
393
  vi: readLocale('list_i18n_technologies/CMS/wordpress.md', 'vi'),
394
+ uk: readLocale('list_i18n_technologies/CMS/wordpress.md', 'uk'),
378
395
  } as unknown as Record<LocalesValues, Promise<string>>,
379
396
  './blog/en/list_i18n_technologies/frameworks/angular.md': {
380
397
  en: readLocale('list_i18n_technologies/frameworks/angular.md', 'en'),
@@ -397,6 +414,7 @@ export const blogEntry = {
397
414
  pl: readLocale('list_i18n_technologies/frameworks/angular.md', 'pl'),
398
415
  id: readLocale('list_i18n_technologies/frameworks/angular.md', 'id'),
399
416
  vi: readLocale('list_i18n_technologies/frameworks/angular.md', 'vi'),
417
+ uk: readLocale('list_i18n_technologies/frameworks/angular.md', 'uk'),
400
418
  } as unknown as Record<LocalesValues, Promise<string>>,
401
419
  './blog/en/list_i18n_technologies/frameworks/flutter.md': {
402
420
  en: readLocale('list_i18n_technologies/frameworks/flutter.md', 'en'),
@@ -419,6 +437,7 @@ export const blogEntry = {
419
437
  pl: readLocale('list_i18n_technologies/frameworks/flutter.md', 'pl'),
420
438
  id: readLocale('list_i18n_technologies/frameworks/flutter.md', 'id'),
421
439
  vi: readLocale('list_i18n_technologies/frameworks/flutter.md', 'vi'),
440
+ uk: readLocale('list_i18n_technologies/frameworks/flutter.md', 'uk'),
422
441
  } as unknown as Record<LocalesValues, Promise<string>>,
423
442
  './blog/en/list_i18n_technologies/frameworks/react-native.md': {
424
443
  en: readLocale('list_i18n_technologies/frameworks/react-native.md', 'en'),
@@ -441,6 +460,7 @@ export const blogEntry = {
441
460
  pl: readLocale('list_i18n_technologies/frameworks/react-native.md', 'pl'),
442
461
  id: readLocale('list_i18n_technologies/frameworks/react-native.md', 'id'),
443
462
  vi: readLocale('list_i18n_technologies/frameworks/react-native.md', 'vi'),
463
+ uk: readLocale('list_i18n_technologies/frameworks/react-native.md', 'uk'),
444
464
  } as unknown as Record<LocalesValues, Promise<string>>,
445
465
  './blog/en/list_i18n_technologies/frameworks/react.md': {
446
466
  en: readLocale('list_i18n_technologies/frameworks/react.md', 'en'),
@@ -460,6 +480,7 @@ export const blogEntry = {
460
480
  pl: readLocale('list_i18n_technologies/frameworks/react.md', 'pl'),
461
481
  id: readLocale('list_i18n_technologies/frameworks/react.md', 'id'),
462
482
  vi: readLocale('list_i18n_technologies/frameworks/react.md', 'vi'),
483
+ uk: readLocale('list_i18n_technologies/frameworks/react.md', 'uk'),
463
484
  } as unknown as Record<LocalesValues, Promise<string>>,
464
485
  './blog/en/list_i18n_technologies/frameworks/svelte.md': {
465
486
  en: readLocale('list_i18n_technologies/frameworks/svelte.md', 'en'),
@@ -479,6 +500,7 @@ export const blogEntry = {
479
500
  pl: readLocale('list_i18n_technologies/frameworks/svelte.md', 'pl'),
480
501
  id: readLocale('list_i18n_technologies/frameworks/svelte.md', 'id'),
481
502
  vi: readLocale('list_i18n_technologies/frameworks/svelte.md', 'vi'),
503
+ uk: readLocale('list_i18n_technologies/frameworks/svelte.md', 'uk'),
482
504
  } as unknown as Record<LocalesValues, Promise<string>>,
483
505
  './blog/en/list_i18n_technologies/frameworks/vue.md': {
484
506
  en: readLocale('list_i18n_technologies/frameworks/vue.md', 'en'),
@@ -498,6 +520,7 @@ export const blogEntry = {
498
520
  pl: readLocale('list_i18n_technologies/frameworks/vue.md', 'pl'),
499
521
  id: readLocale('list_i18n_technologies/frameworks/vue.md', 'id'),
500
522
  vi: readLocale('list_i18n_technologies/frameworks/vue.md', 'vi'),
523
+ uk: readLocale('list_i18n_technologies/frameworks/vue.md', 'uk'),
501
524
  } as unknown as Record<LocalesValues, Promise<string>>,
502
525
  './blog/en/next-i18next_vs_next-intl_vs_intlayer.md': {
503
526
  en: readLocale('next-i18next_vs_next-intl_vs_intlayer.md', 'en'),
@@ -517,6 +540,7 @@ export const blogEntry = {
517
540
  pl: readLocale('next-i18next_vs_next-intl_vs_intlayer.md', 'pl'),
518
541
  id: readLocale('next-i18next_vs_next-intl_vs_intlayer.md', 'id'),
519
542
  vi: readLocale('next-i18next_vs_next-intl_vs_intlayer.md', 'vi'),
543
+ uk: readLocale('next-i18next_vs_next-intl_vs_intlayer.md', 'uk'),
520
544
  } as unknown as Record<LocalesValues, Promise<string>>,
521
545
  './blog/en/nextjs-multilingual-seo-comparison.md': {
522
546
  en: readLocale('nextjs-multilingual-seo-comparison.md', 'en'),
@@ -536,6 +560,7 @@ export const blogEntry = {
536
560
  pl: readLocale('nextjs-multilingual-seo-comparison.md', 'pl'),
537
561
  id: readLocale('nextjs-multilingual-seo-comparison.md', 'id'),
538
562
  vi: readLocale('nextjs-multilingual-seo-comparison.md', 'vi'),
563
+ uk: readLocale('nextjs-multilingual-seo-comparison.md', 'uk'),
539
564
  } as unknown as Record<LocalesValues, Promise<string>>,
540
565
  './blog/en/rag_powered_documentation_assistant.md': {
541
566
  en: readLocale('rag_powered_documentation_assistant.md', 'en'),
@@ -555,6 +580,7 @@ export const blogEntry = {
555
580
  pl: readLocale('rag_powered_documentation_assistant.md', 'pl'),
556
581
  id: readLocale('rag_powered_documentation_assistant.md', 'id'),
557
582
  vi: readLocale('rag_powered_documentation_assistant.md', 'vi'),
583
+ uk: readLocale('rag_powered_documentation_assistant.md', 'uk'),
558
584
  } as unknown as Record<LocalesValues, Promise<string>>,
559
585
  './blog/en/react-i18next_vs_react-intl_vs_intlayer.md': {
560
586
  en: readLocale('react-i18next_vs_react-intl_vs_intlayer.md', 'en'),
@@ -574,6 +600,7 @@ export const blogEntry = {
574
600
  pl: readLocale('react-i18next_vs_react-intl_vs_intlayer.md', 'pl'),
575
601
  id: readLocale('react-i18next_vs_react-intl_vs_intlayer.md', 'id'),
576
602
  vi: readLocale('react-i18next_vs_react-intl_vs_intlayer.md', 'vi'),
603
+ uk: readLocale('react-i18next_vs_react-intl_vs_intlayer.md', 'uk'),
577
604
  } as unknown as Record<LocalesValues, Promise<string>>,
578
605
  './blog/en/vue-i18n_vs_intlayer.md': {
579
606
  en: readLocale('vue-i18n_vs_intlayer.md', 'en'),
@@ -593,6 +620,7 @@ export const blogEntry = {
593
620
  pl: readLocale('vue-i18n_vs_intlayer.md', 'pl'),
594
621
  id: readLocale('vue-i18n_vs_intlayer.md', 'id'),
595
622
  vi: readLocale('vue-i18n_vs_intlayer.md', 'vi'),
623
+ uk: readLocale('vue-i18n_vs_intlayer.md', 'uk'),
596
624
  } as unknown as Record<LocalesValues, Promise<string>>,
597
625
  './blog/en/what_is_internationalization.md': {
598
626
  en: readLocale('what_is_internationalization.md', 'en'),
@@ -612,5 +640,6 @@ export const blogEntry = {
612
640
  pl: readLocale('what_is_internationalization.md', 'pl'),
613
641
  id: readLocale('what_is_internationalization.md', 'id'),
614
642
  vi: readLocale('what_is_internationalization.md', 'vi'),
643
+ uk: readLocale('what_is_internationalization.md', 'uk'),
615
644
  } as unknown as Record<LocalesValues, Promise<string>>,
616
645
  } as const;