@intlayer/docs 8.1.6 → 8.1.8

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 (1054) hide show
  1. package/README.md +20 -12
  2. package/blog/ar/i18n_meaning.md +124 -0
  3. package/blog/ar/l10n_platform_alternative/Lokalise.md +5 -5
  4. package/blog/ar/l10n_platform_alternative/crowdin.md +4 -10
  5. package/blog/ar/l10n_platform_alternative/phrase.md +2 -6
  6. package/blog/ar/list_i18n_technologies/frameworks/svelte.md +25 -3
  7. package/blog/ar/list_i18n_technologies/frameworks/vue.md +16 -2
  8. package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +1 -1
  9. package/blog/ar/nextjs-multilingual-seo-comparison.md +1 -1
  10. package/blog/ar/rag_powered_documentation_assistant.md +1 -1
  11. package/blog/de/i18n_meaning.md +124 -0
  12. package/blog/de/l10n_platform_alternative/Lokalise.md +5 -9
  13. package/blog/de/l10n_platform_alternative/crowdin.md +4 -4
  14. package/blog/de/l10n_platform_alternative/phrase.md +2 -6
  15. package/blog/de/list_i18n_technologies/frameworks/svelte.md +25 -3
  16. package/blog/de/list_i18n_technologies/frameworks/vue.md +16 -2
  17. package/blog/de/per-component_vs_centralized_i18n.md +2 -2
  18. package/blog/de/rag_powered_documentation_assistant.md +1 -1
  19. package/blog/en/i18n_meaning.md +124 -0
  20. package/blog/en/intlayer_with_i18next.md +3 -3
  21. package/blog/en/intlayer_with_next-i18next.md +3 -3
  22. package/blog/en/intlayer_with_next-intl.md +3 -3
  23. package/blog/en/intlayer_with_react-i18next.md +3 -3
  24. package/blog/en/intlayer_with_react-intl.md +3 -3
  25. package/blog/en/intlayer_with_vue-i18n.md +3 -3
  26. package/blog/en/l10n_platform_alternative/Lokalise.md +5 -5
  27. package/blog/en/l10n_platform_alternative/crowdin.md +4 -4
  28. package/blog/en/l10n_platform_alternative/phrase.md +2 -2
  29. package/blog/en/nextjs-multilingual-seo-comparison.md +1 -1
  30. package/blog/en/rag_powered_documentation_assistant.md +1 -2
  31. package/blog/en-GB/compiler_vs_declarative_i18n.md +2 -2
  32. package/blog/en-GB/i18n_meaning.md +124 -0
  33. package/blog/en-GB/intlayer_with_i18next.md +1 -1
  34. package/blog/en-GB/intlayer_with_next-i18next.md +1 -1
  35. package/blog/en-GB/intlayer_with_next-intl.md +1 -1
  36. package/blog/en-GB/intlayer_with_react-i18next.md +1 -1
  37. package/blog/en-GB/intlayer_with_react-intl.md +1 -1
  38. package/blog/en-GB/intlayer_with_vue-i18n.md +1 -1
  39. package/blog/en-GB/l10n_platform_alternative/Lokalise.md +5 -5
  40. package/blog/en-GB/l10n_platform_alternative/crowdin.md +4 -4
  41. package/blog/en-GB/l10n_platform_alternative/phrase.md +2 -2
  42. package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +25 -3
  43. package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +16 -2
  44. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +1 -1
  45. package/blog/en-GB/nextjs-multilingual-seo-comparison.md +1 -1
  46. package/blog/en-GB/rag_powered_documentation_assistant.md +1 -1
  47. package/blog/es/i18n_meaning.md +124 -0
  48. package/blog/es/l10n_platform_alternative/Lokalise.md +4 -4
  49. package/blog/es/l10n_platform_alternative/crowdin.md +14 -19
  50. package/blog/es/l10n_platform_alternative/phrase.md +2 -8
  51. package/blog/es/list_i18n_technologies/frameworks/svelte.md +25 -3
  52. package/blog/es/list_i18n_technologies/frameworks/vue.md +16 -2
  53. package/blog/es/rag_powered_documentation_assistant.md +1 -1
  54. package/blog/fr/compiler_vs_declarative_i18n.md +1 -1
  55. package/blog/fr/i18n_meaning.md +23 -0
  56. package/blog/fr/l10n_platform_alternative/Lokalise.md +6 -10
  57. package/blog/fr/l10n_platform_alternative/crowdin.md +4 -10
  58. package/blog/fr/l10n_platform_alternative/phrase.md +11 -24
  59. package/blog/fr/list_i18n_technologies/frameworks/svelte.md +25 -3
  60. package/blog/fr/list_i18n_technologies/frameworks/vue.md +16 -2
  61. package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +1 -1
  62. package/blog/fr/nextjs-multilingual-seo-comparison.md +1 -1
  63. package/blog/fr/rag_powered_documentation_assistant.md +1 -1
  64. package/blog/hi/compiler_vs_declarative_i18n.md +2 -2
  65. package/blog/hi/i18n_meaning.md +124 -0
  66. package/blog/hi/l10n_platform_alternative/Lokalise.md +5 -11
  67. package/blog/hi/l10n_platform_alternative/crowdin.md +13 -17
  68. package/blog/hi/l10n_platform_alternative/phrase.md +2 -2
  69. package/blog/hi/list_i18n_technologies/frameworks/angular.md +25 -3
  70. package/blog/hi/list_i18n_technologies/frameworks/svelte.md +25 -3
  71. package/blog/hi/list_i18n_technologies/frameworks/vue.md +16 -2
  72. package/blog/hi/nextjs-multilingual-seo-comparison.md +1 -1
  73. package/blog/hi/per-component_vs_centralized_i18n.md +3 -3
  74. package/blog/hi/rag_powered_documentation_assistant.md +1 -1
  75. package/blog/id/compiler_vs_declarative_i18n.md +2 -2
  76. package/blog/id/i18n_meaning.md +124 -0
  77. package/blog/id/l10n_platform_alternative/Lokalise.md +5 -11
  78. package/blog/id/l10n_platform_alternative/crowdin.md +4 -8
  79. package/blog/id/l10n_platform_alternative/phrase.md +11 -22
  80. package/blog/id/list_i18n_technologies/frameworks/angular.md +25 -3
  81. package/blog/id/list_i18n_technologies/frameworks/svelte.md +25 -3
  82. package/blog/id/list_i18n_technologies/frameworks/vue.md +16 -2
  83. package/blog/id/nextjs-multilingual-seo-comparison.md +1 -1
  84. package/blog/id/rag_powered_documentation_assistant.md +1 -1
  85. package/blog/id/vue-i18n_vs_intlayer.md +1 -1
  86. package/blog/it/compiler_vs_declarative_i18n.md +1 -1
  87. package/blog/it/i18n_meaning.md +124 -0
  88. package/blog/it/l10n_platform_alternative/Lokalise.md +5 -9
  89. package/blog/it/l10n_platform_alternative/crowdin.md +4 -10
  90. package/blog/it/l10n_platform_alternative/phrase.md +2 -6
  91. package/blog/it/list_i18n_technologies/frameworks/svelte.md +25 -3
  92. package/blog/it/list_i18n_technologies/frameworks/vue.md +16 -2
  93. package/blog/it/nextjs-multilingual-seo-comparison.md +1 -1
  94. package/blog/it/rag_powered_documentation_assistant.md +1 -1
  95. package/blog/ja/i18n_meaning.md +124 -0
  96. package/blog/ja/l10n_platform_alternative/phrase.md +3 -2
  97. package/blog/ja/list_i18n_technologies/frameworks/angular.md +1 -1
  98. package/blog/ja/list_i18n_technologies/frameworks/react-native.md +6 -9
  99. package/blog/ja/list_i18n_technologies/frameworks/react.md +3 -2
  100. package/blog/ja/list_i18n_technologies/frameworks/svelte.md +27 -6
  101. package/blog/ja/list_i18n_technologies/frameworks/vue.md +29 -15
  102. package/blog/ja/per-component_vs_centralized_i18n.md +1 -1
  103. package/blog/ko/i18n_meaning.md +124 -0
  104. package/blog/ko/l10n_platform_alternative/Lokalise.md +2 -2
  105. package/blog/ko/l10n_platform_alternative/crowdin.md +11 -17
  106. package/blog/ko/l10n_platform_alternative/phrase.md +5 -5
  107. package/blog/ko/list_i18n_technologies/frameworks/angular.md +26 -3
  108. package/blog/ko/list_i18n_technologies/frameworks/react-native.md +35 -39
  109. package/blog/ko/list_i18n_technologies/frameworks/react.md +24 -24
  110. package/blog/ko/list_i18n_technologies/frameworks/svelte.md +28 -7
  111. package/blog/ko/list_i18n_technologies/frameworks/vue.md +22 -2
  112. package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +1 -1
  113. package/blog/ko/per-component_vs_centralized_i18n.md +1 -1
  114. package/blog/pl/compiler_vs_declarative_i18n.md +2 -2
  115. package/blog/pl/i18n_meaning.md +124 -0
  116. package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -16
  117. package/blog/pl/l10n_platform_alternative/crowdin.md +5 -5
  118. package/blog/pl/l10n_platform_alternative/phrase.md +4 -8
  119. package/blog/pl/list_i18n_technologies/frameworks/angular.md +26 -4
  120. package/blog/pl/list_i18n_technologies/frameworks/react-native.md +2 -2
  121. package/blog/pl/list_i18n_technologies/frameworks/react.md +1 -1
  122. package/blog/pl/list_i18n_technologies/frameworks/svelte.md +25 -3
  123. package/blog/pl/list_i18n_technologies/frameworks/vue.md +18 -4
  124. package/blog/pl/nextjs-multilingual-seo-comparison.md +1 -1
  125. package/blog/pl/per-component_vs_centralized_i18n.md +4 -4
  126. package/blog/pl/rag_powered_documentation_assistant.md +1 -1
  127. package/blog/pl/vue-i18n_vs_intlayer.md +1 -1
  128. package/blog/pt/compiler_vs_declarative_i18n.md +1 -1
  129. package/blog/pt/i18n_meaning.md +124 -0
  130. package/blog/pt/l10n_platform_alternative/Lokalise.md +5 -5
  131. package/blog/pt/l10n_platform_alternative/crowdin.md +13 -13
  132. package/blog/pt/l10n_platform_alternative/phrase.md +2 -2
  133. package/blog/pt/list_i18n_technologies/frameworks/svelte.md +25 -3
  134. package/blog/pt/list_i18n_technologies/frameworks/vue.md +16 -2
  135. package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +1 -1
  136. package/blog/pt/nextjs-multilingual-seo-comparison.md +1 -1
  137. package/blog/pt/per-component_vs_centralized_i18n.md +1 -1
  138. package/blog/pt/rag_powered_documentation_assistant.md +1 -1
  139. package/blog/ru/compiler_vs_declarative_i18n.md +9 -9
  140. package/blog/ru/i18n_meaning.md +124 -0
  141. package/blog/ru/i18n_using_next-i18next.md +3 -3
  142. package/blog/ru/i18n_using_next-intl.md +6 -6
  143. package/blog/ru/intlayer_with_i18next.md +1 -1
  144. package/blog/ru/intlayer_with_next-i18next.md +2 -2
  145. package/blog/ru/intlayer_with_next-intl.md +1 -1
  146. package/blog/ru/intlayer_with_react-i18next.md +1 -1
  147. package/blog/ru/intlayer_with_react-intl.md +1 -1
  148. package/blog/ru/intlayer_with_vue-i18n.md +1 -1
  149. package/blog/ru/l10n_platform_alternative/Lokalise.md +10 -10
  150. package/blog/ru/l10n_platform_alternative/crowdin.md +20 -26
  151. package/blog/ru/l10n_platform_alternative/phrase.md +16 -20
  152. package/blog/ru/list_i18n_technologies/frameworks/angular.md +26 -4
  153. package/blog/ru/list_i18n_technologies/frameworks/react.md +1 -1
  154. package/blog/ru/list_i18n_technologies/frameworks/svelte.md +26 -4
  155. package/blog/ru/list_i18n_technologies/frameworks/vue.md +16 -2
  156. package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +9 -9
  157. package/blog/ru/nextjs-multilingual-seo-comparison.md +7 -7
  158. package/blog/ru/per-component_vs_centralized_i18n.md +3 -3
  159. package/blog/ru/rag_powered_documentation_assistant.md +9 -9
  160. package/blog/ru/what_is_internationalization.md +1 -1
  161. package/blog/tr/compiler_vs_declarative_i18n.md +2 -2
  162. package/blog/tr/i18n_meaning.md +124 -0
  163. package/blog/tr/l10n_platform_alternative/Lokalise.md +4 -4
  164. package/blog/tr/l10n_platform_alternative/crowdin.md +3 -3
  165. package/blog/tr/l10n_platform_alternative/phrase.md +10 -21
  166. package/blog/tr/list_i18n_technologies/frameworks/angular.md +25 -3
  167. package/blog/tr/list_i18n_technologies/frameworks/svelte.md +25 -3
  168. package/blog/tr/list_i18n_technologies/frameworks/vue.md +16 -2
  169. package/blog/tr/nextjs-multilingual-seo-comparison.md +1 -1
  170. package/blog/tr/rag_powered_documentation_assistant.md +1 -1
  171. package/blog/uk/compiler_vs_declarative_i18n.md +12 -12
  172. package/blog/uk/i18n_meaning.md +124 -0
  173. package/blog/uk/i18n_using_next-i18next.md +10 -10
  174. package/blog/uk/i18n_using_next-intl.md +7 -7
  175. package/blog/uk/internationalization_and_SEO.md +11 -11
  176. package/blog/uk/intlayer_with_i18next.md +2 -2
  177. package/blog/uk/intlayer_with_next-i18next.md +3 -3
  178. package/blog/uk/intlayer_with_next-intl.md +2 -2
  179. package/blog/uk/intlayer_with_react-i18next.md +2 -2
  180. package/blog/uk/intlayer_with_react-intl.md +2 -2
  181. package/blog/uk/intlayer_with_vue-i18n.md +2 -2
  182. package/blog/uk/l10n_platform_alternative/Lokalise.md +9 -9
  183. package/blog/uk/l10n_platform_alternative/crowdin.md +10 -10
  184. package/blog/uk/l10n_platform_alternative/phrase.md +9 -9
  185. package/blog/uk/list_i18n_technologies/frameworks/angular.md +31 -9
  186. package/blog/uk/list_i18n_technologies/frameworks/react-native.md +6 -6
  187. package/blog/uk/list_i18n_technologies/frameworks/react.md +6 -6
  188. package/blog/uk/list_i18n_technologies/frameworks/svelte.md +4 -4
  189. package/blog/uk/list_i18n_technologies/frameworks/vue.md +6 -6
  190. package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +13 -13
  191. package/blog/uk/nextjs-multilingual-seo-comparison.md +8 -8
  192. package/blog/uk/per-component_vs_centralized_i18n.md +3 -3
  193. package/blog/uk/rag_powered_documentation_assistant.md +11 -11
  194. package/blog/uk/react-i18next_vs_react-intl_vs_intlayer.md +5 -5
  195. package/blog/uk/vue-i18n_vs_intlayer.md +5 -5
  196. package/blog/uk/what_is_internationalization.md +4 -4
  197. package/blog/vi/compiler_vs_declarative_i18n.md +1 -1
  198. package/blog/vi/i18n_meaning.md +124 -0
  199. package/blog/vi/l10n_platform_alternative/Lokalise.md +14 -21
  200. package/blog/vi/l10n_platform_alternative/crowdin.md +4 -4
  201. package/blog/vi/l10n_platform_alternative/phrase.md +2 -6
  202. package/blog/vi/list_i18n_technologies/frameworks/angular.md +25 -3
  203. package/blog/vi/list_i18n_technologies/frameworks/svelte.md +25 -3
  204. package/blog/vi/list_i18n_technologies/frameworks/vue.md +16 -2
  205. package/blog/vi/nextjs-multilingual-seo-comparison.md +1 -1
  206. package/blog/vi/per-component_vs_centralized_i18n.md +1 -1
  207. package/blog/vi/rag_powered_documentation_assistant.md +1 -1
  208. package/blog/zh/compiler_vs_declarative_i18n.md +2 -2
  209. package/blog/zh/i18n_meaning.md +124 -0
  210. package/blog/zh/internationalization_and_SEO.md +5 -5
  211. package/blog/zh/l10n_platform_alternative/Lokalise.md +23 -23
  212. package/blog/zh/l10n_platform_alternative/crowdin.md +28 -32
  213. package/blog/zh/l10n_platform_alternative/phrase.md +32 -38
  214. package/blog/zh/list_i18n_technologies/frameworks/angular.md +28 -6
  215. package/blog/zh/list_i18n_technologies/frameworks/react-native.md +10 -14
  216. package/blog/zh/list_i18n_technologies/frameworks/react.md +5 -5
  217. package/blog/zh/list_i18n_technologies/frameworks/svelte.md +23 -7
  218. package/blog/zh/list_i18n_technologies/frameworks/vue.md +20 -6
  219. package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +2 -2
  220. package/blog/zh/nextjs-multilingual-seo-comparison.md +1 -1
  221. package/blog/zh/rag_powered_documentation_assistant.md +1 -1
  222. package/blog/zh/what_is_internationalization.md +1 -1
  223. package/dist/cjs/generated/blog.entry.cjs +1 -1
  224. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  225. package/dist/cjs/generated/docs.entry.cjs +1 -1
  226. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  227. package/dist/esm/generated/blog.entry.mjs +1 -1
  228. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  229. package/dist/esm/generated/docs.entry.mjs +1 -1
  230. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  231. package/dist/types/generated/blog.entry.d.ts +1 -0
  232. package/dist/types/generated/blog.entry.d.ts.map +1 -1
  233. package/dist/types/generated/docs.entry.d.ts +2 -0
  234. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  235. package/docs/ar/agent_skills.md +2 -0
  236. package/docs/ar/compiler.md +81 -3
  237. package/docs/ar/component_i18n.md +2 -2
  238. package/docs/ar/configuration.md +68 -1
  239. package/docs/ar/dictionary/content_file.md +1 -1
  240. package/docs/ar/index.md +2 -2
  241. package/docs/ar/intlayer_CMS.md +1 -1
  242. package/docs/ar/intlayer_with_adonisjs.md +1 -1
  243. package/docs/ar/intlayer_with_analog.md +1 -1
  244. package/docs/ar/intlayer_with_angular.md +1 -1
  245. package/docs/ar/intlayer_with_astro.md +1 -1
  246. package/docs/ar/intlayer_with_create_react_app.md +1 -1
  247. package/docs/ar/intlayer_with_express.md +1 -1
  248. package/docs/ar/intlayer_with_fastify.md +1 -1
  249. package/docs/ar/intlayer_with_hono.md +1 -1
  250. package/docs/ar/intlayer_with_lynx+react.md +1 -1
  251. package/docs/ar/intlayer_with_nestjs.md +1 -1
  252. package/docs/ar/intlayer_with_next-i18next.md +2 -2
  253. package/docs/ar/intlayer_with_next-intl.md +2 -2
  254. package/docs/ar/intlayer_with_nextjs_14.md +1 -1
  255. package/docs/ar/intlayer_with_nextjs_15.md +1 -1
  256. package/docs/ar/intlayer_with_nextjs_16.md +3 -1
  257. package/docs/ar/intlayer_with_nextjs_compiler.md +498 -0
  258. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +2 -2
  259. package/docs/ar/intlayer_with_nextjs_page_router.md +1 -1
  260. package/docs/ar/intlayer_with_nuxt.md +1 -1
  261. package/docs/ar/intlayer_with_react_native+expo.md +4 -2
  262. package/docs/ar/intlayer_with_react_router_v7.md +4 -2
  263. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +4 -2
  264. package/docs/ar/intlayer_with_svelte_kit.md +1 -1
  265. package/docs/ar/intlayer_with_tanstack.md +1 -1
  266. package/docs/ar/intlayer_with_vite+preact.md +3 -1
  267. package/docs/ar/intlayer_with_vite+react.md +3 -1
  268. package/docs/ar/intlayer_with_vite+react_compiler.md +385 -0
  269. package/docs/ar/intlayer_with_vite+solid.md +1 -1
  270. package/docs/ar/intlayer_with_vite+svelte.md +3 -1
  271. package/docs/ar/intlayer_with_vite+vue.md +3 -1
  272. package/docs/ar/introduction.md +2 -2
  273. package/docs/ar/packages/next-intlayer/intlayerMiddleware.md +29 -6
  274. package/docs/ar/readme.md +138 -110
  275. package/docs/de/agent_skills.md +2 -0
  276. package/docs/de/cli/init.md +1 -1
  277. package/docs/de/compiler.md +79 -1
  278. package/docs/de/component_i18n.md +2 -2
  279. package/docs/de/configuration.md +68 -1
  280. package/docs/de/dictionary/content_file.md +1 -1
  281. package/docs/de/index.md +2 -2
  282. package/docs/de/intlayer_with_adonisjs.md +1 -1
  283. package/docs/de/intlayer_with_analog.md +1 -1
  284. package/docs/de/intlayer_with_angular.md +1 -1
  285. package/docs/de/intlayer_with_astro.md +1 -1
  286. package/docs/de/intlayer_with_create_react_app.md +1 -1
  287. package/docs/de/intlayer_with_express.md +1 -1
  288. package/docs/de/intlayer_with_fastify.md +1 -1
  289. package/docs/de/intlayer_with_hono.md +1 -1
  290. package/docs/de/intlayer_with_lynx+react.md +1 -1
  291. package/docs/de/intlayer_with_nestjs.md +1 -1
  292. package/docs/de/intlayer_with_next-i18next.md +2 -2
  293. package/docs/de/intlayer_with_next-intl.md +1 -1
  294. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  295. package/docs/de/intlayer_with_nextjs_15.md +1 -1
  296. package/docs/de/intlayer_with_nextjs_16.md +3 -1
  297. package/docs/de/intlayer_with_nextjs_compiler.md +498 -0
  298. package/docs/de/intlayer_with_nextjs_no_locale_path.md +2 -2
  299. package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
  300. package/docs/de/intlayer_with_nuxt.md +1 -1
  301. package/docs/de/intlayer_with_react_native+expo.md +4 -2
  302. package/docs/de/intlayer_with_react_router_v7.md +4 -2
  303. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +4 -2
  304. package/docs/de/intlayer_with_svelte_kit.md +1 -1
  305. package/docs/de/intlayer_with_tanstack.md +1 -1
  306. package/docs/de/intlayer_with_vite+preact.md +3 -1
  307. package/docs/de/intlayer_with_vite+react.md +3 -1
  308. package/docs/de/intlayer_with_vite+react_compiler.md +385 -0
  309. package/docs/de/intlayer_with_vite+solid.md +1 -1
  310. package/docs/de/intlayer_with_vite+svelte.md +3 -1
  311. package/docs/de/intlayer_with_vite+vue.md +3 -1
  312. package/docs/de/introduction.md +2 -2
  313. package/docs/de/packages/next-intlayer/intlayerMiddleware.md +29 -6
  314. package/docs/de/readme.md +152 -124
  315. package/docs/en/agent_skills.md +2 -0
  316. package/docs/en/compiler.md +80 -1
  317. package/docs/en/component_i18n.md +2 -2
  318. package/docs/en/configuration.md +16 -1
  319. package/docs/en/index.md +2 -2
  320. package/docs/en/intlayer_CMS.md +1 -1
  321. package/docs/en/intlayer_with_adonisjs.md +1 -1
  322. package/docs/en/intlayer_with_analog.md +1 -1
  323. package/docs/en/intlayer_with_angular.md +1 -1
  324. package/docs/en/intlayer_with_astro.md +1 -1
  325. package/docs/en/intlayer_with_create_react_app.md +1 -1
  326. package/docs/en/intlayer_with_express.md +1 -1
  327. package/docs/en/intlayer_with_fastify.md +1 -1
  328. package/docs/en/intlayer_with_hono.md +1 -1
  329. package/docs/en/intlayer_with_lynx+react.md +1 -1
  330. package/docs/en/intlayer_with_nestjs.md +1 -1
  331. package/docs/en/intlayer_with_next-i18next.md +2 -2
  332. package/docs/en/intlayer_with_next-intl.md +1 -1
  333. package/docs/en/intlayer_with_nextjs_14.md +2 -2
  334. package/docs/en/intlayer_with_nextjs_15.md +2 -2
  335. package/docs/en/intlayer_with_nextjs_16.md +4 -2
  336. package/docs/en/intlayer_with_nextjs_compiler.md +498 -0
  337. package/docs/en/intlayer_with_nextjs_no_locale_path.md +3 -3
  338. package/docs/en/intlayer_with_nextjs_page_router.md +2 -2
  339. package/docs/en/intlayer_with_nuxt.md +2 -2
  340. package/docs/en/intlayer_with_react_native+expo.md +5 -3
  341. package/docs/en/intlayer_with_react_router_v7.md +4 -2
  342. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +4 -2
  343. package/docs/en/intlayer_with_svelte_kit.md +1 -1
  344. package/docs/en/intlayer_with_tanstack.md +1 -1
  345. package/docs/en/intlayer_with_vite+preact.md +3 -1
  346. package/docs/en/intlayer_with_vite+react.md +3 -1
  347. package/docs/en/intlayer_with_vite+react_compiler.md +385 -0
  348. package/docs/en/intlayer_with_vite+solid.md +1 -1
  349. package/docs/en/intlayer_with_vite+svelte.md +3 -1
  350. package/docs/en/intlayer_with_vite+vue.md +3 -1
  351. package/docs/en/introduction.md +2 -2
  352. package/docs/en/packages/next-intlayer/intlayerMiddleware.md +29 -6
  353. package/docs/en/readme.md +129 -105
  354. package/docs/en-GB/agent_skills.md +2 -0
  355. package/docs/en-GB/cli/init.md +1 -1
  356. package/docs/en-GB/compiler.md +81 -3
  357. package/docs/en-GB/component_i18n.md +2 -2
  358. package/docs/en-GB/configuration.md +68 -1
  359. package/docs/en-GB/dictionary/content_file.md +1 -1
  360. package/docs/en-GB/index.md +2 -2
  361. package/docs/en-GB/intlayer_CMS.md +1 -1
  362. package/docs/en-GB/intlayer_with_adonisjs.md +1 -1
  363. package/docs/en-GB/intlayer_with_analog.md +1 -1
  364. package/docs/en-GB/intlayer_with_angular.md +1 -1
  365. package/docs/en-GB/intlayer_with_astro.md +1 -1
  366. package/docs/en-GB/intlayer_with_create_react_app.md +1 -1
  367. package/docs/en-GB/intlayer_with_express.md +1 -1
  368. package/docs/en-GB/intlayer_with_fastify.md +1 -1
  369. package/docs/en-GB/intlayer_with_hono.md +1 -1
  370. package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
  371. package/docs/en-GB/intlayer_with_nestjs.md +1 -1
  372. package/docs/en-GB/intlayer_with_next-i18next.md +2 -2
  373. package/docs/en-GB/intlayer_with_next-intl.md +2 -2
  374. package/docs/en-GB/intlayer_with_nextjs_14.md +2 -2
  375. package/docs/en-GB/intlayer_with_nextjs_15.md +1 -1
  376. package/docs/en-GB/intlayer_with_nextjs_16.md +1 -1
  377. package/docs/en-GB/intlayer_with_nextjs_compiler.md +481 -0
  378. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +16 -16
  379. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  380. package/docs/en-GB/intlayer_with_nuxt.md +2 -2
  381. package/docs/en-GB/intlayer_with_react_native+expo.md +2 -2
  382. package/docs/en-GB/intlayer_with_react_router_v7.md +2 -2
  383. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +2 -2
  384. package/docs/en-GB/intlayer_with_svelte_kit.md +2 -2
  385. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  386. package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
  387. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  388. package/docs/en-GB/intlayer_with_vite+react_compiler.md +368 -0
  389. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  390. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  391. package/docs/en-GB/intlayer_with_vite+vue.md +1 -1
  392. package/docs/en-GB/introduction.md +2 -2
  393. package/docs/en-GB/packages/next-intlayer/intlayerMiddleware.md +29 -6
  394. package/docs/en-GB/readme.md +134 -108
  395. package/docs/es/agent_skills.md +2 -0
  396. package/docs/es/compiler.md +79 -1
  397. package/docs/es/component_i18n.md +2 -2
  398. package/docs/es/configuration.md +68 -1
  399. package/docs/es/dictionary/content_file.md +1 -1
  400. package/docs/es/index.md +2 -2
  401. package/docs/es/intlayer_with_adonisjs.md +1 -1
  402. package/docs/es/intlayer_with_analog.md +1 -1
  403. package/docs/es/intlayer_with_angular.md +1 -1
  404. package/docs/es/intlayer_with_astro.md +1 -1
  405. package/docs/es/intlayer_with_create_react_app.md +1 -1
  406. package/docs/es/intlayer_with_express.md +1 -1
  407. package/docs/es/intlayer_with_fastify.md +1 -1
  408. package/docs/es/intlayer_with_hono.md +1 -1
  409. package/docs/es/intlayer_with_lynx+react.md +1 -1
  410. package/docs/es/intlayer_with_nestjs.md +1 -1
  411. package/docs/es/intlayer_with_next-i18next.md +2 -2
  412. package/docs/es/intlayer_with_next-intl.md +1 -1
  413. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  414. package/docs/es/intlayer_with_nextjs_15.md +1 -1
  415. package/docs/es/intlayer_with_nextjs_16.md +3 -1
  416. package/docs/es/intlayer_with_nextjs_compiler.md +498 -0
  417. package/docs/es/intlayer_with_nextjs_no_locale_path.md +6 -6
  418. package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
  419. package/docs/es/intlayer_with_nuxt.md +1 -1
  420. package/docs/es/intlayer_with_react_native+expo.md +5 -3
  421. package/docs/es/intlayer_with_react_router_v7.md +4 -2
  422. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +4 -2
  423. package/docs/es/intlayer_with_svelte_kit.md +1 -1
  424. package/docs/es/intlayer_with_tanstack.md +1 -1
  425. package/docs/es/intlayer_with_vite+preact.md +3 -1
  426. package/docs/es/intlayer_with_vite+react.md +3 -1
  427. package/docs/es/intlayer_with_vite+react_compiler.md +385 -0
  428. package/docs/es/intlayer_with_vite+solid.md +1 -1
  429. package/docs/es/intlayer_with_vite+svelte.md +3 -1
  430. package/docs/es/intlayer_with_vite+vue.md +3 -1
  431. package/docs/es/introduction.md +2 -2
  432. package/docs/es/packages/next-intlayer/intlayerMiddleware.md +29 -6
  433. package/docs/es/readme.md +149 -121
  434. package/docs/fr/agent_skills.md +2 -0
  435. package/docs/fr/compiler.md +82 -4
  436. package/docs/fr/component_i18n.md +2 -2
  437. package/docs/fr/configuration.md +68 -1
  438. package/docs/fr/dictionary/content_file.md +1 -1
  439. package/docs/fr/index.md +2 -2
  440. package/docs/fr/intlayer_CMS.md +1 -1
  441. package/docs/fr/intlayer_with_adonisjs.md +1 -1
  442. package/docs/fr/intlayer_with_analog.md +1 -1
  443. package/docs/fr/intlayer_with_angular.md +1 -1
  444. package/docs/fr/intlayer_with_astro.md +1 -1
  445. package/docs/fr/intlayer_with_create_react_app.md +1 -1
  446. package/docs/fr/intlayer_with_express.md +1 -1
  447. package/docs/fr/intlayer_with_fastify.md +1 -1
  448. package/docs/fr/intlayer_with_hono.md +1 -1
  449. package/docs/fr/intlayer_with_lynx+react.md +1 -1
  450. package/docs/fr/intlayer_with_nestjs.md +1 -1
  451. package/docs/fr/intlayer_with_next-i18next.md +2 -2
  452. package/docs/fr/intlayer_with_next-intl.md +1 -1
  453. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  454. package/docs/fr/intlayer_with_nextjs_15.md +1 -1
  455. package/docs/fr/intlayer_with_nextjs_16.md +3 -1
  456. package/docs/fr/intlayer_with_nextjs_compiler.md +498 -0
  457. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +2 -2
  458. package/docs/fr/intlayer_with_nextjs_page_router.md +1 -1
  459. package/docs/fr/intlayer_with_nuxt.md +1 -1
  460. package/docs/fr/intlayer_with_react_native+expo.md +5 -3
  461. package/docs/fr/intlayer_with_react_router_v7.md +4 -2
  462. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +4 -2
  463. package/docs/fr/intlayer_with_svelte_kit.md +2 -2
  464. package/docs/fr/intlayer_with_tanstack.md +1 -1
  465. package/docs/fr/intlayer_with_vite+preact.md +3 -1
  466. package/docs/fr/intlayer_with_vite+react.md +3 -1
  467. package/docs/fr/intlayer_with_vite+react_compiler.md +385 -0
  468. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  469. package/docs/fr/intlayer_with_vite+svelte.md +3 -1
  470. package/docs/fr/intlayer_with_vite+vue.md +4 -2
  471. package/docs/fr/introduction.md +2 -2
  472. package/docs/fr/packages/next-intlayer/intlayerMiddleware.md +30 -7
  473. package/docs/fr/readme.md +150 -122
  474. package/docs/hi/agent_skills.md +2 -0
  475. package/docs/hi/cli/init.md +1 -1
  476. package/docs/hi/compiler.md +81 -3
  477. package/docs/hi/component_i18n.md +2 -2
  478. package/docs/hi/configuration.md +68 -1
  479. package/docs/hi/dictionary/content_file.md +1 -1
  480. package/docs/hi/index.md +2 -2
  481. package/docs/hi/intlayer_CMS.md +1 -1
  482. package/docs/hi/intlayer_with_adonisjs.md +1 -1
  483. package/docs/hi/intlayer_with_analog.md +1 -1
  484. package/docs/hi/intlayer_with_angular.md +1 -1
  485. package/docs/hi/intlayer_with_astro.md +1 -1
  486. package/docs/hi/intlayer_with_create_react_app.md +1 -1
  487. package/docs/hi/intlayer_with_express.md +1 -1
  488. package/docs/hi/intlayer_with_fastify.md +2 -2
  489. package/docs/hi/intlayer_with_hono.md +1 -1
  490. package/docs/hi/intlayer_with_lynx+react.md +1 -1
  491. package/docs/hi/intlayer_with_nestjs.md +1 -1
  492. package/docs/hi/intlayer_with_next-i18next.md +2 -2
  493. package/docs/hi/intlayer_with_next-intl.md +1 -1
  494. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  495. package/docs/hi/intlayer_with_nextjs_15.md +1 -1
  496. package/docs/hi/intlayer_with_nextjs_16.md +3 -1
  497. package/docs/hi/intlayer_with_nextjs_compiler.md +498 -0
  498. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +4 -4
  499. package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
  500. package/docs/hi/intlayer_with_nuxt.md +1 -1
  501. package/docs/hi/intlayer_with_react_native+expo.md +4 -2
  502. package/docs/hi/intlayer_with_react_router_v7.md +4 -2
  503. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +4 -2
  504. package/docs/hi/intlayer_with_svelte_kit.md +1 -1
  505. package/docs/hi/intlayer_with_tanstack.md +1 -1
  506. package/docs/hi/intlayer_with_vite+preact.md +3 -1
  507. package/docs/hi/intlayer_with_vite+react.md +3 -1
  508. package/docs/hi/intlayer_with_vite+react_compiler.md +386 -0
  509. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  510. package/docs/hi/intlayer_with_vite+svelte.md +3 -1
  511. package/docs/hi/intlayer_with_vite+vue.md +4 -2
  512. package/docs/hi/introduction.md +2 -2
  513. package/docs/hi/packages/next-intlayer/intlayerMiddleware.md +29 -6
  514. package/docs/hi/readme.md +153 -125
  515. package/docs/id/agent_skills.md +2 -0
  516. package/docs/id/compiler.md +79 -1
  517. package/docs/id/component_i18n.md +2 -2
  518. package/docs/id/configuration.md +61 -1
  519. package/docs/id/dictionary/content_file.md +1 -1
  520. package/docs/id/index.md +2 -2
  521. package/docs/id/intlayer_CMS.md +1 -1
  522. package/docs/id/intlayer_with_adonisjs.md +1 -1
  523. package/docs/id/intlayer_with_analog.md +1 -1
  524. package/docs/id/intlayer_with_angular.md +1 -1
  525. package/docs/id/intlayer_with_astro.md +1 -1
  526. package/docs/id/intlayer_with_create_react_app.md +1 -1
  527. package/docs/id/intlayer_with_express.md +1 -1
  528. package/docs/id/intlayer_with_fastify.md +1 -1
  529. package/docs/id/intlayer_with_hono.md +1 -1
  530. package/docs/id/intlayer_with_lynx+react.md +1 -1
  531. package/docs/id/intlayer_with_nestjs.md +1 -1
  532. package/docs/id/intlayer_with_next-i18next.md +2 -2
  533. package/docs/id/intlayer_with_next-intl.md +1 -1
  534. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  535. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  536. package/docs/id/intlayer_with_nextjs_16.md +3 -1
  537. package/docs/id/intlayer_with_nextjs_compiler.md +498 -0
  538. package/docs/id/intlayer_with_nextjs_no_locale_path.md +3 -3
  539. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  540. package/docs/id/intlayer_with_nuxt.md +1 -1
  541. package/docs/id/intlayer_with_react_native+expo.md +5 -3
  542. package/docs/id/intlayer_with_react_router_v7.md +4 -2
  543. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +4 -2
  544. package/docs/id/intlayer_with_svelte_kit.md +1 -1
  545. package/docs/id/intlayer_with_tanstack.md +1 -1
  546. package/docs/id/intlayer_with_vite+preact.md +3 -1
  547. package/docs/id/intlayer_with_vite+react.md +3 -1
  548. package/docs/id/intlayer_with_vite+react_compiler.md +385 -0
  549. package/docs/id/intlayer_with_vite+solid.md +1 -1
  550. package/docs/id/intlayer_with_vite+svelte.md +3 -1
  551. package/docs/id/intlayer_with_vite+vue.md +3 -1
  552. package/docs/id/introduction.md +2 -2
  553. package/docs/id/packages/next-intlayer/intlayerMiddleware.md +29 -6
  554. package/docs/id/readme.md +133 -105
  555. package/docs/it/agent_skills.md +2 -0
  556. package/docs/it/compiler.md +81 -3
  557. package/docs/it/component_i18n.md +2 -2
  558. package/docs/it/configuration.md +68 -1
  559. package/docs/it/dictionary/content_file.md +1 -1
  560. package/docs/it/index.md +2 -2
  561. package/docs/it/intlayer_CMS.md +1 -1
  562. package/docs/it/intlayer_with_adonisjs.md +1 -1
  563. package/docs/it/intlayer_with_analog.md +1 -1
  564. package/docs/it/intlayer_with_angular.md +1 -1
  565. package/docs/it/intlayer_with_astro.md +1 -1
  566. package/docs/it/intlayer_with_create_react_app.md +1 -1
  567. package/docs/it/intlayer_with_express.md +1 -1
  568. package/docs/it/intlayer_with_fastify.md +1 -1
  569. package/docs/it/intlayer_with_hono.md +1 -1
  570. package/docs/it/intlayer_with_lynx+react.md +1 -1
  571. package/docs/it/intlayer_with_nestjs.md +1 -1
  572. package/docs/it/intlayer_with_next-i18next.md +2 -2
  573. package/docs/it/intlayer_with_next-intl.md +1 -1
  574. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  575. package/docs/it/intlayer_with_nextjs_15.md +1 -1
  576. package/docs/it/intlayer_with_nextjs_16.md +3 -1
  577. package/docs/it/intlayer_with_nextjs_compiler.md +498 -0
  578. package/docs/it/intlayer_with_nextjs_no_locale_path.md +2 -2
  579. package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
  580. package/docs/it/intlayer_with_nuxt.md +1 -1
  581. package/docs/it/intlayer_with_react_native+expo.md +4 -2
  582. package/docs/it/intlayer_with_react_router_v7.md +4 -2
  583. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +2 -2
  584. package/docs/it/intlayer_with_svelte_kit.md +1 -1
  585. package/docs/it/intlayer_with_tanstack.md +1 -1
  586. package/docs/it/intlayer_with_vite+preact.md +3 -1
  587. package/docs/it/intlayer_with_vite+react.md +3 -1
  588. package/docs/it/intlayer_with_vite+react_compiler.md +390 -0
  589. package/docs/it/intlayer_with_vite+solid.md +1 -1
  590. package/docs/it/intlayer_with_vite+svelte.md +3 -1
  591. package/docs/it/intlayer_with_vite+vue.md +4 -2
  592. package/docs/it/introduction.md +2 -2
  593. package/docs/it/packages/next-intlayer/intlayerMiddleware.md +29 -6
  594. package/docs/it/readme.md +155 -127
  595. package/docs/ja/agent_skills.md +2 -0
  596. package/docs/ja/cli/init.md +1 -1
  597. package/docs/ja/compiler.md +79 -1
  598. package/docs/ja/component_i18n.md +2 -2
  599. package/docs/ja/configuration.md +68 -1
  600. package/docs/ja/dictionary/content_file.md +1 -1
  601. package/docs/ja/index.md +2 -2
  602. package/docs/ja/intlayer_with_adonisjs.md +1 -1
  603. package/docs/ja/intlayer_with_analog.md +1 -1
  604. package/docs/ja/intlayer_with_angular.md +1 -1
  605. package/docs/ja/intlayer_with_astro.md +1 -1
  606. package/docs/ja/intlayer_with_create_react_app.md +1 -1
  607. package/docs/ja/intlayer_with_express.md +1 -1
  608. package/docs/ja/intlayer_with_fastify.md +1 -1
  609. package/docs/ja/intlayer_with_hono.md +1 -1
  610. package/docs/ja/intlayer_with_lynx+react.md +1 -1
  611. package/docs/ja/intlayer_with_nestjs.md +1 -1
  612. package/docs/ja/intlayer_with_next-i18next.md +2 -2
  613. package/docs/ja/intlayer_with_next-intl.md +1 -1
  614. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  615. package/docs/ja/intlayer_with_nextjs_15.md +1 -1
  616. package/docs/ja/intlayer_with_nextjs_16.md +3 -1
  617. package/docs/ja/intlayer_with_nextjs_compiler.md +498 -0
  618. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +4 -4
  619. package/docs/ja/intlayer_with_nextjs_page_router.md +76 -77
  620. package/docs/ja/intlayer_with_nuxt.md +1 -1
  621. package/docs/ja/intlayer_with_react_native+expo.md +4 -2
  622. package/docs/ja/intlayer_with_react_router_v7.md +4 -2
  623. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +4 -2
  624. package/docs/ja/intlayer_with_svelte_kit.md +1 -1
  625. package/docs/ja/intlayer_with_tanstack.md +1 -1
  626. package/docs/ja/intlayer_with_vite+preact.md +3 -1
  627. package/docs/ja/intlayer_with_vite+react.md +3 -1
  628. package/docs/ja/intlayer_with_vite+react_compiler.md +385 -0
  629. package/docs/ja/intlayer_with_vite+solid.md +1 -1
  630. package/docs/ja/intlayer_with_vite+svelte.md +3 -1
  631. package/docs/ja/intlayer_with_vite+vue.md +3 -1
  632. package/docs/ja/introduction.md +2 -2
  633. package/docs/ja/packages/next-intlayer/intlayerMiddleware.md +29 -6
  634. package/docs/ja/readme.md +152 -126
  635. package/docs/ko/agent_skills.md +2 -0
  636. package/docs/ko/cli/init.md +1 -1
  637. package/docs/ko/compiler.md +79 -1
  638. package/docs/ko/component_i18n.md +2 -2
  639. package/docs/ko/configuration.md +68 -1
  640. package/docs/ko/dictionary/content_file.md +1 -1
  641. package/docs/ko/index.md +2 -2
  642. package/docs/ko/intlayer_with_adonisjs.md +1 -1
  643. package/docs/ko/intlayer_with_analog.md +1 -1
  644. package/docs/ko/intlayer_with_angular.md +1 -1
  645. package/docs/ko/intlayer_with_astro.md +1 -1
  646. package/docs/ko/intlayer_with_create_react_app.md +1 -1
  647. package/docs/ko/intlayer_with_express.md +1 -1
  648. package/docs/ko/intlayer_with_fastify.md +1 -1
  649. package/docs/ko/intlayer_with_hono.md +1 -1
  650. package/docs/ko/intlayer_with_lynx+react.md +1 -1
  651. package/docs/ko/intlayer_with_nestjs.md +1 -1
  652. package/docs/ko/intlayer_with_next-i18next.md +2 -2
  653. package/docs/ko/intlayer_with_next-intl.md +1 -1
  654. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  655. package/docs/ko/intlayer_with_nextjs_15.md +1 -1
  656. package/docs/ko/intlayer_with_nextjs_16.md +1 -1
  657. package/docs/ko/intlayer_with_nextjs_compiler.md +481 -0
  658. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +2 -2
  659. package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
  660. package/docs/ko/intlayer_with_nuxt.md +1 -1
  661. package/docs/ko/intlayer_with_react_native+expo.md +2 -2
  662. package/docs/ko/intlayer_with_react_router_v7.md +2 -2
  663. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +2 -2
  664. package/docs/ko/intlayer_with_svelte_kit.md +1 -1
  665. package/docs/ko/intlayer_with_tanstack.md +1 -1
  666. package/docs/ko/intlayer_with_vite+preact.md +1 -1
  667. package/docs/ko/intlayer_with_vite+react.md +1 -1
  668. package/docs/ko/intlayer_with_vite+react_compiler.md +368 -0
  669. package/docs/ko/intlayer_with_vite+solid.md +1 -1
  670. package/docs/ko/intlayer_with_vite+svelte.md +1 -1
  671. package/docs/ko/intlayer_with_vite+vue.md +1 -1
  672. package/docs/ko/introduction.md +2 -2
  673. package/docs/ko/packages/next-intlayer/intlayerMiddleware.md +29 -6
  674. package/docs/ko/readme.md +154 -126
  675. package/docs/pl/agent_skills.md +2 -0
  676. package/docs/pl/cli/init.md +1 -1
  677. package/docs/pl/compiler.md +79 -1
  678. package/docs/pl/component_i18n.md +2 -2
  679. package/docs/pl/configuration.md +61 -1
  680. package/docs/pl/dictionary/content_file.md +1 -1
  681. package/docs/pl/index.md +2 -2
  682. package/docs/pl/intlayer_CMS.md +1 -1
  683. package/docs/pl/intlayer_with_adonisjs.md +1 -1
  684. package/docs/pl/intlayer_with_analog.md +1 -1
  685. package/docs/pl/intlayer_with_angular.md +1 -1
  686. package/docs/pl/intlayer_with_astro.md +1 -1
  687. package/docs/pl/intlayer_with_create_react_app.md +1 -1
  688. package/docs/pl/intlayer_with_express.md +1 -1
  689. package/docs/pl/intlayer_with_fastify.md +1 -1
  690. package/docs/pl/intlayer_with_hono.md +1 -1
  691. package/docs/pl/intlayer_with_lynx+react.md +1 -1
  692. package/docs/pl/intlayer_with_nestjs.md +1 -1
  693. package/docs/pl/intlayer_with_next-i18next.md +2 -2
  694. package/docs/pl/intlayer_with_next-intl.md +1 -1
  695. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  696. package/docs/pl/intlayer_with_nextjs_15.md +1 -1
  697. package/docs/pl/intlayer_with_nextjs_16.md +3 -1
  698. package/docs/pl/intlayer_with_nextjs_compiler.md +498 -0
  699. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +6 -6
  700. package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
  701. package/docs/pl/intlayer_with_nuxt.md +1 -1
  702. package/docs/pl/intlayer_with_react_native+expo.md +5 -3
  703. package/docs/pl/intlayer_with_react_router_v7.md +4 -2
  704. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +5 -3
  705. package/docs/pl/intlayer_with_svelte_kit.md +1 -1
  706. package/docs/pl/intlayer_with_tanstack.md +1 -1
  707. package/docs/pl/intlayer_with_vite+preact.md +3 -1
  708. package/docs/pl/intlayer_with_vite+react.md +3 -1
  709. package/docs/pl/intlayer_with_vite+react_compiler.md +385 -0
  710. package/docs/pl/intlayer_with_vite+solid.md +1 -1
  711. package/docs/pl/intlayer_with_vite+svelte.md +3 -1
  712. package/docs/pl/intlayer_with_vite+vue.md +4 -2
  713. package/docs/pl/introduction.md +2 -2
  714. package/docs/pl/packages/next-intlayer/intlayerMiddleware.md +29 -6
  715. package/docs/pl/packages/preact-intlayer/exports.md +1 -1
  716. package/docs/pl/readme.md +134 -106
  717. package/docs/pl/releases/v8.md +3 -3
  718. package/docs/pt/agent_skills.md +2 -0
  719. package/docs/pt/cli/init.md +1 -1
  720. package/docs/pt/compiler.md +80 -2
  721. package/docs/pt/component_i18n.md +2 -2
  722. package/docs/pt/configuration.md +68 -1
  723. package/docs/pt/dictionary/content_file.md +1 -1
  724. package/docs/pt/index.md +2 -2
  725. package/docs/pt/intlayer_CMS.md +1 -1
  726. package/docs/pt/intlayer_with_adonisjs.md +1 -1
  727. package/docs/pt/intlayer_with_analog.md +1 -1
  728. package/docs/pt/intlayer_with_angular.md +1 -1
  729. package/docs/pt/intlayer_with_astro.md +1 -1
  730. package/docs/pt/intlayer_with_create_react_app.md +1 -1
  731. package/docs/pt/intlayer_with_express.md +1 -1
  732. package/docs/pt/intlayer_with_fastify.md +1 -1
  733. package/docs/pt/intlayer_with_hono.md +1 -1
  734. package/docs/pt/intlayer_with_lynx+react.md +1 -1
  735. package/docs/pt/intlayer_with_nestjs.md +1 -1
  736. package/docs/pt/intlayer_with_next-i18next.md +2 -2
  737. package/docs/pt/intlayer_with_next-intl.md +1 -1
  738. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  739. package/docs/pt/intlayer_with_nextjs_15.md +1 -1
  740. package/docs/pt/intlayer_with_nextjs_16.md +3 -1
  741. package/docs/pt/intlayer_with_nextjs_compiler.md +498 -0
  742. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +9 -9
  743. package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
  744. package/docs/pt/intlayer_with_nuxt.md +1 -1
  745. package/docs/pt/intlayer_with_react_native+expo.md +4 -2
  746. package/docs/pt/intlayer_with_react_router_v7.md +4 -2
  747. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -5
  748. package/docs/pt/intlayer_with_svelte_kit.md +1 -1
  749. package/docs/pt/intlayer_with_tanstack.md +1 -1
  750. package/docs/pt/intlayer_with_vite+preact.md +3 -1
  751. package/docs/pt/intlayer_with_vite+react.md +3 -1
  752. package/docs/pt/intlayer_with_vite+react_compiler.md +390 -0
  753. package/docs/pt/intlayer_with_vite+solid.md +1 -1
  754. package/docs/pt/intlayer_with_vite+svelte.md +3 -1
  755. package/docs/pt/intlayer_with_vite+vue.md +3 -1
  756. package/docs/pt/introduction.md +2 -2
  757. package/docs/pt/packages/next-intlayer/intlayerMiddleware.md +30 -7
  758. package/docs/pt/readme.md +154 -126
  759. package/docs/ru/agent_skills.md +5 -3
  760. package/docs/ru/autoFill.md +3 -3
  761. package/docs/ru/bundle_optimization.md +1 -1
  762. package/docs/ru/cli/doc-translate.md +1 -1
  763. package/docs/ru/cli/fill.md +1 -1
  764. package/docs/ru/cli/init.md +6 -6
  765. package/docs/ru/cli/sdk.md +1 -1
  766. package/docs/ru/compiler.md +82 -4
  767. package/docs/ru/component_i18n.md +2 -2
  768. package/docs/ru/configuration.md +69 -2
  769. package/docs/ru/dictionary/content_file.md +3 -3
  770. package/docs/ru/dictionary/html.md +1 -1
  771. package/docs/ru/formatters.md +1 -1
  772. package/docs/ru/index.md +2 -2
  773. package/docs/ru/intlayer_CMS.md +6 -6
  774. package/docs/ru/intlayer_with_adonisjs.md +2 -2
  775. package/docs/ru/intlayer_with_analog.md +2 -2
  776. package/docs/ru/intlayer_with_angular.md +2 -2
  777. package/docs/ru/intlayer_with_astro.md +2 -2
  778. package/docs/ru/intlayer_with_create_react_app.md +1 -1
  779. package/docs/ru/intlayer_with_express.md +1 -1
  780. package/docs/ru/intlayer_with_fastify.md +2 -2
  781. package/docs/ru/intlayer_with_hono.md +2 -2
  782. package/docs/ru/intlayer_with_lynx+react.md +1 -1
  783. package/docs/ru/intlayer_with_nestjs.md +2 -2
  784. package/docs/ru/intlayer_with_next-i18next.md +3 -3
  785. package/docs/ru/intlayer_with_next-intl.md +1 -1
  786. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  787. package/docs/ru/intlayer_with_nextjs_15.md +1 -1
  788. package/docs/ru/intlayer_with_nextjs_16.md +5 -3
  789. package/docs/ru/intlayer_with_nextjs_compiler.md +498 -0
  790. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +12 -12
  791. package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
  792. package/docs/ru/intlayer_with_nuxt.md +3 -3
  793. package/docs/ru/intlayer_with_react_native+expo.md +4 -2
  794. package/docs/ru/intlayer_with_react_router_v7.md +5 -3
  795. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +5 -7
  796. package/docs/ru/intlayer_with_svelte_kit.md +3 -3
  797. package/docs/ru/intlayer_with_tanstack.md +3 -3
  798. package/docs/ru/intlayer_with_vite+preact.md +10 -8
  799. package/docs/ru/intlayer_with_vite+react.md +5 -3
  800. package/docs/ru/intlayer_with_vite+react_compiler.md +385 -0
  801. package/docs/ru/intlayer_with_vite+solid.md +1 -1
  802. package/docs/ru/intlayer_with_vite+svelte.md +4 -2
  803. package/docs/ru/intlayer_with_vite+vue.md +3 -1
  804. package/docs/ru/introduction.md +2 -2
  805. package/docs/ru/packages/adonis-intlayer/t.md +1 -1
  806. package/docs/ru/packages/hono-intlayer/t.md +2 -2
  807. package/docs/ru/packages/intlayer/exports.md +1 -1
  808. package/docs/ru/packages/next-intlayer/intlayerMiddleware.md +29 -6
  809. package/docs/ru/packages/next-intlayer/useRewriteURL.md +1 -1
  810. package/docs/ru/packages/nuxt-intlayer/exports.md +3 -3
  811. package/docs/ru/packages/react-intlayer/exports.md +16 -16
  812. package/docs/ru/readme.md +138 -110
  813. package/docs/ru/releases/v7.md +3 -3
  814. package/docs/ru/releases/v8.md +5 -5
  815. package/docs/ru/vs_code_extension.md +1 -1
  816. package/docs/tr/agent_skills.md +2 -0
  817. package/docs/tr/cli/init.md +2 -2
  818. package/docs/tr/compiler.md +81 -3
  819. package/docs/tr/component_i18n.md +2 -2
  820. package/docs/tr/configuration.md +68 -1
  821. package/docs/tr/dictionary/content_file.md +1 -1
  822. package/docs/tr/index.md +2 -2
  823. package/docs/tr/intlayer_CMS.md +1 -1
  824. package/docs/tr/intlayer_with_adonisjs.md +1 -1
  825. package/docs/tr/intlayer_with_analog.md +1 -1
  826. package/docs/tr/intlayer_with_angular.md +1 -1
  827. package/docs/tr/intlayer_with_astro.md +1 -1
  828. package/docs/tr/intlayer_with_create_react_app.md +1 -1
  829. package/docs/tr/intlayer_with_express.md +1 -1
  830. package/docs/tr/intlayer_with_fastify.md +1 -1
  831. package/docs/tr/intlayer_with_hono.md +1 -1
  832. package/docs/tr/intlayer_with_lynx+react.md +1 -1
  833. package/docs/tr/intlayer_with_nestjs.md +1 -1
  834. package/docs/tr/intlayer_with_next-i18next.md +2 -2
  835. package/docs/tr/intlayer_with_next-intl.md +1 -1
  836. package/docs/tr/intlayer_with_nextjs_14.md +1 -1
  837. package/docs/tr/intlayer_with_nextjs_15.md +1 -1
  838. package/docs/tr/intlayer_with_nextjs_16.md +3 -1
  839. package/docs/tr/intlayer_with_nextjs_compiler.md +498 -0
  840. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +4 -4
  841. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  842. package/docs/tr/intlayer_with_nuxt.md +1 -1
  843. package/docs/tr/intlayer_with_react_native+expo.md +4 -2
  844. package/docs/tr/intlayer_with_react_router_v7.md +4 -2
  845. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +4 -2
  846. package/docs/tr/intlayer_with_svelte_kit.md +1 -1
  847. package/docs/tr/intlayer_with_tanstack.md +1 -1
  848. package/docs/tr/intlayer_with_vite+preact.md +3 -1
  849. package/docs/tr/intlayer_with_vite+react.md +3 -1
  850. package/docs/tr/intlayer_with_vite+react_compiler.md +391 -0
  851. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  852. package/docs/tr/intlayer_with_vite+svelte.md +3 -1
  853. package/docs/tr/intlayer_with_vite+vue.md +3 -1
  854. package/docs/tr/introduction.md +2 -2
  855. package/docs/tr/packages/next-intlayer/intlayerMiddleware.md +29 -6
  856. package/docs/tr/readme.md +139 -111
  857. package/docs/uk/agent_skills.md +5 -3
  858. package/docs/uk/autoFill.md +4 -4
  859. package/docs/uk/bundle_optimization.md +2 -2
  860. package/docs/uk/cli/fill.md +1 -1
  861. package/docs/uk/cli/index.md +1 -1
  862. package/docs/uk/cli/list_projects.md +1 -1
  863. package/docs/uk/cli/login.md +2 -2
  864. package/docs/uk/cli/sdk.md +1 -1
  865. package/docs/uk/compiler.md +82 -4
  866. package/docs/uk/component_i18n.md +3 -3
  867. package/docs/uk/configuration.md +65 -5
  868. package/docs/uk/dictionary/content_file.md +5 -5
  869. package/docs/uk/dictionary/enumeration.md +1 -1
  870. package/docs/uk/dictionary/html.md +1 -1
  871. package/docs/uk/formatters.md +9 -9
  872. package/docs/uk/how_works_intlayer.md +6 -6
  873. package/docs/uk/index.md +4 -4
  874. package/docs/uk/interest_of_intlayer.md +24 -24
  875. package/docs/uk/intlayer_CMS.md +7 -7
  876. package/docs/uk/intlayer_visual_editor.md +8 -8
  877. package/docs/uk/intlayer_with_adonisjs.md +2 -2
  878. package/docs/uk/intlayer_with_analog.md +2 -2
  879. package/docs/uk/intlayer_with_angular.md +2 -2
  880. package/docs/uk/intlayer_with_astro.md +3 -3
  881. package/docs/uk/intlayer_with_create_react_app.md +13 -13
  882. package/docs/uk/intlayer_with_express.md +2 -2
  883. package/docs/uk/intlayer_with_fastify.md +3 -3
  884. package/docs/uk/intlayer_with_hono.md +2 -2
  885. package/docs/uk/intlayer_with_lynx+react.md +3 -3
  886. package/docs/uk/intlayer_with_nestjs.md +4 -4
  887. package/docs/uk/intlayer_with_next-i18next.md +5 -5
  888. package/docs/uk/intlayer_with_next-intl.md +1 -1
  889. package/docs/uk/intlayer_with_nextjs_14.md +10 -10
  890. package/docs/uk/intlayer_with_nextjs_15.md +21 -21
  891. package/docs/uk/intlayer_with_nextjs_16.md +5 -3
  892. package/docs/uk/intlayer_with_nextjs_compiler.md +498 -0
  893. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +13 -13
  894. package/docs/uk/intlayer_with_nextjs_page_router.md +9 -9
  895. package/docs/uk/intlayer_with_nuxt.md +6 -6
  896. package/docs/uk/intlayer_with_react_native+expo.md +11 -9
  897. package/docs/uk/intlayer_with_react_router_v7.md +10 -8
  898. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +10 -8
  899. package/docs/uk/intlayer_with_svelte_kit.md +2 -2
  900. package/docs/uk/intlayer_with_tanstack.md +9 -9
  901. package/docs/uk/intlayer_with_vite+preact.md +13 -11
  902. package/docs/uk/intlayer_with_vite+react.md +14 -12
  903. package/docs/uk/intlayer_with_vite+react_compiler.md +385 -0
  904. package/docs/uk/intlayer_with_vite+solid.md +2 -2
  905. package/docs/uk/intlayer_with_vite+svelte.md +4 -2
  906. package/docs/uk/intlayer_with_vite+vue.md +9 -7
  907. package/docs/uk/introduction.md +3 -3
  908. package/docs/uk/locale_mapper.md +1 -1
  909. package/docs/uk/packages/adonis-intlayer/t.md +1 -1
  910. package/docs/uk/packages/angular-intlayer/exports.md +1 -1
  911. package/docs/uk/packages/express-intlayer/t.md +3 -3
  912. package/docs/uk/packages/hono-intlayer/t.md +2 -2
  913. package/docs/uk/packages/intlayer/exports.md +1 -1
  914. package/docs/uk/packages/intlayer/getEnumeration.md +1 -1
  915. package/docs/uk/packages/intlayer/getMultilingualUrls.md +2 -2
  916. package/docs/uk/packages/intlayer/getTranslation.md +2 -2
  917. package/docs/uk/packages/intlayer/getTranslationContent.md +3 -3
  918. package/docs/uk/packages/next-intlayer/intlayerMiddleware.md +29 -6
  919. package/docs/uk/packages/next-intlayer/t.md +2 -2
  920. package/docs/uk/packages/next-intlayer/useLocale.md +3 -3
  921. package/docs/uk/packages/next-intlayer/useRewriteURL.md +1 -1
  922. package/docs/uk/packages/nuxt-intlayer/exports.md +3 -3
  923. package/docs/uk/packages/react-intlayer/t.md +3 -3
  924. package/docs/uk/packages/react-intlayer/useDictionary.md +1 -1
  925. package/docs/uk/packages/react-intlayer/useLocale.md +2 -2
  926. package/docs/uk/packages/react-native-intlayer/exports.md +1 -1
  927. package/docs/uk/per_locale_file.md +2 -2
  928. package/docs/uk/plugins/sync-json.md +10 -10
  929. package/docs/uk/readme.md +135 -111
  930. package/docs/uk/releases/v6.md +2 -2
  931. package/docs/uk/releases/v7.md +2 -2
  932. package/docs/uk/releases/v8.md +1 -1
  933. package/docs/uk/roadmap.md +4 -4
  934. package/docs/uk/testing.md +1 -1
  935. package/docs/uk/vs_code_extension.md +2 -2
  936. package/docs/vi/agent_skills.md +2 -0
  937. package/docs/vi/compiler.md +80 -2
  938. package/docs/vi/component_i18n.md +2 -2
  939. package/docs/vi/configuration.md +61 -1
  940. package/docs/vi/dictionary/content_file.md +1 -1
  941. package/docs/vi/index.md +2 -2
  942. package/docs/vi/intlayer_CMS.md +1 -1
  943. package/docs/vi/intlayer_with_adonisjs.md +1 -1
  944. package/docs/vi/intlayer_with_analog.md +1 -1
  945. package/docs/vi/intlayer_with_angular.md +1 -1
  946. package/docs/vi/intlayer_with_astro.md +1 -1
  947. package/docs/vi/intlayer_with_create_react_app.md +1 -1
  948. package/docs/vi/intlayer_with_express.md +1 -1
  949. package/docs/vi/intlayer_with_fastify.md +1 -1
  950. package/docs/vi/intlayer_with_hono.md +1 -1
  951. package/docs/vi/intlayer_with_lynx+react.md +1 -1
  952. package/docs/vi/intlayer_with_nestjs.md +1 -1
  953. package/docs/vi/intlayer_with_next-i18next.md +2 -2
  954. package/docs/vi/intlayer_with_next-intl.md +1 -1
  955. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  956. package/docs/vi/intlayer_with_nextjs_15.md +1 -1
  957. package/docs/vi/intlayer_with_nextjs_16.md +3 -1
  958. package/docs/vi/intlayer_with_nextjs_compiler.md +498 -0
  959. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +2 -2
  960. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  961. package/docs/vi/intlayer_with_nuxt.md +1 -1
  962. package/docs/vi/intlayer_with_react_native+expo.md +5 -3
  963. package/docs/vi/intlayer_with_react_router_v7.md +4 -2
  964. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +4 -2
  965. package/docs/vi/intlayer_with_svelte_kit.md +1 -1
  966. package/docs/vi/intlayer_with_tanstack.md +1 -1
  967. package/docs/vi/intlayer_with_vite+preact.md +3 -1
  968. package/docs/vi/intlayer_with_vite+react.md +3 -1
  969. package/docs/vi/intlayer_with_vite+react_compiler.md +385 -0
  970. package/docs/vi/intlayer_with_vite+solid.md +1 -1
  971. package/docs/vi/intlayer_with_vite+svelte.md +3 -1
  972. package/docs/vi/intlayer_with_vite+vue.md +3 -1
  973. package/docs/vi/introduction.md +2 -2
  974. package/docs/vi/packages/intlayer/getCanonicalPath.md +1 -1
  975. package/docs/vi/packages/next-intlayer/intlayerMiddleware.md +29 -6
  976. package/docs/vi/readme.md +138 -110
  977. package/docs/vi/releases/v8.md +2 -2
  978. package/docs/zh/agent_skills.md +2 -0
  979. package/docs/zh/compiler.md +79 -1
  980. package/docs/zh/component_i18n.md +2 -2
  981. package/docs/zh/configuration.md +68 -1
  982. package/docs/zh/dictionary/content_file.md +1 -1
  983. package/docs/zh/index.md +3 -3
  984. package/docs/zh/intlayer_CMS.md +1 -1
  985. package/docs/zh/intlayer_with_adonisjs.md +1 -1
  986. package/docs/zh/intlayer_with_analog.md +1 -1
  987. package/docs/zh/intlayer_with_angular.md +1 -1
  988. package/docs/zh/intlayer_with_astro.md +1 -1
  989. package/docs/zh/intlayer_with_create_react_app.md +1 -1
  990. package/docs/zh/intlayer_with_express.md +1 -1
  991. package/docs/zh/intlayer_with_fastify.md +1 -1
  992. package/docs/zh/intlayer_with_hono.md +1 -1
  993. package/docs/zh/intlayer_with_lynx+react.md +1 -1
  994. package/docs/zh/intlayer_with_nestjs.md +1 -1
  995. package/docs/zh/intlayer_with_next-i18next.md +2 -2
  996. package/docs/zh/intlayer_with_next-intl.md +1 -1
  997. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  998. package/docs/zh/intlayer_with_nextjs_15.md +1 -1
  999. package/docs/zh/intlayer_with_nextjs_16.md +3 -1
  1000. package/docs/zh/intlayer_with_nextjs_compiler.md +498 -0
  1001. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +3 -3
  1002. package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
  1003. package/docs/zh/intlayer_with_nuxt.md +1 -1
  1004. package/docs/zh/intlayer_with_react_native+expo.md +4 -2
  1005. package/docs/zh/intlayer_with_react_router_v7.md +4 -2
  1006. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +4 -2
  1007. package/docs/zh/intlayer_with_svelte_kit.md +1 -1
  1008. package/docs/zh/intlayer_with_tanstack.md +1 -1
  1009. package/docs/zh/intlayer_with_vite+preact.md +3 -1
  1010. package/docs/zh/intlayer_with_vite+react.md +3 -1
  1011. package/docs/zh/intlayer_with_vite+react_compiler.md +388 -0
  1012. package/docs/zh/intlayer_with_vite+solid.md +1 -1
  1013. package/docs/zh/intlayer_with_vite+svelte.md +3 -1
  1014. package/docs/zh/intlayer_with_vite+vue.md +3 -1
  1015. package/docs/zh/introduction.md +2 -2
  1016. package/docs/zh/packages/next-intlayer/intlayerMiddleware.md +30 -7
  1017. package/docs/zh/readme.md +148 -120
  1018. package/frequent_questions/ar/error-vite-env-only.md +2 -2
  1019. package/frequent_questions/de/error-vite-env-only.md +2 -2
  1020. package/frequent_questions/en/error-vite-env-only.md +2 -2
  1021. package/frequent_questions/en-GB/error-vite-env-only.md +2 -2
  1022. package/frequent_questions/es/error-vite-env-only.md +2 -2
  1023. package/frequent_questions/fr/error-vite-env-only.md +2 -2
  1024. package/frequent_questions/hi/error-vite-env-only.md +2 -2
  1025. package/frequent_questions/id/domain_routing.md +1 -1
  1026. package/frequent_questions/id/error-vite-env-only.md +2 -2
  1027. package/frequent_questions/it/error-vite-env-only.md +2 -2
  1028. package/frequent_questions/ja/error-vite-env-only.md +2 -2
  1029. package/frequent_questions/ko/error-vite-env-only.md +2 -2
  1030. package/frequent_questions/pl/domain_routing.md +1 -1
  1031. package/frequent_questions/pl/error-vite-env-only.md +2 -2
  1032. package/frequent_questions/pt/error-vite-env-only.md +2 -2
  1033. package/frequent_questions/ru/error-vite-env-only.md +2 -2
  1034. package/frequent_questions/tr/error-vite-env-only.md +2 -2
  1035. package/frequent_questions/uk/SSR_Next_no_[locale].md +1 -1
  1036. package/frequent_questions/uk/array_as_content_declaration.md +1 -1
  1037. package/frequent_questions/uk/customized_locale_list.md +1 -1
  1038. package/frequent_questions/uk/domain_routing.md +1 -1
  1039. package/frequent_questions/uk/error-vite-env-only.md +3 -3
  1040. package/frequent_questions/uk/get_locale_cookie.md +4 -4
  1041. package/frequent_questions/uk/static_rendering.md +1 -1
  1042. package/frequent_questions/vi/domain_routing.md +1 -1
  1043. package/frequent_questions/vi/error-vite-env-only.md +2 -2
  1044. package/frequent_questions/zh/error-vite-env-only.md +3 -3
  1045. package/legal/de/terms_of_service.md +1 -1
  1046. package/legal/fr/terms_of_service.md +2 -2
  1047. package/legal/ja/terms_of_service.md +1 -1
  1048. package/legal/pl/terms_of_service.md +2 -2
  1049. package/legal/ru/terms_of_service.md +1 -1
  1050. package/legal/uk/privacy_notice.md +1 -1
  1051. package/legal/uk/terms_of_service.md +1 -1
  1052. package/package.json +7 -8
  1053. package/src/generated/blog.entry.ts +20 -0
  1054. package/src/generated/docs.entry.ts +40 -0
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  createdAt: 2024-03-07
3
3
  updatedAt: 2025-12-30
4
- title: Vite React i18n - 如何翻译您的 React 应用 – 指南 2026
4
+ title: Vite + React i18n - 如何翻译React 应用 2026
5
5
  description: 学习如何使用 Intlayer 为您的 Vite 和 React 应用添加国际化 (i18n)。按照本指南使您的应用支持多语言。
6
6
  keywords:
7
7
  - 国际化
@@ -605,6 +605,8 @@ module.exports = App;
605
605
 
606
606
  > 要了解有关 `useIntlayer` 钩子的更多信息,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)。
607
607
 
608
+ > 如果您的应用程序已经存在,您可以结合使用 [Intlayer 编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) 和 [提取命令](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 在一秒钟内转换成干个组件。
609
+
608
610
  ### (可选)步骤 6:更改内容的语言
609
611
 
610
612
  要更改内容的语言,可以使用 `useLocale` 钩子提供的 `setLocale` 函数。该函数允许您设置应用程序的语言环境并相应地更新内容。
@@ -0,0 +1,388 @@
1
+ ---
2
+ createdAt: 2024-03-07
3
+ updatedAt: 2025-12-30
4
+ title: Vite + React i18n - 将现有应用转换为多语言应用2026
5
+ description: 了解如何使用 Intlayer 编译器使现有的 Vite 和 React 应用程序支持多语言。按照文档进行国际化 (i18n) 并使用 AI 进行翻译。
6
+ keywords:
7
+ - 国际化
8
+ - 文档
9
+ - Intlayer
10
+ - Vite
11
+ - React
12
+ - 编译器
13
+ - AI
14
+ slugs:
15
+ - doc
16
+ - environment
17
+ - vite-and-react
18
+ - compiler
19
+ applicationTemplate: https://github.com/aymericzip/intlayer-vite-react-template
20
+ youtubeVideo: https://www.youtube.com/watch?v=dS9L7uJeak4
21
+ history:
22
+ - version: 8.1.6
23
+ date: 2026-02-23
24
+ changes: 首次发布
25
+ ---
26
+
27
+ # 如何将现有的 Vite 和 React 应用程序转换为多语言 (i18n) 应用(2026年 i18n 指南)
28
+
29
+ <Tabs defaultTab="video">
30
+ <Tab label="视频" value="video">
31
+
32
+ <iframe title="Vite 和 React 的最佳 i18n 解决方案?探索 Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/dS9L7uJeak4?si=VaKmrYMmXjo3xpk2"/>
33
+
34
+ </Tab>
35
+ <Tab label="代码" value="code">
36
+
37
+ <iframe
38
+ src="https://stackblitz.com/github/aymericzip/intlayer-vite-react-template?embed=1&ctl=1&file=intlayer.config.ts"
39
+ className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
40
+ title="演示 CodeSandbox - 如何使用 Intlayer 国际化您的应用程序"
41
+ sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
42
+ loading="lazy"
43
+ />
44
+
45
+ </Tab>
46
+ </Tabs>
47
+
48
+ 查看 GitHub 上的 [应用程序模板](https://github.com/aymericzip/intlayer-vite-react-template)。
49
+
50
+ ## 目录
51
+
52
+ <TOC/>
53
+
54
+ ## 为什么国际化现有应用程序很困难?
55
+
56
+ 如果您曾经尝试为仅针对一种语言构建的应用添加多种语言,您就会明白那种痛苦。这不仅仅是“困难”,而是繁琐。您必须梳理每一个文件,搜寻每一个文本字符串,并将它们移动到单独的字典文件中。
57
+
58
+ 然后是风险部分:用代码钩子替换所有这些文本,而不破坏您的布局或逻辑。这种工作会使新功能的开发停滞数周,感觉像是无休止的重构。
59
+
60
+ ## 什么是 Intlayer 编译器?
61
+
62
+ **Intlayer 编译器** 旨在跳过那些手动的琐事。编译器为您完成字符串提取,而不是由您手动提取。它扫描您的代码,找到文本,并使用 AI 在幕后生成字典。
63
+ 然后,它在构建期间修改您的代码以注入必要的 i18n 钩子。基本上,您继续像编写单语言应用一样编写应用,编译器会自动处理多语言转换。
64
+
65
+ > 编译器文档:[https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md)
66
+
67
+ ### 局限性
68
+
69
+ 由于编译器在 **编译时** 执行代码分析 and 转换(插入钩子并生成字典),它可能会 **减慢应用程序的构建过程**。
70
+
71
+ 为了减轻开发期间的影响,您可以将编译器配置为以 [`'build-only'`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md) 模式运行,或在不需要时将其禁用。
72
+
73
+ ---
74
+
75
+ ## 在 Vite 和 React 应用程序中设置 Intlayer 的分步指南
76
+
77
+ ### 第 1 步:安装依赖项
78
+
79
+ 使用 npm 安装必要的包:
80
+
81
+ ```bash packageManager="npm"
82
+ npm install intlayer react-intlayer
83
+ npm install vite-intlayer --save-dev
84
+ npx intlayer init
85
+ ```
86
+
87
+ ```bash packageManager="pnpm"
88
+ pnpm add intlayer react-intlayer
89
+ pnpm add vite-intlayer --save-dev
90
+ pnpm intlayer init
91
+ ```
92
+
93
+ ```bash packageManager="yarn"
94
+ yarn add intlayer react-intlayer
95
+ yarn add vite-intlayer --save-dev
96
+ yarn intlayer init
97
+ ```
98
+
99
+ ```bash packageManager="bun"
100
+ bun add intlayer react-intlayer
101
+ bun add vite-intlayer --dev
102
+ bunx intlayer init
103
+ ```
104
+
105
+ - **intlayer**
106
+ 核心包,提供用于配置管理、翻译、[内容声明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)、转译和 [CLI 命令](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)的国际化工具。
107
+
108
+ - **react-intlayer**
109
+ 将 Intlayer 与 React 应用程序集成的包。它为 React 国际化提供上下文提供者和钩子。
110
+
111
+ - **vite-intlayer**
112
+ 包括用于将 Intlayer 与 [Vite 构建器](https://vite.dev/guide/why.html#why-bundle-for-production)集成的 Vite 插件,以及用于检测用户首选语言、管理 cookie 和处理 URL 重定向的中间件。
113
+
114
+ ### 第 2 步:配置您的项目
115
+
116
+ 创建一个配置文件来配置应用程序的语言:
117
+
118
+ ```typescript fileName="intlayer.config.ts"
119
+ import { Locales, type IntlayerConfig } from "intlayer";
120
+
121
+ const config: IntlayerConfig = {
122
+ internationalization: {
123
+ locales: [
124
+ Locales.ENGLISH,
125
+ Locales.FRENCH,
126
+ Locales.SPANISH,
127
+ Locales.CHINESE,
128
+ ],
129
+ defaultLocale: Locales.ENGLISH,
130
+ },
131
+ compiler: {
132
+ /**
133
+ * 指示是否启用编译器。
134
+ */
135
+ enabled: true,
136
+
137
+ /**
138
+ * 优化后字典的输出目录。
139
+ */
140
+ outputDir: "compiler",
141
+
142
+ /**
143
+ * 字典键前缀
144
+ */
145
+ dictionaryKeyPrefix: "", // 移除基础前缀
146
+
147
+ /**
148
+ * 指示转换后是否应保存组件。
149
+ * 这样,编译器只需运行一次即可转换应用程序,然后即可将其移除。
150
+ */
151
+ saveComponents: false,
152
+ },
153
+ ai: {
154
+ provider: "openai",
155
+ model: "gpt-5-mini",
156
+ apiKey: process.env.OPEN_AI_API_KEY,
157
+ applicationContext: "这个应用是一个地图应用", // 注意:您可以自定义此应用描述
158
+ },
159
+ };
160
+
161
+ export default config;
162
+ ```
163
+
164
+ > **注意**:请确保在环境变量中设置了 `OPEN_AI_API_KEY`。
165
+
166
+ > 通过此配置文件,您可以设置本地化 URL、中间件重定向、cookie 名称、内容声明的位置和扩展名、禁用控制台中的 Intlayer 日志等。有关可用参数的完整列表,请参阅 [配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
167
+
168
+ ### 第 3 步:在 Vite 配置中集成 Intlayer
169
+
170
+ 将 intlayer 插件添加到您的配置中。
171
+
172
+ ```typescript fileName="vite.config.ts"
173
+ import { defineConfig } from "vite";
174
+ import react from "@vitejs/plugin-react-swc";
175
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
176
+
177
+ // https://vitejs.dev/config/
178
+ export default defineConfig({
179
+ plugins: [react(), intlayer(), intlayerCompiler()],
180
+ });
181
+ ```
182
+
183
+ > `intlayer()` Vite 插件用于将 Intlayer 与 Vite 集成。它确保内容声明文件的构建并在开发模式下监控它们。它在 Vite 应用程序中定义 Intlayer 环境变量。此外,它提供别名以优化性能。
184
+
185
+ > `intlayerCompiler()` Vite 插件用于从组件中提取内容并编写 `.content` 文件。
186
+
187
+ ### 第 4 步:编译您的代码
188
+
189
+ 只需使用您的默认语言在组件中编写硬编码字符串。编译器会处理剩下的工作。
190
+
191
+ 您的页面可能如下所示:
192
+
193
+ <Tabs>
194
+ <Tab value="代码">
195
+
196
+ ```tsx fileName="src/App.tsx"
197
+ import { useState, type FC } from "react";
198
+ import reactLogo from "./assets/react.svg";
199
+ import viteLogo from "/vite.svg";
200
+ import "./App.css";
201
+ import { IntlayerProvider } from "react-intlayer";
202
+
203
+ const AppContent: FC = () => {
204
+ const [count, setCount] = useState(0);
205
+
206
+ return (
207
+ <>
208
+ <div>
209
+ <a href="https://vitejs.dev" target="_blank">
210
+ <img src={viteLogo} className="logo" alt="Vite logo" />
211
+ </a>
212
+ <a href="https://react.dev" target="_blank">
213
+ <img src={reactLogo} className="logo react" alt="React logo" />
214
+ </a>
215
+ </div>
216
+ <h1>Vite + React</h1>
217
+ <div className="card">
218
+ <button onClick={() => setCount((count) => count + 1)}>
219
+ count is {count}
220
+ </button>
221
+ <p>
222
+ Edit <code>src/App.tsx</code> and save to test HMR
223
+ </p>
224
+ </div>
225
+ <p className="read-the-docs">
226
+ Click on the Vite and React logos to learn more
227
+ </p>
228
+ </>
229
+ );
230
+ };
231
+
232
+ const App: FC = () => (
233
+ <IntlayerProvider>
234
+ <AppContent />
235
+ </IntlayerProvider>
236
+ );
237
+
238
+ export default App;
239
+ ```
240
+
241
+ </Tab>
242
+ <Tab value="输出">
243
+
244
+ ```ts fileName="i18n/app-content.content.json"
245
+ {
246
+ key: "app-content",
247
+ content: {
248
+ nodeType: "translation",
249
+ translation: {
250
+ en: {
251
+ viteLogo: "Vite logo",
252
+ reactLogo: "React logo",
253
+ title: "Vite + React",
254
+ countButton: "count is",
255
+ editMessage: "Edit",
256
+ hmrMessage: "and save to test HMR",
257
+ readTheDocs: "Click on the Vite and React logos to learn more",
258
+ },
259
+ zh: {
260
+ viteLogo: "Vite 图标",
261
+ reactLogo: "React 图标",
262
+ title: "Vite + React",
263
+ countButton: "当前计数为",
264
+ editMessage: "编辑",
265
+ hmrMessage: "并保存以测试 HMR",
266
+ readTheDocs: "点击 Vite 和 React 图标了解更多信息",
267
+ },
268
+ }
269
+ }
270
+ }
271
+ ```
272
+
273
+ ```tsx fileName="src/App.tsx"
274
+ import { useState, type FC } from "react";
275
+ import reactLogo from "./assets/react.svg";
276
+ import viteLogo from "/vite.svg";
277
+ import "./App.css";
278
+ import { IntlayerProvider, useIntlayer } from "react-intlayer";
279
+
280
+ const AppContent: FC = () => {
281
+ const [count, setCount] = useState(0);
282
+ const content = useIntlayer("app-content");
283
+
284
+ return (
285
+ <>
286
+ <div>
287
+ <a href="https://vitejs.dev" target="_blank">
288
+ <img src={viteLogo} className="logo" alt={content.viteLogo.value} />
289
+ </a>
290
+ <a href="https://react.dev" target="_blank">
291
+ <img
292
+ src={reactLogo}
293
+ className="logo react"
294
+ alt={content.reactLogo.value}
295
+ />
296
+ </a>
297
+ </div>
298
+ <h1>{content.title}</h1>
299
+ <div className="card">
300
+ <button onClick={() => setCount((count) => count + 1)}>
301
+ {content.countButton} {count}
302
+ </button>
303
+ <p>
304
+ {content.editMessage} <code>src/App.tsx</code> {content.hmrMessage}
305
+ </p>
306
+ </div>
307
+ <p className="read-the-docs">{content.readTheDocs}</p>
308
+ </>
309
+ );
310
+ };
311
+
312
+ const App: FC = () => (
313
+ <IntlayerProvider>
314
+ <AppContent />
315
+ </IntlayerProvider>
316
+ );
317
+
318
+ export default App;
319
+ ```
320
+
321
+ </Tab>
322
+ </Tabs>
323
+
324
+ - **`IntlayerProvider`** 用于向嵌套组件提供语言环境。
325
+
326
+ ### (可选)第 6 步:更改内容的语言
327
+
328
+ 要更改内容的语言,您可以使用 `useLocale` 钩子提供的 `setLocale` 函数。此函数允许您设置应用程序的语言环境并相应地更新内容。
329
+
330
+ ```tsx fileName="src/components/LocaleSwitcher.tsx"
331
+ import type { FC } from "react";
332
+ import { Locales } from "intlayer";
333
+ import { useLocale } from "react-intlayer";
334
+
335
+ const LocaleSwitcher: FC = () => {
336
+ const { setLocale } = useLocale();
337
+
338
+ return (
339
+ <button onClick={() => setLocale(Locales.CHINESE)}>将语言更改为中文</button>
340
+ );
341
+ };
342
+ ```
343
+
344
+ > 要了解有关 `useLocale` 钩子的更多信息,请参阅 [文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
345
+
346
+ ### (可选) 第 7 步:填充缺失的翻译
347
+
348
+ Intlayer 提供了一个 CLI 工具来帮助您填充缺失的翻译。您可以使用 `intlayer` 命令来测试并填充代码中缺失的翻译。
349
+
350
+ ```bash
351
+ npx intlayer test # 测试是否存在缺失的翻译
352
+ ```
353
+
354
+ ```bash
355
+ npx intlayer fill # 填充缺失的翻译
356
+ ```
357
+
358
+ > 有关更多详细信息,请参阅 [CLI 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/ci.md)
359
+
360
+ ### Git 配置
361
+
362
+ 建议忽略 Intlayer 生成的文件。这可以避免将它们提交到您的 Git 仓库。
363
+
364
+ 为此,您可以将以下指令添加到 `.gitignore` 文件中:
365
+
366
+ ```plaintext fileName=".gitignore"
367
+ # 忽略 Intlayer 生成的文件
368
+ .intlayer
369
+ ```
370
+
371
+ ### VS Code 扩展
372
+
373
+ 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
374
+
375
+ [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
376
+
377
+ 此扩展提供:
378
+
379
+ - 翻译键的 **自动补全**。
380
+ - 缺失翻译的 **实时错误检测**。
381
+ - 翻译内容的 **内联预览**。
382
+ - 轻松创建和更新翻译的 **快速操作**。
383
+
384
+ 有关如何使用该扩展的更多详细信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
385
+
386
+ ### 深入了解
387
+
388
+ 要进一步深入,您可以实现 [可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md) 或使用 [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md) 外置您的内容。
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
3
  updatedAt: 2025-12-30
4
- title: Vite Solid i18n - 如何翻译您的 Solid 应用 – 指南 2026
4
+ title: Vite + Solid i18n - 如何翻译Solid 应用 2026
5
5
  description: 了解如何使您的 Vite 和 Solid 网站支持多语言。按照文档进行国际化(i18n)和翻译。
6
6
  keywords:
7
7
  - 国际化
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
3
  updatedAt: 2025-12-30
4
- title: Vite Svelte i18n - 如何翻译您的 Svelte 应用 – 指南 2026
4
+ title: Vite + Svelte i18n - 如何翻译Svelte 应用 2026
5
5
  description: 了解如何使您的 Vite 和 Svelte 网站支持多语言。按照文档进行国际化 (i18n) 和翻译。
6
6
  keywords:
7
7
  - 国际化
@@ -237,6 +237,8 @@ module.exports = appContent;
237
237
  <div aria-label={$content.title.value}></div>
238
238
  ```
239
239
 
240
+ > 如果您的应用程序已经存在,您可以结合使用 [Intlayer 编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) 和 [提取命令](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 在一秒钟内转换成干个组件。
241
+
240
242
  ### (可选)步骤6:更改内容语言
241
243
 
242
244
  ```svelte fileName="src/App.svelte"
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
3
  updatedAt: 2025-12-30
4
- title: Vite Vue i18n - 如何翻译您的 Vue 应用 – 指南 2026
4
+ title: Vite + Vue i18n - 如何翻译Vue 应用 2026
5
5
  description: 了解如何使您的 Vite 和 Vue 网站支持多语言。按照文档进行国际化(i18n)和翻译。
6
6
  keywords:
7
7
  - 国际化
@@ -518,6 +518,8 @@ Intlayer 提供了多种 API 来访问您的内容:
518
518
  - 使用 `const content = useIntlayer("myContent");` 并通过 `{{ content.myContent }}` / `<content.myContent />` 访问内容。
519
519
  - 或者使用 `const { myContent } = useIntlayer("myContent");` 并通过 `{{ myContent }}` / `<myContent/>` 解构访问内容。
520
520
 
521
+ > 如果您的应用程序已经存在,您可以结合使用 [Intlayer 编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) 和 [提取命令](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 在一秒钟内转换成干个组件。
522
+
521
523
  ### (可选)步骤 6:更改内容语言
522
524
 
523
525
  要更改内容的语言,可以使用 `useLocale` 组合函数提供的 `setLocale` 函数。该函数允许你设置应用的语言环境,并相应地更新内容。
@@ -166,7 +166,7 @@ Intlayer 提供了多种功能,专为满足现代网页开发的需求而设
166
166
  - **[枚举](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/enumeration.md)**
167
167
  轻松管理跨多语言的重复或固定数据集。
168
168
 
169
- - **[条件](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/conditional.md)**
169
+ - **[条件](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/condition.md)**
170
170
  学习如何在 Intlayer 中使用条件逻辑来创建动态内容。
171
171
 
172
172
  - **[插入](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/insertion.md)**
@@ -178,7 +178,7 @@ Intlayer 提供了多种功能,专为满足现代网页开发的需求而设
178
178
  - **[Markdown](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/markdown.md)**
179
179
  学习如何在 Intlayer 中使用 Markdown 创建丰富的内容。
180
180
 
181
- - **[文件嵌入](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/file_embeddings.md)**
181
+ - **[文件嵌入](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/file.md)**
182
182
  发现如何在 Intlayer 中嵌入外部文件,以便在内容编辑器中使用它们。
183
183
 
184
184
  - **[嵌套](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/nesting.md)**
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
3
+ updatedAt: 2026-02-25
4
4
  title: intlayerMiddleware 文档 | next-intlayer
5
5
  description: 查看如何在 next-intlayer 包中使用 intlayerMiddleware 函数
6
6
  keywords:
@@ -17,34 +17,57 @@ slugs:
17
17
  - next-intlayer
18
18
  - intlayerMiddleware
19
19
  history:
20
+ - version: 8.1.7
21
+ date: 2026-02-25
22
+ changes: 将 intlayerMiddleware 重命名为 intlayerProxy
20
23
  - version: 8.0.0
21
24
  date: 2026-01-21
22
25
  changes: 初始化文档
23
26
  ---
24
27
 
25
- # intlayerMiddleware 文档
28
+ # intlayerProxy (intlayerMiddleware) 文档
26
29
 
27
- `intlayerMiddleware` 函数是一个 Next.js 中间件,负责基于 locale(语言环境)的路由和重定向。它会自动检测用户偏好的 locale,并在必要时将用户重定向到相应的本地化路径。
30
+ `intlayerProxy`(对于 `nextjs < 16` 为 `intlayerMiddleware`)函数是一个 Next.js 中间件,负责基于 locale(语言环境)的路由和重定向。它会自动检测用户偏好的 locale,并在必要时将用户重定向到相应的本地化路径。
28
31
 
29
32
  ## 用法
30
33
 
31
- ```ts
32
- // middleware.ts(中间件)
33
- export { intlayerMiddleware as middleware } from "next-intlayer";
34
+ <Tabs>
35
+ <Tab value="nextjs >=16">
36
+
37
+ ```ts fileName="proxy.ts"
38
+ export { intlayerProxy as proxy } from "next-intlayer/proxy";
34
39
 
35
40
  export const config = {
36
41
  matcher: ["/((?!api|_next/static|_next/image|favicon.ico).*)"],
37
42
  };
38
43
  ```
39
44
 
45
+ </Tab>
46
+ <Tab value="nextjs <=15">
47
+
48
+ ```ts fileName="middleware.ts"
49
+ export { intlayerMiddleware as middleware } from "next-intlayer/middleware";
50
+
51
+ export const config = {
52
+ matcher: ["/((?!api|_next/static|_next/image|favicon.ico).*)"],
53
+ };
54
+ ```
55
+
56
+ </Tab>
57
+ </Tabs>
58
+
40
59
  ## 描述
41
60
 
42
61
  该中间件执行以下任务:
43
62
 
44
63
  1. **Locale 检测**:它检查 URL 路径、cookie 和 `Accept-Language` 请求头以确定用户的 locale(语言/区域设置)。
45
64
  2. **重定向**:如果 URL 不包含 locale 前缀且配置要求(或基于用户的偏好),则会重定向到本地化的 URL。
46
- 3. **Cookie 管理**:可以将检测到的 locale 存储在 cookie 中以用于后续请求。
65
+ 3. **Cookie 管理**:可以将检测到的 locale 存储 in a cookie 中以用于后续请求。
47
66
 
48
67
  ## 参数
49
68
 
50
69
  该函数在直接使用时接收标准的 Next.js `NextRequest` 作为参数,或者可以像上文所示那样导出。
70
+
71
+ ## 配置
72
+
73
+ 要配置中间件,您可以在 `intlayer.config.ts` 文件中设置 `routing` 选项。有关更多详细信息,请参阅[配置](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。