@intlayer/docs 9.3.3 → 9.4.0

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 (1739) hide show
  1. package/README.md +4 -1
  2. package/authors.json +1 -1
  3. package/blog/ar/i18n_using_next-i18next.md +52 -13
  4. package/blog/ar/i18n_using_next-intl.md +20 -2
  5. package/blog/de/i18n_using_next-i18next.md +37 -37
  6. package/blog/de/i18n_using_next-intl.md +18 -0
  7. package/blog/en/i18n_using_next-i18next.md +35 -0
  8. package/blog/en/i18n_using_next-intl.md +18 -0
  9. package/blog/en/rag_powered_documentation_assistant.md +4 -1
  10. package/blog/en-GB/i18n_using_next-i18next.md +28 -1
  11. package/blog/en-GB/i18n_using_next-intl.md +18 -0
  12. package/blog/es/i18n_using_next-i18next.md +52 -13
  13. package/blog/es/i18n_using_next-intl.md +18 -0
  14. package/blog/fr/i18n_using_next-i18next.md +27 -0
  15. package/blog/fr/i18n_using_next-intl.md +18 -0
  16. package/blog/hi/i18n_using_next-i18next.md +52 -13
  17. package/blog/hi/i18n_using_next-intl.md +18 -0
  18. package/blog/id/i18n_using_next-i18next.md +40 -13
  19. package/blog/id/i18n_using_next-intl.md +18 -0
  20. package/blog/it/i18n_using_next-i18next.md +40 -13
  21. package/blog/it/i18n_using_next-intl.md +18 -0
  22. package/blog/ja/i18n_using_next-i18next.md +27 -0
  23. package/blog/ja/i18n_using_next-intl.md +18 -0
  24. package/blog/ko/i18n_using_next-i18next.md +40 -13
  25. package/blog/ko/i18n_using_next-intl.md +18 -0
  26. package/blog/pl/i18n_using_next-i18next.md +40 -13
  27. package/blog/pl/i18n_using_next-intl.md +18 -0
  28. package/blog/pt/i18n_using_next-i18next.md +52 -13
  29. package/blog/pt/i18n_using_next-intl.md +18 -0
  30. package/blog/ru/i18n_using_next-i18next.md +37 -37
  31. package/blog/ru/i18n_using_next-intl.md +19 -1
  32. package/blog/tr/i18n_using_next-i18next.md +40 -13
  33. package/blog/tr/i18n_using_next-intl.md +18 -0
  34. package/blog/uk/i18n_using_next-i18next.md +53 -26
  35. package/blog/uk/i18n_using_next-intl.md +30 -12
  36. package/blog/vi/i18n_using_next-i18next.md +40 -13
  37. package/blog/vi/i18n_using_next-intl.md +18 -0
  38. package/blog/zh/i18n_using_next-i18next.md +31 -31
  39. package/blog/zh/i18n_using_next-intl.md +22 -4
  40. package/dist/cjs/authors2.cjs +1 -1
  41. package/dist/cjs/generated/docs.entry.cjs +140 -0
  42. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  43. package/dist/esm/authors2.mjs +1 -1
  44. package/dist/esm/generated/docs.entry.mjs +140 -0
  45. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  46. package/dist/types/generated/docs.entry.d.ts +7 -0
  47. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  48. package/docs/ar/agent_skills.md +7 -7
  49. package/docs/ar/analytics.md +57 -13
  50. package/docs/ar/benchmark/tanstack.md +6 -0
  51. package/docs/ar/bundle_optimization.md +2 -2
  52. package/docs/ar/cli/ci.md +2 -0
  53. package/docs/ar/cli/doc-review.md +9 -1
  54. package/docs/ar/cli/fill.md +0 -8
  55. package/docs/ar/cli/index.md +2 -0
  56. package/docs/ar/cli/list_projects.md +0 -2
  57. package/docs/ar/cli/login.md +28 -0
  58. package/docs/ar/compiler.md +14 -0
  59. package/docs/ar/configuration.md +19 -17
  60. package/docs/ar/custom_domains.md +33 -0
  61. package/docs/ar/custom_url_rewrites.md +9 -5
  62. package/docs/ar/dictionary/html.md +16 -14
  63. package/docs/ar/dictionary/markdown.md +7 -3
  64. package/docs/ar/dictionary/plurial.md +92 -123
  65. package/docs/ar/dynamic_dictionaries/variants.md +24 -36
  66. package/docs/ar/formatters.md +0 -128
  67. package/docs/ar/how_works_intlayer.md +8 -1
  68. package/docs/ar/interest_of_intlayer.md +17 -1
  69. package/docs/ar/intlayer_visual_editor.md +12 -0
  70. package/docs/ar/intlayer_with_adonisjs.md +5 -3
  71. package/docs/ar/intlayer_with_analog.md +18 -1
  72. package/docs/ar/intlayer_with_angular_19.md +18 -1
  73. package/docs/ar/intlayer_with_angular_21.md +18 -1
  74. package/docs/ar/intlayer_with_astro.md +42 -1
  75. package/docs/ar/intlayer_with_astro_lit.md +18 -1
  76. package/docs/ar/intlayer_with_astro_preact.md +24 -1
  77. package/docs/ar/intlayer_with_astro_react.md +18 -1
  78. package/docs/ar/intlayer_with_astro_solid.md +18 -1
  79. package/docs/ar/intlayer_with_astro_svelte.md +18 -1
  80. package/docs/ar/intlayer_with_astro_vanilla.md +18 -1
  81. package/docs/ar/intlayer_with_astro_vue.md +18 -1
  82. package/docs/ar/intlayer_with_create_react_app.md +55 -119
  83. package/docs/ar/intlayer_with_elysia.md +343 -0
  84. package/docs/ar/intlayer_with_express.md +11 -3
  85. package/docs/ar/intlayer_with_fastify.md +5 -3
  86. package/docs/ar/intlayer_with_hono.md +48 -3
  87. package/docs/ar/intlayer_with_lynx+react.md +31 -1
  88. package/docs/ar/intlayer_with_nestjs.md +19 -3
  89. package/docs/ar/intlayer_with_next-i18next.md +11 -0
  90. package/docs/ar/intlayer_with_nextjs_14.md +234 -37
  91. package/docs/ar/intlayer_with_nextjs_15.md +219 -1
  92. package/docs/ar/intlayer_with_nextjs_16.md +171 -45
  93. package/docs/ar/intlayer_with_nextjs_compiler.md +47 -5
  94. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +160 -5
  95. package/docs/ar/intlayer_with_nextjs_page_router.md +16 -29
  96. package/docs/ar/intlayer_with_nuxt.md +18 -1
  97. package/docs/ar/intlayer_with_react_native+expo.md +1 -1
  98. package/docs/ar/intlayer_with_react_router_v7.md +48 -1
  99. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +192 -53
  100. package/docs/ar/intlayer_with_solid_start.md +13 -1
  101. package/docs/ar/intlayer_with_storybook.md +18 -1
  102. package/docs/ar/intlayer_with_svelte_kit.md +26 -17
  103. package/docs/ar/intlayer_with_tanstack+solid.md +250 -7
  104. package/docs/ar/intlayer_with_tanstack.md +284 -50
  105. package/docs/ar/intlayer_with_vanilla.md +18 -1
  106. package/docs/ar/intlayer_with_vite+lit.md +22 -1
  107. package/docs/ar/intlayer_with_vite+preact.md +52 -17
  108. package/docs/ar/intlayer_with_vite+react.md +22 -13
  109. package/docs/ar/intlayer_with_vite+react_compiler.md +2 -0
  110. package/docs/ar/intlayer_with_vite+solid.md +29 -49
  111. package/docs/ar/intlayer_with_vite+svelte.md +43 -13
  112. package/docs/ar/intlayer_with_vite+vanilla.md +20 -1
  113. package/docs/ar/intlayer_with_vite+vue.md +33 -15
  114. package/docs/ar/introduction.md +1 -1
  115. package/docs/ar/live-sync.md +13 -2
  116. package/docs/ar/mcp_server.md +34 -21
  117. package/docs/ar/migration_from_i18next_to_intlayer.md +1 -1
  118. package/docs/ar/migration_from_next-i18next_to_intlayer.md +1 -1
  119. package/docs/ar/migration_from_next-intl_to_intlayer.md +1 -1
  120. package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  121. package/docs/ar/migration_from_react-i18next_to_intlayer.md +1 -1
  122. package/docs/ar/migration_from_vue-i18n_to_intlayer.md +1 -1
  123. package/docs/ar/packages/elysia-intlayer/exports.md +136 -0
  124. package/docs/ar/packages/elysia-intlayer/intlayer.md +139 -0
  125. package/docs/ar/packages/intlayer/getDictionary.md +155 -0
  126. package/docs/ar/packages/intlayer/getDictionaryAsync.md +166 -0
  127. package/docs/ar/packages/intlayer/getEnumeration.md +2 -0
  128. package/docs/ar/packages/intlayer/getIntlayer.md +197 -0
  129. package/docs/ar/packages/intlayer/getIntlayerAsync.md +141 -0
  130. package/docs/ar/packages/intlayer/getLocaleLang.md +0 -2
  131. package/docs/ar/packages/intlayer/getLocalizedPath.md +45 -5
  132. package/docs/ar/packages/intlayer/getLocalizedUrl.md +14 -30
  133. package/docs/ar/packages/intlayer/getMultilingualUrls.md +6 -2
  134. package/docs/ar/packages/intlayer/getTranslation.md +2 -0
  135. package/docs/ar/packages/next-intlayer/t.md +20 -0
  136. package/docs/ar/packages/next-intlayer/useIntlayer.md +31 -0
  137. package/docs/ar/packages/next-intlayer/useLocale.md +2 -0
  138. package/docs/ar/packages/react-intlayer/useDictionary.md +0 -2
  139. package/docs/ar/packages/react-intlayer/useI18n.md +31 -0
  140. package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -42
  141. package/docs/ar/packages/vite-intlayer/intlayerMinify.md +1 -1
  142. package/docs/ar/packages/vite-intlayer/intlayerPrune.md +10 -2
  143. package/docs/ar/per_locale_file.md +13 -13
  144. package/docs/ar/readme.md +1 -0
  145. package/docs/ar/releases/v6.md +16 -2
  146. package/docs/ar/releases/v9.md +2 -0
  147. package/docs/ar/self_hosting.md +67 -24
  148. package/docs/bn/bundle_optimization.md +2 -2
  149. package/docs/bn/configuration.md +12 -9
  150. package/docs/bn/intlayer_with_fastify.md +5 -3
  151. package/docs/bn/intlayer_with_hono.md +5 -3
  152. package/docs/cs/bundle_optimization.md +2 -2
  153. package/docs/cs/configuration.md +12 -9
  154. package/docs/cs/intlayer_with_fastify.md +5 -3
  155. package/docs/cs/intlayer_with_hono.md +5 -3
  156. package/docs/de/analytics.md +57 -13
  157. package/docs/de/benchmark/tanstack.md +6 -0
  158. package/docs/de/bundle_optimization.md +2 -2
  159. package/docs/de/cli/ci.md +2 -0
  160. package/docs/de/cli/doc-review.md +9 -1
  161. package/docs/de/cli/fill.md +0 -8
  162. package/docs/de/cli/index.md +2 -0
  163. package/docs/de/cli/init.md +0 -8
  164. package/docs/de/cli/list_projects.md +0 -2
  165. package/docs/de/cli/login.md +28 -0
  166. package/docs/de/compiler.md +14 -0
  167. package/docs/de/configuration.md +19 -17
  168. package/docs/de/custom_domains.md +34 -0
  169. package/docs/de/custom_url_rewrites.md +7 -5
  170. package/docs/de/dictionary/enumeration.md +0 -183
  171. package/docs/de/dictionary/html.md +18 -18
  172. package/docs/de/dictionary/insertion.md +0 -14
  173. package/docs/de/dictionary/markdown.md +31 -14
  174. package/docs/de/dictionary/plurial.md +70 -272
  175. package/docs/de/dynamic_dictionaries/variants.md +24 -0
  176. package/docs/de/formatters.md +12 -39
  177. package/docs/de/how_works_intlayer.md +8 -1
  178. package/docs/de/intlayer_CMS.md +26 -21
  179. package/docs/de/intlayer_visual_editor.md +12 -0
  180. package/docs/de/intlayer_with_adonisjs.md +5 -3
  181. package/docs/de/intlayer_with_analog.md +1 -1
  182. package/docs/de/intlayer_with_angular_19.md +1 -1
  183. package/docs/de/intlayer_with_angular_21.md +1 -1
  184. package/docs/de/intlayer_with_astro.md +25 -1
  185. package/docs/de/intlayer_with_astro_lit.md +1 -1
  186. package/docs/de/intlayer_with_astro_preact.md +7 -1
  187. package/docs/de/intlayer_with_astro_react.md +1 -1
  188. package/docs/de/intlayer_with_astro_solid.md +1 -1
  189. package/docs/de/intlayer_with_astro_svelte.md +1 -1
  190. package/docs/de/intlayer_with_astro_vanilla.md +1 -1
  191. package/docs/de/intlayer_with_astro_vue.md +1 -1
  192. package/docs/de/intlayer_with_create_react_app.md +51 -0
  193. package/docs/de/intlayer_with_elysia.md +343 -0
  194. package/docs/de/intlayer_with_express.md +7 -3
  195. package/docs/de/intlayer_with_fastify.md +5 -3
  196. package/docs/de/intlayer_with_hono.md +5 -3
  197. package/docs/de/intlayer_with_lynx+react.md +14 -27
  198. package/docs/de/intlayer_with_nestjs.md +5 -3
  199. package/docs/de/intlayer_with_next-intl.md +0 -5
  200. package/docs/de/intlayer_with_nextjs_14.md +240 -10
  201. package/docs/de/intlayer_with_nextjs_15.md +201 -1
  202. package/docs/de/intlayer_with_nextjs_16.md +96 -36
  203. package/docs/de/intlayer_with_nextjs_compiler.md +467 -10
  204. package/docs/de/intlayer_with_nextjs_no_locale_path.md +126 -5
  205. package/docs/de/intlayer_with_nextjs_page_router.md +5 -44
  206. package/docs/de/intlayer_with_nuxt.md +1 -1
  207. package/docs/de/intlayer_with_react_native+expo.md +1 -1
  208. package/docs/de/intlayer_with_react_router_v7.md +31 -1
  209. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +103 -13
  210. package/docs/de/intlayer_with_solid_start.md +13 -1
  211. package/docs/de/intlayer_with_storybook.md +1 -1
  212. package/docs/de/intlayer_with_svelte_kit.md +7 -1
  213. package/docs/de/intlayer_with_tanstack+solid.md +158 -7
  214. package/docs/de/intlayer_with_tanstack.md +349 -179
  215. package/docs/de/intlayer_with_vanilla.md +1 -1
  216. package/docs/de/intlayer_with_vite+lit.md +5 -1
  217. package/docs/de/intlayer_with_vite+preact.md +9 -5
  218. package/docs/de/intlayer_with_vite+react.md +5 -3
  219. package/docs/de/intlayer_with_vite+react_compiler.md +2 -0
  220. package/docs/de/intlayer_with_vite+solid.md +12 -13
  221. package/docs/de/intlayer_with_vite+svelte.md +25 -1
  222. package/docs/de/intlayer_with_vite+vanilla.md +3 -1
  223. package/docs/de/intlayer_with_vite+vue.md +16 -3
  224. package/docs/de/introduction.md +1 -1
  225. package/docs/de/live-sync.md +39 -0
  226. package/docs/de/mcp_server.md +34 -21
  227. package/docs/de/migration_from_i18next_to_intlayer.md +1 -1
  228. package/docs/de/migration_from_next-i18next_to_intlayer.md +1 -1
  229. package/docs/de/migration_from_next-intl_to_intlayer.md +1 -1
  230. package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  231. package/docs/de/migration_from_react-i18next_to_intlayer.md +1 -1
  232. package/docs/de/migration_from_vue-i18n_to_intlayer.md +1 -1
  233. package/docs/de/packages/elysia-intlayer/exports.md +136 -0
  234. package/docs/de/packages/elysia-intlayer/intlayer.md +139 -0
  235. package/docs/de/packages/intlayer/getDictionary.md +155 -0
  236. package/docs/de/packages/intlayer/getDictionaryAsync.md +166 -0
  237. package/docs/de/packages/intlayer/getEnumeration.md +2 -0
  238. package/docs/de/packages/intlayer/getIntlayer.md +197 -0
  239. package/docs/de/packages/intlayer/getIntlayerAsync.md +141 -0
  240. package/docs/de/packages/intlayer/getLocalizedPath.md +45 -5
  241. package/docs/de/packages/intlayer/getLocalizedUrl.md +6 -30
  242. package/docs/de/packages/intlayer/getMultilingualUrls.md +6 -2
  243. package/docs/de/packages/intlayer/getTranslation.md +2 -0
  244. package/docs/de/packages/next-intlayer/t.md +20 -0
  245. package/docs/de/packages/next-intlayer/useIntlayer.md +31 -0
  246. package/docs/de/packages/next-intlayer/useLocale.md +2 -0
  247. package/docs/de/packages/react-intlayer/useDictionary.md +0 -2
  248. package/docs/de/packages/react-intlayer/useI18n.md +31 -0
  249. package/docs/de/packages/react-intlayer/useIntlayer.md +0 -42
  250. package/docs/de/packages/solid-intlayer/useRewriteURL.md +0 -2
  251. package/docs/de/packages/vite-intlayer/intlayerMinify.md +1 -1
  252. package/docs/de/packages/vite-intlayer/intlayerPrune.md +3 -1
  253. package/docs/de/per_locale_file.md +13 -13
  254. package/docs/de/readme.md +3 -2
  255. package/docs/de/releases/v6.md +33 -33
  256. package/docs/de/releases/v9.md +2 -0
  257. package/docs/de/self_hosting.md +68 -24
  258. package/docs/en/analytics.md +526 -34
  259. package/docs/en/bundle_optimization.md +2 -2
  260. package/docs/en/cli/index.md +2 -0
  261. package/docs/en/cli/login.md +28 -0
  262. package/docs/en/configuration.md +12 -9
  263. package/docs/en/custom_domains.md +39 -2
  264. package/docs/en/dictionary/html.md +16 -16
  265. package/docs/en/dynamic_dictionaries/variants.md +41 -18
  266. package/docs/en/formatters.md +5 -2
  267. package/docs/en/intlayer_with_adonisjs.md +5 -3
  268. package/docs/en/intlayer_with_elysia.md +339 -0
  269. package/docs/en/intlayer_with_express.md +5 -3
  270. package/docs/en/intlayer_with_fastify.md +5 -4
  271. package/docs/en/intlayer_with_hono.md +5 -3
  272. package/docs/en/intlayer_with_nestjs.md +5 -3
  273. package/docs/en/intlayer_with_nextjs_14.md +103 -8
  274. package/docs/en/intlayer_with_nextjs_15.md +105 -1
  275. package/docs/en/intlayer_with_nextjs_16.md +105 -1
  276. package/docs/en/intlayer_with_nextjs_compiler.md +43 -18
  277. package/docs/en/intlayer_with_nextjs_no_locale_path.md +125 -5
  278. package/docs/en/intlayer_with_nextjs_page_router.md +4 -28
  279. package/docs/en/intlayer_with_tanstack+solid.md +157 -6
  280. package/docs/en/intlayer_with_tanstack.md +159 -7
  281. package/docs/en/mcp_server.md +34 -19
  282. package/docs/en/packages/elysia-intlayer/exports.md +134 -0
  283. package/docs/en/packages/elysia-intlayer/intlayer.md +137 -0
  284. package/docs/en/packages/intlayer/exports.md +19 -14
  285. package/docs/en/packages/intlayer/getDictionary.md +154 -0
  286. package/docs/en/packages/intlayer/getDictionaryAsync.md +166 -0
  287. package/docs/en/packages/intlayer/getIntlayer.md +196 -0
  288. package/docs/en/packages/intlayer/getIntlayerAsync.md +141 -0
  289. package/docs/en/packages/next-intlayer/exports.md +14 -10
  290. package/docs/en/packages/next-intlayer/t.md +33 -9
  291. package/docs/en/packages/next-intlayer/useDictionary.md +5 -2
  292. package/docs/en/packages/next-intlayer/useIntlayer.md +35 -1
  293. package/docs/en/packages/react-intlayer/exports.md +14 -11
  294. package/docs/en/packages/react-intlayer/useI18n.md +35 -1
  295. package/docs/en/packages/vite-intlayer/intlayerMinify.md +1 -1
  296. package/docs/en/packages/vite-intlayer/intlayerPrune.md +1 -1
  297. package/docs/en/readme.md +1 -0
  298. package/docs/en/self_hosting.md +77 -20
  299. package/docs/en-GB/analytics.md +28 -5
  300. package/docs/en-GB/benchmark/tanstack.md +6 -0
  301. package/docs/en-GB/bundle_optimization.md +2 -2
  302. package/docs/en-GB/cli/ci.md +2 -0
  303. package/docs/en-GB/cli/doc-review.md +7 -1
  304. package/docs/en-GB/cli/fill.md +0 -8
  305. package/docs/en-GB/cli/index.md +2 -0
  306. package/docs/en-GB/cli/list_projects.md +0 -2
  307. package/docs/en-GB/cli/login.md +28 -0
  308. package/docs/en-GB/compiler.md +14 -0
  309. package/docs/en-GB/configuration.md +12 -9
  310. package/docs/en-GB/custom_domains.md +34 -0
  311. package/docs/en-GB/custom_url_rewrites.md +7 -5
  312. package/docs/en-GB/dictionary/condition.md +0 -201
  313. package/docs/en-GB/dictionary/content_file.md +0 -3
  314. package/docs/en-GB/dictionary/enumeration.md +0 -183
  315. package/docs/en-GB/dictionary/file.md +0 -166
  316. package/docs/en-GB/dictionary/gender.md +0 -212
  317. package/docs/en-GB/dictionary/html.md +17 -15
  318. package/docs/en-GB/dictionary/insertion.md +0 -4
  319. package/docs/en-GB/dictionary/markdown.md +7 -3
  320. package/docs/en-GB/dictionary/plurial.md +68 -271
  321. package/docs/en-GB/dictionary/translation.md +0 -133
  322. package/docs/en-GB/dynamic_dictionaries/variants.md +24 -0
  323. package/docs/en-GB/formatters.md +0 -164
  324. package/docs/en-GB/how_works_intlayer.md +7 -0
  325. package/docs/en-GB/interest_of_intlayer.md +1 -1
  326. package/docs/en-GB/intlayer_visual_editor.md +12 -0
  327. package/docs/en-GB/intlayer_with_adonisjs.md +5 -3
  328. package/docs/en-GB/intlayer_with_analog.md +1 -1
  329. package/docs/en-GB/intlayer_with_angular_19.md +1 -1
  330. package/docs/en-GB/intlayer_with_angular_21.md +1 -1
  331. package/docs/en-GB/intlayer_with_astro.md +25 -1
  332. package/docs/en-GB/intlayer_with_astro_lit.md +1 -1
  333. package/docs/en-GB/intlayer_with_astro_preact.md +7 -1
  334. package/docs/en-GB/intlayer_with_astro_react.md +1 -1
  335. package/docs/en-GB/intlayer_with_astro_solid.md +1 -1
  336. package/docs/en-GB/intlayer_with_astro_svelte.md +1 -1
  337. package/docs/en-GB/intlayer_with_astro_vanilla.md +1 -1
  338. package/docs/en-GB/intlayer_with_astro_vue.md +1 -1
  339. package/docs/en-GB/intlayer_with_create_react_app.md +10 -78
  340. package/docs/en-GB/intlayer_with_elysia.md +339 -0
  341. package/docs/en-GB/intlayer_with_express.md +11 -3
  342. package/docs/en-GB/intlayer_with_fastify.md +5 -4
  343. package/docs/en-GB/intlayer_with_hono.md +5 -3
  344. package/docs/en-GB/intlayer_with_lynx+react.md +9 -54
  345. package/docs/en-GB/intlayer_with_nestjs.md +5 -3
  346. package/docs/en-GB/intlayer_with_nextjs_14.md +181 -10
  347. package/docs/en-GB/intlayer_with_nextjs_15.md +196 -1
  348. package/docs/en-GB/intlayer_with_nextjs_16.md +226 -1
  349. package/docs/en-GB/intlayer_with_nextjs_compiler.md +165 -5
  350. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +140 -5
  351. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  352. package/docs/en-GB/intlayer_with_nuxt.md +1 -1
  353. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  354. package/docs/en-GB/intlayer_with_react_router_v7.md +111 -1
  355. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +261 -64
  356. package/docs/en-GB/intlayer_with_solid_start.md +13 -1
  357. package/docs/en-GB/intlayer_with_storybook.md +1 -1
  358. package/docs/en-GB/intlayer_with_svelte_kit.md +110 -5
  359. package/docs/en-GB/intlayer_with_tanstack+solid.md +160 -7
  360. package/docs/en-GB/intlayer_with_tanstack.md +382 -112
  361. package/docs/en-GB/intlayer_with_vanilla.md +1 -1
  362. package/docs/en-GB/intlayer_with_vite+lit.md +3 -1
  363. package/docs/en-GB/intlayer_with_vite+preact.md +104 -5
  364. package/docs/en-GB/intlayer_with_vite+react.md +110 -1
  365. package/docs/en-GB/intlayer_with_vite+react_compiler.md +2 -0
  366. package/docs/en-GB/intlayer_with_vite+solid.md +81 -18
  367. package/docs/en-GB/intlayer_with_vite+svelte.md +133 -1
  368. package/docs/en-GB/intlayer_with_vite+vanilla.md +3 -1
  369. package/docs/en-GB/intlayer_with_vite+vue.md +169 -24
  370. package/docs/en-GB/live-sync.md +13 -2
  371. package/docs/en-GB/mcp_server.md +34 -21
  372. package/docs/en-GB/packages/elysia-intlayer/exports.md +134 -0
  373. package/docs/en-GB/packages/elysia-intlayer/intlayer.md +137 -0
  374. package/docs/en-GB/packages/intlayer/getDictionary.md +154 -0
  375. package/docs/en-GB/packages/intlayer/getDictionaryAsync.md +166 -0
  376. package/docs/en-GB/packages/intlayer/getEnumeration.md +2 -0
  377. package/docs/en-GB/packages/intlayer/getIntlayer.md +196 -0
  378. package/docs/en-GB/packages/intlayer/getIntlayerAsync.md +141 -0
  379. package/docs/en-GB/packages/intlayer/getLocalizedPath.md +45 -4
  380. package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +6 -30
  381. package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +14 -2
  382. package/docs/en-GB/packages/next-intlayer/t.md +20 -0
  383. package/docs/en-GB/packages/next-intlayer/useIntlayer.md +31 -4
  384. package/docs/en-GB/packages/next-intlayer/useLocale.md +2 -0
  385. package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -2
  386. package/docs/en-GB/packages/react-intlayer/useI18n.md +31 -0
  387. package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -42
  388. package/docs/en-GB/packages/vite-intlayer/intlayerMinify.md +1 -1
  389. package/docs/en-GB/packages/vite-intlayer/intlayerPrune.md +3 -1
  390. package/docs/en-GB/per_locale_file.md +13 -13
  391. package/docs/en-GB/readme.md +3 -2
  392. package/docs/en-GB/releases/v6.md +30 -28
  393. package/docs/en-GB/self_hosting.md +60 -29
  394. package/docs/es/agent_skills.md +7 -7
  395. package/docs/es/analytics.md +57 -13
  396. package/docs/es/benchmark/tanstack.md +6 -0
  397. package/docs/es/bundle_optimization.md +2 -2
  398. package/docs/es/cli/ci.md +2 -0
  399. package/docs/es/cli/doc-review.md +13 -1
  400. package/docs/es/cli/fill.md +0 -8
  401. package/docs/es/cli/index.md +2 -0
  402. package/docs/es/cli/list_projects.md +0 -2
  403. package/docs/es/cli/login.md +28 -2
  404. package/docs/es/compat/next-intl.md +0 -2
  405. package/docs/es/compiler.md +14 -0
  406. package/docs/es/component_i18n.md +4 -0
  407. package/docs/es/configuration.md +19 -17
  408. package/docs/es/custom_domains.md +34 -0
  409. package/docs/es/custom_url_rewrites.md +7 -5
  410. package/docs/es/dictionary/enumeration.md +0 -154
  411. package/docs/es/dictionary/html.md +16 -16
  412. package/docs/es/dictionary/markdown.md +7 -3
  413. package/docs/es/dictionary/plurial.md +72 -275
  414. package/docs/es/dynamic_dictionaries/variants.md +24 -0
  415. package/docs/es/formatters.md +24 -113
  416. package/docs/es/how_works_intlayer.md +5 -0
  417. package/docs/es/intlayer_CMS.md +16 -8
  418. package/docs/es/intlayer_visual_editor.md +12 -0
  419. package/docs/es/intlayer_with_adonisjs.md +5 -3
  420. package/docs/es/intlayer_with_analog.md +1 -1
  421. package/docs/es/intlayer_with_angular_19.md +1 -1
  422. package/docs/es/intlayer_with_angular_21.md +1 -1
  423. package/docs/es/intlayer_with_astro.md +25 -1
  424. package/docs/es/intlayer_with_astro_lit.md +1 -1
  425. package/docs/es/intlayer_with_astro_preact.md +7 -1
  426. package/docs/es/intlayer_with_astro_react.md +1 -1
  427. package/docs/es/intlayer_with_astro_solid.md +1 -1
  428. package/docs/es/intlayer_with_astro_svelte.md +1 -1
  429. package/docs/es/intlayer_with_astro_vanilla.md +1 -1
  430. package/docs/es/intlayer_with_astro_vue.md +1 -1
  431. package/docs/es/intlayer_with_create_react_app.md +55 -26
  432. package/docs/es/intlayer_with_elysia.md +339 -0
  433. package/docs/es/intlayer_with_express.md +11 -32
  434. package/docs/es/intlayer_with_fastify.md +5 -3
  435. package/docs/es/intlayer_with_hono.md +5 -3
  436. package/docs/es/intlayer_with_lynx+react.md +14 -1
  437. package/docs/es/intlayer_with_nestjs.md +19 -3
  438. package/docs/es/intlayer_with_nextjs_14.md +179 -51
  439. package/docs/es/intlayer_with_nextjs_15.md +198 -1
  440. package/docs/es/intlayer_with_nextjs_16.md +130 -67
  441. package/docs/es/intlayer_with_nextjs_compiler.md +45 -5
  442. package/docs/es/intlayer_with_nextjs_no_locale_path.md +146 -5
  443. package/docs/es/intlayer_with_nextjs_page_router.md +16 -29
  444. package/docs/es/intlayer_with_nuxt.md +1 -1
  445. package/docs/es/intlayer_with_react_native+expo.md +1 -1
  446. package/docs/es/intlayer_with_react_router_v7.md +31 -1
  447. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +30 -30
  448. package/docs/es/intlayer_with_solid_start.md +13 -1
  449. package/docs/es/intlayer_with_storybook.md +1 -1
  450. package/docs/es/intlayer_with_svelte_kit.md +7 -1
  451. package/docs/es/intlayer_with_tanstack+solid.md +158 -7
  452. package/docs/es/intlayer_with_tanstack.md +337 -193
  453. package/docs/es/intlayer_with_vanilla.md +1 -1
  454. package/docs/es/intlayer_with_vite+lit.md +5 -1
  455. package/docs/es/intlayer_with_vite+preact.md +37 -5
  456. package/docs/es/intlayer_with_vite+react.md +3 -1
  457. package/docs/es/intlayer_with_vite+react_compiler.md +2 -0
  458. package/docs/es/intlayer_with_vite+solid.md +12 -37
  459. package/docs/es/intlayer_with_vite+svelte.md +3 -1
  460. package/docs/es/intlayer_with_vite+vanilla.md +3 -1
  461. package/docs/es/intlayer_with_vite+vue.md +16 -3
  462. package/docs/es/live-sync.md +13 -4
  463. package/docs/es/mcp_server.md +34 -19
  464. package/docs/es/migration_from_i18next_to_intlayer.md +1 -1
  465. package/docs/es/migration_from_next-i18next_to_intlayer.md +1 -1
  466. package/docs/es/migration_from_next-intl_to_intlayer.md +1 -1
  467. package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  468. package/docs/es/migration_from_react-i18next_to_intlayer.md +1 -1
  469. package/docs/es/migration_from_vue-i18n_to_intlayer.md +1 -1
  470. package/docs/es/packages/elysia-intlayer/exports.md +134 -0
  471. package/docs/es/packages/elysia-intlayer/intlayer.md +137 -0
  472. package/docs/es/packages/intlayer/getDictionary.md +155 -0
  473. package/docs/es/packages/intlayer/getDictionaryAsync.md +166 -0
  474. package/docs/es/packages/intlayer/getEnumeration.md +2 -0
  475. package/docs/es/packages/intlayer/getIntlayer.md +197 -0
  476. package/docs/es/packages/intlayer/getIntlayerAsync.md +141 -0
  477. package/docs/es/packages/intlayer/getLocalizedPath.md +46 -5
  478. package/docs/es/packages/intlayer/getLocalizedUrl.md +6 -30
  479. package/docs/es/packages/intlayer/getMultilingualUrls.md +14 -2
  480. package/docs/es/packages/intlayer/getTranslation.md +2 -0
  481. package/docs/es/packages/next-intlayer/t.md +20 -0
  482. package/docs/es/packages/next-intlayer/useIntlayer.md +31 -0
  483. package/docs/es/packages/next-intlayer/useLocale.md +2 -0
  484. package/docs/es/packages/react-intlayer/useDictionary.md +0 -2
  485. package/docs/es/packages/react-intlayer/useI18n.md +31 -0
  486. package/docs/es/packages/react-intlayer/useIntlayer.md +0 -42
  487. package/docs/es/packages/solid-intlayer/useRewriteURL.md +0 -2
  488. package/docs/es/packages/vite-intlayer/intlayerMinify.md +1 -1
  489. package/docs/es/packages/vite-intlayer/intlayerPrune.md +10 -2
  490. package/docs/es/per_locale_file.md +13 -13
  491. package/docs/es/readme.md +3 -2
  492. package/docs/es/releases/v6.md +8 -2
  493. package/docs/es/releases/v9.md +2 -0
  494. package/docs/es/self_hosting.md +67 -24
  495. package/docs/fr/CI_CD.md +2 -0
  496. package/docs/fr/agent_skills.md +7 -7
  497. package/docs/fr/analytics.md +79 -13
  498. package/docs/fr/benchmark/tanstack.md +6 -0
  499. package/docs/fr/bundle_optimization.md +2 -2
  500. package/docs/fr/cli/ci.md +2 -0
  501. package/docs/fr/cli/doc-review.md +7 -1
  502. package/docs/fr/cli/fill.md +0 -8
  503. package/docs/fr/cli/index.md +2 -0
  504. package/docs/fr/cli/list_projects.md +0 -2
  505. package/docs/fr/cli/login.md +28 -0
  506. package/docs/fr/compiler.md +14 -0
  507. package/docs/fr/configuration.md +19 -19
  508. package/docs/fr/custom_domains.md +34 -0
  509. package/docs/fr/custom_url_rewrites.md +7 -5
  510. package/docs/fr/dictionary/condition.md +0 -201
  511. package/docs/fr/dictionary/html.md +17 -17
  512. package/docs/fr/dictionary/markdown.md +7 -3
  513. package/docs/fr/dictionary/plurial.md +79 -110
  514. package/docs/fr/dynamic_dictionaries/variants.md +24 -0
  515. package/docs/fr/formatters.md +0 -106
  516. package/docs/fr/how_works_intlayer.md +5 -2
  517. package/docs/fr/intlayer_CMS.md +26 -21
  518. package/docs/fr/intlayer_visual_editor.md +12 -0
  519. package/docs/fr/intlayer_with_adonisjs.md +5 -3
  520. package/docs/fr/intlayer_with_astro.md +24 -0
  521. package/docs/fr/intlayer_with_create_react_app.md +55 -0
  522. package/docs/fr/intlayer_with_elysia.md +339 -0
  523. package/docs/fr/intlayer_with_express.md +11 -69
  524. package/docs/fr/intlayer_with_fastify.md +5 -3
  525. package/docs/fr/intlayer_with_hono.md +5 -3
  526. package/docs/fr/intlayer_with_lynx+react.md +13 -0
  527. package/docs/fr/intlayer_with_nestjs.md +19 -3
  528. package/docs/fr/intlayer_with_nextjs_14.md +237 -9
  529. package/docs/fr/intlayer_with_nextjs_15.md +179 -8
  530. package/docs/fr/intlayer_with_nextjs_16.md +125 -29
  531. package/docs/fr/intlayer_with_nextjs_compiler.md +45 -5
  532. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +143 -4
  533. package/docs/fr/intlayer_with_nextjs_page_router.md +15 -28
  534. package/docs/fr/intlayer_with_nuxt.md +29 -0
  535. package/docs/fr/intlayer_with_react_native+expo.md +1 -1
  536. package/docs/fr/intlayer_with_react_router_v7.md +31 -0
  537. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +29 -1
  538. package/docs/fr/intlayer_with_solid_start.md +13 -1
  539. package/docs/fr/intlayer_with_svelte_kit.md +6 -0
  540. package/docs/fr/intlayer_with_tanstack+solid.md +157 -8
  541. package/docs/fr/intlayer_with_tanstack.md +302 -156
  542. package/docs/fr/intlayer_with_vite+lit.md +4 -0
  543. package/docs/fr/intlayer_with_vite+preact.md +36 -4
  544. package/docs/fr/intlayer_with_vite+react.md +2 -0
  545. package/docs/fr/intlayer_with_vite+react_compiler.md +2 -0
  546. package/docs/fr/intlayer_with_vite+solid.md +11 -36
  547. package/docs/fr/intlayer_with_vite+svelte.md +2 -0
  548. package/docs/fr/intlayer_with_vite+vanilla.md +2 -0
  549. package/docs/fr/intlayer_with_vite+vue.md +15 -2
  550. package/docs/fr/live-sync.md +13 -2
  551. package/docs/fr/mcp_server.md +34 -19
  552. package/docs/fr/migration_from_i18next_to_intlayer.md +1 -1
  553. package/docs/fr/migration_from_next-i18next_to_intlayer.md +1 -1
  554. package/docs/fr/migration_from_next-intl_to_intlayer.md +1 -1
  555. package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  556. package/docs/fr/migration_from_react-i18next_to_intlayer.md +1 -1
  557. package/docs/fr/migration_from_vue-i18n_to_intlayer.md +1 -1
  558. package/docs/fr/packages/elysia-intlayer/exports.md +134 -0
  559. package/docs/fr/packages/elysia-intlayer/intlayer.md +137 -0
  560. package/docs/fr/packages/intlayer/getDictionary.md +154 -0
  561. package/docs/fr/packages/intlayer/getDictionaryAsync.md +166 -0
  562. package/docs/fr/packages/intlayer/getEnumeration.md +2 -0
  563. package/docs/fr/packages/intlayer/getIntlayer.md +196 -0
  564. package/docs/fr/packages/intlayer/getIntlayerAsync.md +141 -0
  565. package/docs/fr/packages/intlayer/getLocalizedPath.md +45 -5
  566. package/docs/fr/packages/intlayer/getLocalizedUrl.md +6 -30
  567. package/docs/fr/packages/intlayer/getMultilingualUrls.md +6 -2
  568. package/docs/fr/packages/intlayer/getTranslation.md +2 -0
  569. package/docs/fr/packages/next-intlayer/t.md +20 -0
  570. package/docs/fr/packages/next-intlayer/useIntlayer.md +31 -0
  571. package/docs/fr/packages/next-intlayer/useLocale.md +2 -0
  572. package/docs/fr/packages/react-intlayer/useI18n.md +31 -0
  573. package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -42
  574. package/docs/fr/packages/vite-intlayer/intlayerMinify.md +1 -1
  575. package/docs/fr/packages/vite-intlayer/intlayerPrune.md +3 -1
  576. package/docs/fr/per_locale_file.md +13 -13
  577. package/docs/fr/readme.md +3 -2
  578. package/docs/fr/releases/v6.md +8 -2
  579. package/docs/fr/releases/v9.md +2 -0
  580. package/docs/fr/self_hosting.md +67 -24
  581. package/docs/hi/agent_skills.md +7 -7
  582. package/docs/hi/analytics.md +28 -5
  583. package/docs/hi/benchmark/tanstack.md +6 -0
  584. package/docs/hi/bundle_optimization.md +2 -2
  585. package/docs/hi/cli/ci.md +2 -0
  586. package/docs/hi/cli/doc-review.md +10 -2
  587. package/docs/hi/cli/fill.md +0 -8
  588. package/docs/hi/cli/index.md +2 -0
  589. package/docs/hi/cli/list_projects.md +0 -2
  590. package/docs/hi/cli/login.md +28 -0
  591. package/docs/hi/compiler.md +14 -0
  592. package/docs/hi/configuration.md +19 -17
  593. package/docs/hi/custom_domains.md +33 -0
  594. package/docs/hi/custom_url_rewrites.md +7 -5
  595. package/docs/hi/dictionary/content_file.md +0 -2
  596. package/docs/hi/dictionary/html.md +36 -15
  597. package/docs/hi/dictionary/insertion.md +0 -14
  598. package/docs/hi/dictionary/markdown.md +31 -14
  599. package/docs/hi/dictionary/plurial.md +81 -113
  600. package/docs/hi/dynamic_dictionaries/variants.md +24 -0
  601. package/docs/hi/formatters.md +12 -37
  602. package/docs/hi/how_works_intlayer.md +8 -1
  603. package/docs/hi/interest_of_intlayer.md +17 -1
  604. package/docs/hi/intlayer_visual_editor.md +12 -0
  605. package/docs/hi/intlayer_with_adonisjs.md +5 -3
  606. package/docs/hi/intlayer_with_analog.md +18 -1
  607. package/docs/hi/intlayer_with_angular_19.md +21 -1
  608. package/docs/hi/intlayer_with_angular_21.md +18 -1
  609. package/docs/hi/intlayer_with_astro.md +44 -1
  610. package/docs/hi/intlayer_with_astro_lit.md +47 -4
  611. package/docs/hi/intlayer_with_astro_preact.md +50 -1
  612. package/docs/hi/intlayer_with_astro_react.md +44 -1
  613. package/docs/hi/intlayer_with_astro_solid.md +44 -1
  614. package/docs/hi/intlayer_with_astro_svelte.md +44 -1
  615. package/docs/hi/intlayer_with_astro_vanilla.md +44 -1
  616. package/docs/hi/intlayer_with_astro_vue.md +20 -1
  617. package/docs/hi/intlayer_with_create_react_app.md +53 -418
  618. package/docs/hi/intlayer_with_elysia.md +343 -0
  619. package/docs/hi/intlayer_with_express.md +9 -17
  620. package/docs/hi/intlayer_with_fastify.md +5 -3
  621. package/docs/hi/intlayer_with_hono.md +44 -3
  622. package/docs/hi/intlayer_with_lynx+react.md +26 -11
  623. package/docs/hi/intlayer_with_next-i18next.md +21 -0
  624. package/docs/hi/intlayer_with_nextjs_14.md +234 -35
  625. package/docs/hi/intlayer_with_nextjs_15.md +224 -9
  626. package/docs/hi/intlayer_with_nextjs_16.md +135 -11
  627. package/docs/hi/intlayer_with_nextjs_compiler.md +49 -5
  628. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +163 -5
  629. package/docs/hi/intlayer_with_nextjs_page_router.md +29 -36
  630. package/docs/hi/intlayer_with_nuxt.md +47 -1
  631. package/docs/hi/intlayer_with_react_native+expo.md +1 -1
  632. package/docs/hi/intlayer_with_react_router_v7.md +50 -1
  633. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +162 -46
  634. package/docs/hi/intlayer_with_solid_start.md +13 -1
  635. package/docs/hi/intlayer_with_storybook.md +18 -1
  636. package/docs/hi/intlayer_with_svelte_kit.md +26 -1
  637. package/docs/hi/intlayer_with_tanstack+solid.md +253 -7
  638. package/docs/hi/intlayer_with_tanstack.md +388 -158
  639. package/docs/hi/intlayer_with_vanilla.md +18 -1
  640. package/docs/hi/intlayer_with_vite+lit.md +22 -1
  641. package/docs/hi/intlayer_with_vite+preact.md +33 -100
  642. package/docs/hi/intlayer_with_vite+react.md +24 -8
  643. package/docs/hi/intlayer_with_vite+react_compiler.md +2 -0
  644. package/docs/hi/intlayer_with_vite+solid.md +31 -26
  645. package/docs/hi/intlayer_with_vite+svelte.md +80 -1
  646. package/docs/hi/intlayer_with_vite+vanilla.md +20 -69
  647. package/docs/hi/intlayer_with_vite+vue.md +30 -10
  648. package/docs/hi/live-sync.md +39 -0
  649. package/docs/hi/mcp_server.md +34 -21
  650. package/docs/hi/packages/elysia-intlayer/exports.md +136 -0
  651. package/docs/hi/packages/elysia-intlayer/intlayer.md +139 -0
  652. package/docs/hi/packages/intlayer/getDictionary.md +156 -0
  653. package/docs/hi/packages/intlayer/getDictionaryAsync.md +166 -0
  654. package/docs/hi/packages/intlayer/getEnumeration.md +2 -0
  655. package/docs/hi/packages/intlayer/getIntlayer.md +197 -0
  656. package/docs/hi/packages/intlayer/getIntlayerAsync.md +141 -0
  657. package/docs/hi/packages/intlayer/getLocalizedPath.md +45 -5
  658. package/docs/hi/packages/intlayer/getLocalizedUrl.md +6 -15
  659. package/docs/hi/packages/intlayer/getMultilingualUrls.md +6 -2
  660. package/docs/hi/packages/intlayer/getTranslation.md +2 -0
  661. package/docs/hi/packages/next-intlayer/t.md +20 -31
  662. package/docs/hi/packages/next-intlayer/useIntlayer.md +33 -0
  663. package/docs/hi/packages/next-intlayer/useLocale.md +2 -0
  664. package/docs/hi/packages/react-intlayer/useDictionary.md +0 -2
  665. package/docs/hi/packages/react-intlayer/useI18n.md +31 -0
  666. package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -42
  667. package/docs/hi/packages/vite-intlayer/intlayerMinify.md +1 -1
  668. package/docs/hi/packages/vite-intlayer/intlayerPrune.md +3 -1
  669. package/docs/hi/per_locale_file.md +13 -13
  670. package/docs/hi/readme.md +3 -2
  671. package/docs/hi/releases/v6.md +16 -2
  672. package/docs/hi/releases/v9.md +2 -0
  673. package/docs/hi/self_hosting.md +80 -26
  674. package/docs/id/agent_skills.md +6 -6
  675. package/docs/id/analytics.md +28 -5
  676. package/docs/id/benchmark/tanstack.md +6 -0
  677. package/docs/id/bundle_optimization.md +2 -2
  678. package/docs/id/cli/ci.md +2 -0
  679. package/docs/id/cli/doc-review.md +9 -1
  680. package/docs/id/cli/fill.md +0 -8
  681. package/docs/id/cli/index.md +2 -0
  682. package/docs/id/cli/login.md +28 -0
  683. package/docs/id/compiler.md +14 -0
  684. package/docs/id/configuration.md +19 -17
  685. package/docs/id/custom_domains.md +34 -0
  686. package/docs/id/custom_url_rewrites.md +7 -5
  687. package/docs/id/dictionary/content_file.md +0 -29
  688. package/docs/id/dictionary/file.md +0 -166
  689. package/docs/id/dictionary/gender.md +0 -212
  690. package/docs/id/dictionary/html.md +134 -16
  691. package/docs/id/dictionary/insertion.md +0 -14
  692. package/docs/id/dictionary/markdown.md +31 -14
  693. package/docs/id/dictionary/plurial.md +79 -110
  694. package/docs/id/dynamic_dictionaries/variants.md +24 -0
  695. package/docs/id/formatters.md +12 -39
  696. package/docs/id/interest_of_intlayer.md +1 -3
  697. package/docs/id/intlayer_with_adonisjs.md +5 -3
  698. package/docs/id/intlayer_with_analog.md +1 -1
  699. package/docs/id/intlayer_with_angular_19.md +1 -1
  700. package/docs/id/intlayer_with_angular_21.md +1 -1
  701. package/docs/id/intlayer_with_astro.md +25 -1
  702. package/docs/id/intlayer_with_astro_lit.md +1 -1
  703. package/docs/id/intlayer_with_astro_preact.md +7 -1
  704. package/docs/id/intlayer_with_astro_react.md +1 -1
  705. package/docs/id/intlayer_with_astro_solid.md +1 -1
  706. package/docs/id/intlayer_with_astro_svelte.md +1 -1
  707. package/docs/id/intlayer_with_astro_vanilla.md +1 -1
  708. package/docs/id/intlayer_with_astro_vue.md +1 -1
  709. package/docs/id/intlayer_with_create_react_app.md +43 -0
  710. package/docs/id/intlayer_with_elysia.md +343 -0
  711. package/docs/id/intlayer_with_express.md +5 -3
  712. package/docs/id/intlayer_with_fastify.md +5 -3
  713. package/docs/id/intlayer_with_hono.md +44 -3
  714. package/docs/id/intlayer_with_lynx+react.md +1 -1
  715. package/docs/id/intlayer_with_nestjs.md +5 -3
  716. package/docs/id/intlayer_with_nextjs_14.md +127 -8
  717. package/docs/id/intlayer_with_nextjs_15.md +104 -1
  718. package/docs/id/intlayer_with_nextjs_16.md +122 -3
  719. package/docs/id/intlayer_with_nextjs_compiler.md +72 -5
  720. package/docs/id/intlayer_with_nextjs_no_locale_path.md +142 -5
  721. package/docs/id/intlayer_with_nextjs_page_router.md +32 -25
  722. package/docs/id/intlayer_with_nuxt.md +1 -1
  723. package/docs/id/intlayer_with_react_native+expo.md +1 -1
  724. package/docs/id/intlayer_with_react_router_v7.md +31 -1
  725. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +146 -51
  726. package/docs/id/intlayer_with_solid_start.md +13 -1
  727. package/docs/id/intlayer_with_storybook.md +1 -1
  728. package/docs/id/intlayer_with_svelte_kit.md +7 -1
  729. package/docs/id/intlayer_with_tanstack+solid.md +233 -7
  730. package/docs/id/intlayer_with_tanstack.md +371 -146
  731. package/docs/id/intlayer_with_vanilla.md +1 -1
  732. package/docs/id/intlayer_with_vite+lit.md +5 -1
  733. package/docs/id/intlayer_with_vite+preact.md +35 -5
  734. package/docs/id/intlayer_with_vite+react.md +5 -1
  735. package/docs/id/intlayer_with_vite+react_compiler.md +2 -0
  736. package/docs/id/intlayer_with_vite+solid.md +12 -28
  737. package/docs/id/intlayer_with_vite+svelte.md +28 -1
  738. package/docs/id/intlayer_with_vite+vanilla.md +3 -1
  739. package/docs/id/intlayer_with_vite+vue.md +14 -3
  740. package/docs/id/introduction.md +1 -1
  741. package/docs/id/mcp_server.md +34 -21
  742. package/docs/id/packages/elysia-intlayer/exports.md +136 -0
  743. package/docs/id/packages/elysia-intlayer/intlayer.md +139 -0
  744. package/docs/id/packages/intlayer/getDictionary.md +155 -0
  745. package/docs/id/packages/intlayer/getDictionaryAsync.md +166 -0
  746. package/docs/id/packages/intlayer/getEnumeration.md +2 -0
  747. package/docs/id/packages/intlayer/getIntlayer.md +197 -0
  748. package/docs/id/packages/intlayer/getIntlayerAsync.md +141 -0
  749. package/docs/id/packages/intlayer/getLocalizedPath.md +46 -5
  750. package/docs/id/packages/intlayer/getLocalizedUrl.md +11 -32
  751. package/docs/id/packages/intlayer/getMultilingualUrls.md +14 -2
  752. package/docs/id/packages/intlayer/getTranslation.md +2 -0
  753. package/docs/id/packages/next-intlayer/t.md +20 -0
  754. package/docs/id/packages/next-intlayer/useIntlayer.md +31 -0
  755. package/docs/id/packages/react-intlayer/useDictionary.md +0 -2
  756. package/docs/id/packages/react-intlayer/useI18n.md +31 -0
  757. package/docs/id/packages/react-intlayer/useIntlayer.md +0 -44
  758. package/docs/id/packages/vite-intlayer/intlayerMinify.md +1 -1
  759. package/docs/id/packages/vite-intlayer/intlayerPrune.md +3 -1
  760. package/docs/id/per_locale_file.md +13 -13
  761. package/docs/id/readme.md +3 -2
  762. package/docs/id/self_hosting.md +62 -31
  763. package/docs/it/agent_skills.md +6 -6
  764. package/docs/it/analytics.md +28 -5
  765. package/docs/it/benchmark/tanstack.md +6 -0
  766. package/docs/it/bundle_optimization.md +2 -2
  767. package/docs/it/cli/ci.md +2 -0
  768. package/docs/it/cli/doc-review.md +9 -1
  769. package/docs/it/cli/fill.md +0 -8
  770. package/docs/it/cli/index.md +2 -0
  771. package/docs/it/cli/list_projects.md +0 -2
  772. package/docs/it/cli/login.md +28 -0
  773. package/docs/it/cli/watch.md +0 -2
  774. package/docs/it/compiler.md +14 -0
  775. package/docs/it/configuration.md +19 -17
  776. package/docs/it/custom_domains.md +34 -0
  777. package/docs/it/custom_url_rewrites.md +7 -5
  778. package/docs/it/dictionary/enumeration.md +30 -0
  779. package/docs/it/dictionary/file.md +0 -166
  780. package/docs/it/dictionary/html.md +18 -18
  781. package/docs/it/dictionary/markdown.md +7 -3
  782. package/docs/it/dictionary/plurial.md +70 -273
  783. package/docs/it/dynamic_dictionaries/variants.md +24 -0
  784. package/docs/it/formatters.md +24 -113
  785. package/docs/it/how_works_intlayer.md +8 -1
  786. package/docs/it/intlayer_CMS.md +26 -21
  787. package/docs/it/intlayer_visual_editor.md +12 -0
  788. package/docs/it/intlayer_with_adonisjs.md +5 -3
  789. package/docs/it/intlayer_with_analog.md +1 -1
  790. package/docs/it/intlayer_with_angular_19.md +1 -1
  791. package/docs/it/intlayer_with_angular_21.md +1 -1
  792. package/docs/it/intlayer_with_astro.md +25 -1
  793. package/docs/it/intlayer_with_astro_lit.md +1 -1
  794. package/docs/it/intlayer_with_astro_preact.md +7 -1
  795. package/docs/it/intlayer_with_astro_react.md +1 -1
  796. package/docs/it/intlayer_with_astro_solid.md +1 -1
  797. package/docs/it/intlayer_with_astro_svelte.md +1 -1
  798. package/docs/it/intlayer_with_astro_vanilla.md +1 -1
  799. package/docs/it/intlayer_with_astro_vue.md +1 -1
  800. package/docs/it/intlayer_with_create_react_app.md +57 -38
  801. package/docs/it/intlayer_with_elysia.md +343 -0
  802. package/docs/it/intlayer_with_express.md +9 -3
  803. package/docs/it/intlayer_with_fastify.md +5 -3
  804. package/docs/it/intlayer_with_hono.md +44 -3
  805. package/docs/it/intlayer_with_lynx+react.md +14 -10
  806. package/docs/it/intlayer_with_nestjs.md +5 -3
  807. package/docs/it/intlayer_with_nextjs_14.md +240 -10
  808. package/docs/it/intlayer_with_nextjs_15.md +197 -21
  809. package/docs/it/intlayer_with_nextjs_16.md +107 -3
  810. package/docs/it/intlayer_with_nextjs_compiler.md +47 -5
  811. package/docs/it/intlayer_with_nextjs_no_locale_path.md +141 -5
  812. package/docs/it/intlayer_with_nextjs_page_router.md +7 -29
  813. package/docs/it/intlayer_with_nuxt.md +1 -1
  814. package/docs/it/intlayer_with_react_native+expo.md +1 -1
  815. package/docs/it/intlayer_with_react_router_v7.md +31 -1
  816. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +32 -2
  817. package/docs/it/intlayer_with_solid_start.md +13 -1
  818. package/docs/it/intlayer_with_storybook.md +1 -1
  819. package/docs/it/intlayer_with_svelte_kit.md +7 -1
  820. package/docs/it/intlayer_with_tanstack+solid.md +158 -7
  821. package/docs/it/intlayer_with_tanstack.md +322 -172
  822. package/docs/it/intlayer_with_vanilla.md +1 -1
  823. package/docs/it/intlayer_with_vite+lit.md +5 -1
  824. package/docs/it/intlayer_with_vite+preact.md +37 -5
  825. package/docs/it/intlayer_with_vite+react.md +5 -6
  826. package/docs/it/intlayer_with_vite+react_compiler.md +2 -0
  827. package/docs/it/intlayer_with_vite+solid.md +12 -32
  828. package/docs/it/intlayer_with_vite+svelte.md +28 -1
  829. package/docs/it/intlayer_with_vite+vanilla.md +3 -1
  830. package/docs/it/intlayer_with_vite+vue.md +22 -3
  831. package/docs/it/introduction.md +1 -1
  832. package/docs/it/live-sync.md +13 -2
  833. package/docs/it/mcp_server.md +34 -21
  834. package/docs/it/migration_from_i18next_to_intlayer.md +1 -1
  835. package/docs/it/migration_from_next-i18next_to_intlayer.md +1 -1
  836. package/docs/it/migration_from_next-intl_to_intlayer.md +1 -1
  837. package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  838. package/docs/it/migration_from_react-i18next_to_intlayer.md +1 -1
  839. package/docs/it/migration_from_vue-i18n_to_intlayer.md +1 -1
  840. package/docs/it/packages/elysia-intlayer/exports.md +136 -0
  841. package/docs/it/packages/elysia-intlayer/intlayer.md +139 -0
  842. package/docs/it/packages/intlayer/getDictionary.md +154 -0
  843. package/docs/it/packages/intlayer/getDictionaryAsync.md +166 -0
  844. package/docs/it/packages/intlayer/getEnumeration.md +2 -0
  845. package/docs/it/packages/intlayer/getIntlayer.md +197 -0
  846. package/docs/it/packages/intlayer/getIntlayerAsync.md +141 -0
  847. package/docs/it/packages/intlayer/getLocalizedPath.md +46 -5
  848. package/docs/it/packages/intlayer/getLocalizedUrl.md +6 -30
  849. package/docs/it/packages/intlayer/getMultilingualUrls.md +14 -2
  850. package/docs/it/packages/intlayer/getTranslation.md +2 -0
  851. package/docs/it/packages/next-intlayer/t.md +20 -31
  852. package/docs/it/packages/next-intlayer/useIntlayer.md +31 -0
  853. package/docs/it/packages/next-intlayer/useLocale.md +2 -0
  854. package/docs/it/packages/react-intlayer/useDictionary.md +0 -2
  855. package/docs/it/packages/react-intlayer/useI18n.md +31 -0
  856. package/docs/it/packages/react-intlayer/useIntlayer.md +0 -44
  857. package/docs/it/packages/vite-intlayer/intlayerMinify.md +1 -1
  858. package/docs/it/packages/vite-intlayer/intlayerPrune.md +3 -1
  859. package/docs/it/per_locale_file.md +13 -13
  860. package/docs/it/readme.md +3 -2
  861. package/docs/it/releases/v6.md +16 -2
  862. package/docs/it/releases/v8.md +2 -4
  863. package/docs/it/releases/v9.md +2 -0
  864. package/docs/it/self_hosting.md +61 -30
  865. package/docs/ja/agent_skills.md +6 -6
  866. package/docs/ja/analytics.md +57 -13
  867. package/docs/ja/benchmark/tanstack.md +6 -0
  868. package/docs/ja/bundle_optimization.md +2 -2
  869. package/docs/ja/cli/build.md +0 -14
  870. package/docs/ja/cli/ci.md +2 -0
  871. package/docs/ja/cli/doc-review.md +8 -0
  872. package/docs/ja/cli/fill.md +0 -8
  873. package/docs/ja/cli/index.md +2 -0
  874. package/docs/ja/cli/list_projects.md +0 -2
  875. package/docs/ja/cli/login.md +28 -0
  876. package/docs/ja/cli/push.md +0 -15
  877. package/docs/ja/compiler.md +14 -0
  878. package/docs/ja/configuration.md +19 -17
  879. package/docs/ja/custom_domains.md +32 -0
  880. package/docs/ja/custom_url_rewrites.md +7 -5
  881. package/docs/ja/dictionary/content_file.md +0 -13
  882. package/docs/ja/dictionary/html.md +19 -17
  883. package/docs/ja/dictionary/plurial.md +81 -115
  884. package/docs/ja/dynamic_dictionaries/variants.md +24 -0
  885. package/docs/ja/formatters.md +0 -164
  886. package/docs/ja/how_works_intlayer.md +7 -0
  887. package/docs/ja/interest_of_intlayer.md +19 -1
  888. package/docs/ja/intlayer_visual_editor.md +13 -1
  889. package/docs/ja/intlayer_with_adonisjs.md +5 -3
  890. package/docs/ja/intlayer_with_analog.md +20 -1
  891. package/docs/ja/intlayer_with_angular_19.md +18 -1
  892. package/docs/ja/intlayer_with_angular_21.md +18 -1
  893. package/docs/ja/intlayer_with_astro.md +42 -1
  894. package/docs/ja/intlayer_with_astro_lit.md +18 -1
  895. package/docs/ja/intlayer_with_astro_preact.md +18 -1
  896. package/docs/ja/intlayer_with_astro_react.md +18 -1
  897. package/docs/ja/intlayer_with_astro_solid.md +18 -1
  898. package/docs/ja/intlayer_with_astro_svelte.md +18 -1
  899. package/docs/ja/intlayer_with_astro_vanilla.md +18 -1
  900. package/docs/ja/intlayer_with_astro_vue.md +18 -1
  901. package/docs/ja/intlayer_with_create_react_app.md +55 -272
  902. package/docs/ja/intlayer_with_elysia.md +343 -0
  903. package/docs/ja/intlayer_with_express.md +11 -3
  904. package/docs/ja/intlayer_with_fastify.md +5 -3
  905. package/docs/ja/intlayer_with_hono.md +44 -3
  906. package/docs/ja/intlayer_with_lynx+react.md +28 -1
  907. package/docs/ja/intlayer_with_nestjs.md +19 -3
  908. package/docs/ja/intlayer_with_nextjs_14.md +199 -91
  909. package/docs/ja/intlayer_with_nextjs_15.md +218 -1
  910. package/docs/ja/intlayer_with_nextjs_16.md +124 -3
  911. package/docs/ja/intlayer_with_nextjs_compiler.md +72 -5
  912. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +170 -7
  913. package/docs/ja/intlayer_with_nextjs_page_router.md +3 -25
  914. package/docs/ja/intlayer_with_nuxt.md +18 -1
  915. package/docs/ja/intlayer_with_react_native+expo.md +1 -1
  916. package/docs/ja/intlayer_with_react_router_v7.md +148 -28
  917. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +47 -2
  918. package/docs/ja/intlayer_with_solid_start.md +13 -1
  919. package/docs/ja/intlayer_with_storybook.md +18 -1
  920. package/docs/ja/intlayer_with_svelte_kit.md +528 -13
  921. package/docs/ja/intlayer_with_tanstack+solid.md +175 -9
  922. package/docs/ja/intlayer_with_tanstack.md +402 -216
  923. package/docs/ja/intlayer_with_vanilla.md +18 -1
  924. package/docs/ja/intlayer_with_vite+lit.md +22 -1
  925. package/docs/ja/intlayer_with_vite+preact.md +18 -5
  926. package/docs/ja/intlayer_with_vite+react.md +523 -1
  927. package/docs/ja/intlayer_with_vite+react_compiler.md +2 -0
  928. package/docs/ja/intlayer_with_vite+solid.md +29 -43
  929. package/docs/ja/intlayer_with_vite+svelte.md +55 -13
  930. package/docs/ja/intlayer_with_vite+vanilla.md +20 -1
  931. package/docs/ja/intlayer_with_vite+vue.md +33 -6
  932. package/docs/ja/introduction.md +1 -1
  933. package/docs/ja/mcp_server.md +34 -19
  934. package/docs/ja/migration_from_i18next_to_intlayer.md +1 -1
  935. package/docs/ja/migration_from_next-i18next_to_intlayer.md +1 -1
  936. package/docs/ja/migration_from_next-intl_to_intlayer.md +1 -1
  937. package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  938. package/docs/ja/migration_from_react-i18next_to_intlayer.md +1 -1
  939. package/docs/ja/migration_from_vue-i18n_to_intlayer.md +1 -1
  940. package/docs/ja/packages/astro-intlayer/exports.md +0 -4
  941. package/docs/ja/packages/elysia-intlayer/exports.md +136 -0
  942. package/docs/ja/packages/elysia-intlayer/intlayer.md +139 -0
  943. package/docs/ja/packages/intlayer/getDictionary.md +155 -0
  944. package/docs/ja/packages/intlayer/getDictionaryAsync.md +166 -0
  945. package/docs/ja/packages/intlayer/getEnumeration.md +2 -0
  946. package/docs/ja/packages/intlayer/getIntlayer.md +197 -0
  947. package/docs/ja/packages/intlayer/getIntlayerAsync.md +141 -0
  948. package/docs/ja/packages/intlayer/getLocalizedPath.md +45 -5
  949. package/docs/ja/packages/intlayer/getLocalizedUrl.md +14 -30
  950. package/docs/ja/packages/intlayer/getMultilingualUrls.md +14 -50
  951. package/docs/ja/packages/intlayer/getPrefix.md +0 -2
  952. package/docs/ja/packages/intlayer/getTranslation.md +2 -0
  953. package/docs/ja/packages/next-intlayer/t.md +20 -0
  954. package/docs/ja/packages/next-intlayer/useIntlayer.md +31 -0
  955. package/docs/ja/packages/next-intlayer/useLocale.md +2 -0
  956. package/docs/ja/packages/react-intlayer/useDictionary.md +0 -2
  957. package/docs/ja/packages/react-intlayer/useI18n.md +31 -0
  958. package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -42
  959. package/docs/ja/packages/vite-intlayer/intlayerMinify.md +1 -1
  960. package/docs/ja/packages/vite-intlayer/intlayerPrune.md +3 -1
  961. package/docs/ja/per_locale_file.md +13 -13
  962. package/docs/ja/readme.md +3 -2
  963. package/docs/ja/releases/v6.md +16 -2
  964. package/docs/ja/self_hosting.md +67 -23
  965. package/docs/ko/agent_skills.md +7 -7
  966. package/docs/ko/analytics.md +57 -13
  967. package/docs/ko/benchmark/tanstack.md +6 -0
  968. package/docs/ko/bundle_optimization.md +2 -2
  969. package/docs/ko/cli/ci.md +2 -0
  970. package/docs/ko/cli/doc-review.md +8 -0
  971. package/docs/ko/cli/fill.md +0 -8
  972. package/docs/ko/cli/index.md +2 -0
  973. package/docs/ko/cli/login.md +28 -0
  974. package/docs/ko/cli/push.md +0 -15
  975. package/docs/ko/compat/next-i18next.md +2 -0
  976. package/docs/ko/compiler.md +14 -0
  977. package/docs/ko/configuration.md +19 -17
  978. package/docs/ko/custom_domains.md +34 -0
  979. package/docs/ko/custom_url_rewrites.md +7 -5
  980. package/docs/ko/dictionary/html.md +3 -1
  981. package/docs/ko/dictionary/markdown.md +7 -3
  982. package/docs/ko/dictionary/plurial.md +79 -111
  983. package/docs/ko/dynamic_dictionaries/variants.md +24 -0
  984. package/docs/ko/formatters.md +0 -184
  985. package/docs/ko/how_works_intlayer.md +7 -0
  986. package/docs/ko/intlayer_visual_editor.md +12 -0
  987. package/docs/ko/intlayer_with_adonisjs.md +5 -3
  988. package/docs/ko/intlayer_with_analog.md +3 -1
  989. package/docs/ko/intlayer_with_angular_19.md +1 -1
  990. package/docs/ko/intlayer_with_angular_21.md +1 -1
  991. package/docs/ko/intlayer_with_astro.md +109 -67
  992. package/docs/ko/intlayer_with_astro_lit.md +114 -70
  993. package/docs/ko/intlayer_with_astro_preact.md +111 -67
  994. package/docs/ko/intlayer_with_astro_react.md +107 -63
  995. package/docs/ko/intlayer_with_astro_solid.md +107 -63
  996. package/docs/ko/intlayer_with_astro_svelte.md +109 -65
  997. package/docs/ko/intlayer_with_astro_vanilla.md +108 -64
  998. package/docs/ko/intlayer_with_astro_vue.md +84 -64
  999. package/docs/ko/intlayer_with_create_react_app.md +53 -2
  1000. package/docs/ko/intlayer_with_elysia.md +343 -0
  1001. package/docs/ko/intlayer_with_express.md +11 -3
  1002. package/docs/ko/intlayer_with_fastify.md +5 -3
  1003. package/docs/ko/intlayer_with_hono.md +44 -3
  1004. package/docs/ko/intlayer_with_lynx+react.md +52 -1
  1005. package/docs/ko/intlayer_with_nestjs.md +19 -3
  1006. package/docs/ko/intlayer_with_nextjs_14.md +200 -51
  1007. package/docs/ko/intlayer_with_nextjs_15.md +157 -3
  1008. package/docs/ko/intlayer_with_nextjs_16.md +108 -1
  1009. package/docs/ko/intlayer_with_nextjs_compiler.md +374 -40
  1010. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +153 -11
  1011. package/docs/ko/intlayer_with_nextjs_page_router.md +14 -80
  1012. package/docs/ko/intlayer_with_nuxt.md +30 -30
  1013. package/docs/ko/intlayer_with_react_native+expo.md +3 -3
  1014. package/docs/ko/intlayer_with_react_router_v7.md +139 -107
  1015. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +276 -52
  1016. package/docs/ko/intlayer_with_solid_start.md +13 -1
  1017. package/docs/ko/intlayer_with_storybook.md +1 -5
  1018. package/docs/ko/intlayer_with_svelte_kit.md +39 -33
  1019. package/docs/ko/intlayer_with_tanstack+solid.md +160 -9
  1020. package/docs/ko/intlayer_with_tanstack.md +380 -183
  1021. package/docs/ko/intlayer_with_vanilla.md +1 -3
  1022. package/docs/ko/intlayer_with_vite+lit.md +5 -1
  1023. package/docs/ko/intlayer_with_vite+preact.md +37 -5
  1024. package/docs/ko/intlayer_with_vite+react.md +417 -2
  1025. package/docs/ko/intlayer_with_vite+react_compiler.md +2 -2
  1026. package/docs/ko/intlayer_with_vite+solid.md +82 -9
  1027. package/docs/ko/intlayer_with_vite+svelte.md +133 -100
  1028. package/docs/ko/intlayer_with_vite+vanilla.md +3 -3
  1029. package/docs/ko/intlayer_with_vite+vue.md +16 -1
  1030. package/docs/ko/introduction.md +1 -1
  1031. package/docs/ko/live-sync.md +0 -2
  1032. package/docs/ko/mcp_server.md +34 -21
  1033. package/docs/ko/migration_from_i18next_to_intlayer.md +1 -1
  1034. package/docs/ko/migration_from_next-i18next_to_intlayer.md +1 -1
  1035. package/docs/ko/migration_from_next-intl_to_intlayer.md +1 -1
  1036. package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  1037. package/docs/ko/migration_from_react-i18next_to_intlayer.md +1 -1
  1038. package/docs/ko/migration_from_vue-i18n_to_intlayer.md +1 -1
  1039. package/docs/ko/packages/elysia-intlayer/exports.md +136 -0
  1040. package/docs/ko/packages/elysia-intlayer/intlayer.md +139 -0
  1041. package/docs/ko/packages/express-intlayer/t.md +1 -69
  1042. package/docs/ko/packages/intlayer/getDictionary.md +155 -0
  1043. package/docs/ko/packages/intlayer/getDictionaryAsync.md +166 -0
  1044. package/docs/ko/packages/intlayer/getEnumeration.md +2 -0
  1045. package/docs/ko/packages/intlayer/getIntlayer.md +197 -0
  1046. package/docs/ko/packages/intlayer/getIntlayerAsync.md +141 -0
  1047. package/docs/ko/packages/intlayer/getLocaleLang.md +0 -2
  1048. package/docs/ko/packages/intlayer/getLocalizedPath.md +45 -5
  1049. package/docs/ko/packages/intlayer/getLocalizedUrl.md +14 -30
  1050. package/docs/ko/packages/intlayer/getMultilingualUrls.md +14 -35
  1051. package/docs/ko/packages/intlayer/getPrefix.md +0 -2
  1052. package/docs/ko/packages/intlayer/getTranslation.md +2 -0
  1053. package/docs/ko/packages/next-intlayer/t.md +20 -31
  1054. package/docs/ko/packages/next-intlayer/useIntlayer.md +31 -0
  1055. package/docs/ko/packages/next-intlayer/useLocale.md +2 -0
  1056. package/docs/ko/packages/next-intlayer/usePathname.md +0 -4
  1057. package/docs/ko/packages/react-intlayer/useDictionary.md +0 -2
  1058. package/docs/ko/packages/react-intlayer/useI18n.md +31 -0
  1059. package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -42
  1060. package/docs/ko/packages/vite-intlayer/intlayerMinify.md +1 -1
  1061. package/docs/ko/packages/vite-intlayer/intlayerPrune.md +3 -1
  1062. package/docs/ko/per_locale_file.md +13 -13
  1063. package/docs/ko/readme.md +3 -2
  1064. package/docs/ko/releases/v6.md +16 -2
  1065. package/docs/ko/releases/v8.md +2 -4
  1066. package/docs/ko/self_hosting.md +61 -30
  1067. package/docs/nl/bundle_optimization.md +2 -2
  1068. package/docs/nl/configuration.md +12 -9
  1069. package/docs/nl/intlayer_with_fastify.md +5 -3
  1070. package/docs/nl/intlayer_with_hono.md +5 -3
  1071. package/docs/pl/agent_skills.md +5 -5
  1072. package/docs/pl/analytics.md +28 -5
  1073. package/docs/pl/benchmark/tanstack.md +6 -0
  1074. package/docs/pl/bundle_optimization.md +2 -2
  1075. package/docs/pl/cli/ci.md +2 -0
  1076. package/docs/pl/cli/doc-review.md +9 -1
  1077. package/docs/pl/cli/fill.md +0 -8
  1078. package/docs/pl/cli/index.md +2 -0
  1079. package/docs/pl/cli/list_projects.md +0 -2
  1080. package/docs/pl/cli/login.md +28 -0
  1081. package/docs/pl/cli/watch.md +0 -2
  1082. package/docs/pl/compiler.md +16 -0
  1083. package/docs/pl/configuration.md +19 -17
  1084. package/docs/pl/custom_domains.md +31 -0
  1085. package/docs/pl/custom_url_rewrites.md +7 -5
  1086. package/docs/pl/dictionary/file.md +0 -166
  1087. package/docs/pl/dictionary/gender.md +0 -2
  1088. package/docs/pl/dictionary/html.md +18 -18
  1089. package/docs/pl/dictionary/insertion.md +0 -14
  1090. package/docs/pl/dictionary/markdown.md +31 -14
  1091. package/docs/pl/dictionary/plurial.md +87 -119
  1092. package/docs/pl/dynamic_dictionaries/variants.md +24 -0
  1093. package/docs/pl/formatters.md +12 -39
  1094. package/docs/pl/intlayer_with_adonisjs.md +5 -3
  1095. package/docs/pl/intlayer_with_analog.md +18 -1
  1096. package/docs/pl/intlayer_with_angular_19.md +18 -1
  1097. package/docs/pl/intlayer_with_angular_21.md +18 -1
  1098. package/docs/pl/intlayer_with_astro.md +114 -1
  1099. package/docs/pl/intlayer_with_astro_lit.md +18 -1
  1100. package/docs/pl/intlayer_with_astro_preact.md +24 -1
  1101. package/docs/pl/intlayer_with_astro_react.md +18 -1
  1102. package/docs/pl/intlayer_with_astro_solid.md +18 -1
  1103. package/docs/pl/intlayer_with_astro_svelte.md +18 -1
  1104. package/docs/pl/intlayer_with_astro_vanilla.md +18 -1
  1105. package/docs/pl/intlayer_with_astro_vue.md +18 -1
  1106. package/docs/pl/intlayer_with_create_react_app.md +43 -0
  1107. package/docs/pl/intlayer_with_elysia.md +343 -0
  1108. package/docs/pl/intlayer_with_express.md +5 -3
  1109. package/docs/pl/intlayer_with_fastify.md +5 -3
  1110. package/docs/pl/intlayer_with_hono.md +44 -3
  1111. package/docs/pl/intlayer_with_lynx+react.md +18 -1
  1112. package/docs/pl/intlayer_with_nextjs_14.md +144 -12
  1113. package/docs/pl/intlayer_with_nextjs_15.md +118 -5
  1114. package/docs/pl/intlayer_with_nextjs_16.md +123 -1
  1115. package/docs/pl/intlayer_with_nextjs_compiler.md +47 -5
  1116. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +159 -5
  1117. package/docs/pl/intlayer_with_nextjs_page_router.md +92 -37
  1118. package/docs/pl/intlayer_with_nuxt.md +18 -1
  1119. package/docs/pl/intlayer_with_react_native+expo.md +1 -1
  1120. package/docs/pl/intlayer_with_react_router_v7.md +48 -3
  1121. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +31 -27
  1122. package/docs/pl/intlayer_with_solid_start.md +13 -1
  1123. package/docs/pl/intlayer_with_storybook.md +18 -1
  1124. package/docs/pl/intlayer_with_svelte_kit.md +24 -1
  1125. package/docs/pl/intlayer_with_tanstack+solid.md +250 -7
  1126. package/docs/pl/intlayer_with_tanstack.md +416 -152
  1127. package/docs/pl/intlayer_with_vanilla.md +18 -1
  1128. package/docs/pl/intlayer_with_vite+lit.md +22 -1
  1129. package/docs/pl/intlayer_with_vite+preact.md +52 -1
  1130. package/docs/pl/intlayer_with_vite+react.md +22 -1
  1131. package/docs/pl/intlayer_with_vite+react_compiler.md +2 -0
  1132. package/docs/pl/intlayer_with_vite+solid.md +29 -28
  1133. package/docs/pl/intlayer_with_vite+svelte.md +43 -1
  1134. package/docs/pl/intlayer_with_vite+vanilla.md +20 -1
  1135. package/docs/pl/intlayer_with_vite+vue.md +24 -53
  1136. package/docs/pl/introduction.md +1 -1
  1137. package/docs/pl/mcp_server.md +34 -21
  1138. package/docs/pl/migration_from_i18next_to_intlayer.md +100 -1
  1139. package/docs/pl/migration_from_next-i18next_to_intlayer.md +1 -1
  1140. package/docs/pl/migration_from_next-intl_to_intlayer.md +1 -3
  1141. package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  1142. package/docs/pl/migration_from_react-i18next_to_intlayer.md +1 -1
  1143. package/docs/pl/migration_from_vue-i18n_to_intlayer.md +124 -1
  1144. package/docs/pl/packages/elysia-intlayer/exports.md +136 -0
  1145. package/docs/pl/packages/elysia-intlayer/intlayer.md +139 -0
  1146. package/docs/pl/packages/intlayer/getDictionary.md +154 -0
  1147. package/docs/pl/packages/intlayer/getDictionaryAsync.md +166 -0
  1148. package/docs/pl/packages/intlayer/getEnumeration.md +2 -0
  1149. package/docs/pl/packages/intlayer/getIntlayer.md +197 -0
  1150. package/docs/pl/packages/intlayer/getIntlayerAsync.md +141 -0
  1151. package/docs/pl/packages/intlayer/getLocalizedPath.md +46 -5
  1152. package/docs/pl/packages/intlayer/getLocalizedUrl.md +11 -25
  1153. package/docs/pl/packages/intlayer/getMultilingualUrls.md +6 -2
  1154. package/docs/pl/packages/intlayer/getTranslation.md +2 -0
  1155. package/docs/pl/packages/next-intlayer/t.md +20 -0
  1156. package/docs/pl/packages/next-intlayer/useIntlayer.md +6 -0
  1157. package/docs/pl/packages/react-intlayer/useDictionary.md +0 -2
  1158. package/docs/pl/packages/react-intlayer/useI18n.md +9 -0
  1159. package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -41
  1160. package/docs/pl/packages/vite-intlayer/intlayerMinify.md +1 -1
  1161. package/docs/pl/packages/vite-intlayer/intlayerPrune.md +3 -1
  1162. package/docs/pl/per_locale_file.md +13 -13
  1163. package/docs/pl/readme.md +3 -2
  1164. package/docs/pl/releases/v9.md +2 -0
  1165. package/docs/pl/self_hosting.md +61 -30
  1166. package/docs/pt/agent_skills.md +6 -6
  1167. package/docs/pt/analytics.md +28 -5
  1168. package/docs/pt/benchmark/tanstack.md +6 -0
  1169. package/docs/pt/bundle_optimization.md +2 -2
  1170. package/docs/pt/cli/ci.md +2 -0
  1171. package/docs/pt/cli/doc-review.md +9 -1
  1172. package/docs/pt/cli/fill.md +0 -8
  1173. package/docs/pt/cli/index.md +2 -0
  1174. package/docs/pt/cli/list_projects.md +0 -6
  1175. package/docs/pt/cli/login.md +28 -2
  1176. package/docs/pt/cli/watch.md +0 -2
  1177. package/docs/pt/compiler.md +16 -0
  1178. package/docs/pt/configuration.md +19 -17
  1179. package/docs/pt/custom_domains.md +34 -0
  1180. package/docs/pt/custom_url_rewrites.md +7 -5
  1181. package/docs/pt/dictionary/html.md +20 -18
  1182. package/docs/pt/dictionary/insertion.md +0 -14
  1183. package/docs/pt/dictionary/markdown.md +31 -14
  1184. package/docs/pt/dictionary/plurial.md +70 -273
  1185. package/docs/pt/dynamic_dictionaries/variants.md +24 -0
  1186. package/docs/pt/formatters.md +24 -137
  1187. package/docs/pt/how_works_intlayer.md +5 -0
  1188. package/docs/pt/intlayer_CMS.md +26 -21
  1189. package/docs/pt/intlayer_visual_editor.md +12 -2
  1190. package/docs/pt/intlayer_with_adonisjs.md +5 -3
  1191. package/docs/pt/intlayer_with_analog.md +1 -1
  1192. package/docs/pt/intlayer_with_angular_19.md +1 -1
  1193. package/docs/pt/intlayer_with_angular_21.md +1 -1
  1194. package/docs/pt/intlayer_with_astro.md +97 -1
  1195. package/docs/pt/intlayer_with_astro_lit.md +1 -9
  1196. package/docs/pt/intlayer_with_astro_preact.md +7 -1
  1197. package/docs/pt/intlayer_with_astro_react.md +1 -1
  1198. package/docs/pt/intlayer_with_astro_solid.md +1 -1
  1199. package/docs/pt/intlayer_with_astro_svelte.md +1 -1
  1200. package/docs/pt/intlayer_with_astro_vanilla.md +1 -1
  1201. package/docs/pt/intlayer_with_astro_vue.md +1 -1
  1202. package/docs/pt/intlayer_with_create_react_app.md +55 -35
  1203. package/docs/pt/intlayer_with_elysia.md +344 -0
  1204. package/docs/pt/intlayer_with_express.md +11 -3
  1205. package/docs/pt/intlayer_with_fastify.md +5 -3
  1206. package/docs/pt/intlayer_with_hono.md +44 -3
  1207. package/docs/pt/intlayer_with_lynx+react.md +14 -10
  1208. package/docs/pt/intlayer_with_nestjs.md +19 -3
  1209. package/docs/pt/intlayer_with_nextjs_14.md +238 -8
  1210. package/docs/pt/intlayer_with_nextjs_15.md +201 -1
  1211. package/docs/pt/intlayer_with_nextjs_16.md +106 -1
  1212. package/docs/pt/intlayer_with_nextjs_compiler.md +45 -5
  1213. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +142 -5
  1214. package/docs/pt/intlayer_with_nextjs_page_router.md +5 -29
  1215. package/docs/pt/intlayer_with_nuxt.md +1 -1
  1216. package/docs/pt/intlayer_with_react_native+expo.md +1 -1
  1217. package/docs/pt/intlayer_with_react_router_v7.md +38 -31
  1218. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +32 -4
  1219. package/docs/pt/intlayer_with_solid_start.md +13 -1
  1220. package/docs/pt/intlayer_with_storybook.md +1 -1
  1221. package/docs/pt/intlayer_with_svelte_kit.md +7 -1
  1222. package/docs/pt/intlayer_with_tanstack+solid.md +158 -7
  1223. package/docs/pt/intlayer_with_tanstack.md +333 -189
  1224. package/docs/pt/intlayer_with_vanilla.md +1 -1
  1225. package/docs/pt/intlayer_with_vite+lit.md +5 -1
  1226. package/docs/pt/intlayer_with_vite+preact.md +35 -1
  1227. package/docs/pt/intlayer_with_vite+react.md +3 -1
  1228. package/docs/pt/intlayer_with_vite+react_compiler.md +2 -0
  1229. package/docs/pt/intlayer_with_vite+solid.md +12 -37
  1230. package/docs/pt/intlayer_with_vite+svelte.md +5 -1
  1231. package/docs/pt/intlayer_with_vite+vanilla.md +3 -1
  1232. package/docs/pt/intlayer_with_vite+vue.md +25 -53
  1233. package/docs/pt/live-sync.md +13 -2
  1234. package/docs/pt/mcp_server.md +34 -21
  1235. package/docs/pt/migration_from_i18next_to_intlayer.md +1 -1
  1236. package/docs/pt/migration_from_next-i18next_to_intlayer.md +1 -1
  1237. package/docs/pt/migration_from_next-intl_to_intlayer.md +1 -1
  1238. package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  1239. package/docs/pt/migration_from_react-i18next_to_intlayer.md +1 -1
  1240. package/docs/pt/migration_from_vue-i18n_to_intlayer.md +1 -1
  1241. package/docs/pt/packages/elysia-intlayer/exports.md +136 -0
  1242. package/docs/pt/packages/elysia-intlayer/intlayer.md +139 -0
  1243. package/docs/pt/packages/intlayer/getDictionary.md +155 -0
  1244. package/docs/pt/packages/intlayer/getDictionaryAsync.md +166 -0
  1245. package/docs/pt/packages/intlayer/getEnumeration.md +2 -0
  1246. package/docs/pt/packages/intlayer/getIntlayer.md +197 -0
  1247. package/docs/pt/packages/intlayer/getIntlayerAsync.md +141 -0
  1248. package/docs/pt/packages/intlayer/getLocalizedPath.md +46 -5
  1249. package/docs/pt/packages/intlayer/getLocalizedUrl.md +6 -30
  1250. package/docs/pt/packages/intlayer/getMultilingualUrls.md +14 -2
  1251. package/docs/pt/packages/intlayer/getTranslation.md +2 -0
  1252. package/docs/pt/packages/next-intlayer/t.md +20 -31
  1253. package/docs/pt/packages/next-intlayer/useIntlayer.md +31 -0
  1254. package/docs/pt/packages/next-intlayer/useLocale.md +2 -0
  1255. package/docs/pt/packages/react-intlayer/useDictionary.md +0 -2
  1256. package/docs/pt/packages/react-intlayer/useI18n.md +31 -0
  1257. package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -42
  1258. package/docs/pt/packages/vite-intlayer/intlayerMinify.md +1 -1
  1259. package/docs/pt/packages/vite-intlayer/intlayerPrune.md +3 -1
  1260. package/docs/pt/per_locale_file.md +13 -13
  1261. package/docs/pt/readme.md +3 -2
  1262. package/docs/pt/releases/v6.md +16 -2
  1263. package/docs/pt/releases/v9.md +2 -0
  1264. package/docs/pt/self_hosting.md +62 -31
  1265. package/docs/ru/agent_skills.md +7 -7
  1266. package/docs/ru/analytics.md +57 -13
  1267. package/docs/ru/benchmark/tanstack.md +6 -0
  1268. package/docs/ru/bundle_optimization.md +2 -2
  1269. package/docs/ru/cli/ci.md +2 -0
  1270. package/docs/ru/cli/doc-review.md +7 -1
  1271. package/docs/ru/cli/fill.md +0 -8
  1272. package/docs/ru/cli/index.md +2 -0
  1273. package/docs/ru/cli/list_projects.md +0 -2
  1274. package/docs/ru/cli/login.md +28 -0
  1275. package/docs/ru/cli/watch.md +0 -2
  1276. package/docs/ru/compiler.md +14 -0
  1277. package/docs/ru/configuration.md +19 -17
  1278. package/docs/ru/custom_domains.md +34 -0
  1279. package/docs/ru/custom_url_rewrites.md +7 -5
  1280. package/docs/ru/dictionary/condition.md +0 -163
  1281. package/docs/ru/dictionary/enumeration.md +0 -183
  1282. package/docs/ru/dictionary/file.md +0 -166
  1283. package/docs/ru/dictionary/html.md +16 -14
  1284. package/docs/ru/dictionary/markdown.md +10 -3
  1285. package/docs/ru/dictionary/plurial.md +74 -276
  1286. package/docs/ru/dictionary/translation.md +0 -133
  1287. package/docs/ru/dynamic_dictionaries/variants.md +24 -0
  1288. package/docs/ru/formatters.md +0 -158
  1289. package/docs/ru/how_works_intlayer.md +8 -1
  1290. package/docs/ru/intlayer_visual_editor.md +12 -0
  1291. package/docs/ru/intlayer_with_adonisjs.md +5 -3
  1292. package/docs/ru/intlayer_with_analog.md +1 -1
  1293. package/docs/ru/intlayer_with_angular_19.md +1 -1
  1294. package/docs/ru/intlayer_with_angular_21.md +1 -1
  1295. package/docs/ru/intlayer_with_astro.md +25 -1
  1296. package/docs/ru/intlayer_with_astro_lit.md +28 -4
  1297. package/docs/ru/intlayer_with_astro_preact.md +25 -1
  1298. package/docs/ru/intlayer_with_astro_react.md +25 -1
  1299. package/docs/ru/intlayer_with_astro_solid.md +25 -1
  1300. package/docs/ru/intlayer_with_astro_svelte.md +25 -1
  1301. package/docs/ru/intlayer_with_astro_vanilla.md +25 -1
  1302. package/docs/ru/intlayer_with_astro_vue.md +1 -1
  1303. package/docs/ru/intlayer_with_create_react_app.md +55 -32
  1304. package/docs/ru/intlayer_with_elysia.md +343 -0
  1305. package/docs/ru/intlayer_with_express.md +7 -91
  1306. package/docs/ru/intlayer_with_fastify.md +5 -3
  1307. package/docs/ru/intlayer_with_hono.md +48 -3
  1308. package/docs/ru/intlayer_with_lynx+react.md +14 -1
  1309. package/docs/ru/intlayer_with_nestjs.md +19 -3
  1310. package/docs/ru/intlayer_with_nextjs_14.md +244 -37
  1311. package/docs/ru/intlayer_with_nextjs_15.md +181 -5
  1312. package/docs/ru/intlayer_with_nextjs_16.md +106 -1
  1313. package/docs/ru/intlayer_with_nextjs_compiler.md +47 -5
  1314. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +150 -5
  1315. package/docs/ru/intlayer_with_nextjs_page_router.md +12 -85
  1316. package/docs/ru/intlayer_with_nuxt.md +1 -1
  1317. package/docs/ru/intlayer_with_react_native+expo.md +1 -1
  1318. package/docs/ru/intlayer_with_react_router_v7.md +31 -1
  1319. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +32 -4
  1320. package/docs/ru/intlayer_with_solid_start.md +13 -1
  1321. package/docs/ru/intlayer_with_storybook.md +1 -1
  1322. package/docs/ru/intlayer_with_svelte_kit.md +7 -1
  1323. package/docs/ru/intlayer_with_tanstack+solid.md +160 -9
  1324. package/docs/ru/intlayer_with_tanstack.md +343 -171
  1325. package/docs/ru/intlayer_with_vanilla.md +1 -1
  1326. package/docs/ru/intlayer_with_vite+lit.md +5 -1
  1327. package/docs/ru/intlayer_with_vite+preact.md +35 -5
  1328. package/docs/ru/intlayer_with_vite+react.md +3 -1
  1329. package/docs/ru/intlayer_with_vite+react_compiler.md +2 -0
  1330. package/docs/ru/intlayer_with_vite+solid.md +12 -28
  1331. package/docs/ru/intlayer_with_vite+svelte.md +30 -1
  1332. package/docs/ru/intlayer_with_vite+vanilla.md +3 -1
  1333. package/docs/ru/intlayer_with_vite+vue.md +11 -3
  1334. package/docs/ru/introduction.md +1 -1
  1335. package/docs/ru/mcp_server.md +34 -21
  1336. package/docs/ru/migration_from_i18next_to_intlayer.md +1 -1
  1337. package/docs/ru/migration_from_next-i18next_to_intlayer.md +1 -1
  1338. package/docs/ru/migration_from_next-intl_to_intlayer.md +1 -1
  1339. package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  1340. package/docs/ru/migration_from_react-i18next_to_intlayer.md +1 -1
  1341. package/docs/ru/migration_from_vue-i18n_to_intlayer.md +1 -1
  1342. package/docs/ru/packages/elysia-intlayer/exports.md +136 -0
  1343. package/docs/ru/packages/elysia-intlayer/intlayer.md +139 -0
  1344. package/docs/ru/packages/intlayer/getDictionary.md +155 -0
  1345. package/docs/ru/packages/intlayer/getDictionaryAsync.md +166 -0
  1346. package/docs/ru/packages/intlayer/getEnumeration.md +2 -0
  1347. package/docs/ru/packages/intlayer/getIntlayer.md +197 -0
  1348. package/docs/ru/packages/intlayer/getIntlayerAsync.md +141 -0
  1349. package/docs/ru/packages/intlayer/getLocalizedPath.md +45 -5
  1350. package/docs/ru/packages/intlayer/getLocalizedUrl.md +6 -30
  1351. package/docs/ru/packages/intlayer/getMultilingualUrls.md +6 -2
  1352. package/docs/ru/packages/intlayer/getTranslation.md +2 -0
  1353. package/docs/ru/packages/next-intlayer/t.md +20 -31
  1354. package/docs/ru/packages/next-intlayer/useIntlayer.md +31 -0
  1355. package/docs/ru/packages/next-intlayer/useLocale.md +2 -0
  1356. package/docs/ru/packages/react-intlayer/useDictionary.md +0 -2
  1357. package/docs/ru/packages/react-intlayer/useI18n.md +31 -0
  1358. package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -42
  1359. package/docs/ru/packages/react-intlayer/useLocale.md +0 -50
  1360. package/docs/ru/packages/vite-intlayer/intlayerMinify.md +1 -1
  1361. package/docs/ru/packages/vite-intlayer/intlayerPrune.md +3 -1
  1362. package/docs/ru/per_locale_file.md +14 -13
  1363. package/docs/ru/readme.md +3 -2
  1364. package/docs/ru/releases/v6.md +16 -5
  1365. package/docs/ru/releases/v9.md +2 -0
  1366. package/docs/ru/self_hosting.md +61 -30
  1367. package/docs/tr/agent_skills.md +6 -6
  1368. package/docs/tr/analytics.md +28 -5
  1369. package/docs/tr/benchmark/tanstack.md +6 -0
  1370. package/docs/tr/bundle_optimization.md +2 -2
  1371. package/docs/tr/cli/ci.md +2 -0
  1372. package/docs/tr/cli/doc-review.md +7 -1
  1373. package/docs/tr/cli/fill.md +0 -8
  1374. package/docs/tr/cli/index.md +2 -0
  1375. package/docs/tr/cli/list_projects.md +0 -6
  1376. package/docs/tr/cli/login.md +28 -0
  1377. package/docs/tr/cli/watch.md +0 -2
  1378. package/docs/tr/compiler.md +14 -0
  1379. package/docs/tr/configuration.md +19 -17
  1380. package/docs/tr/custom_domains.md +28 -0
  1381. package/docs/tr/custom_url_rewrites.md +7 -5
  1382. package/docs/tr/dictionary/html.md +35 -14
  1383. package/docs/tr/dictionary/markdown.md +31 -14
  1384. package/docs/tr/dictionary/plurial.md +83 -115
  1385. package/docs/tr/dynamic_dictionaries/variants.md +24 -0
  1386. package/docs/tr/formatters.md +0 -145
  1387. package/docs/tr/intlayer_visual_editor.md +12 -0
  1388. package/docs/tr/intlayer_with_adonisjs.md +5 -3
  1389. package/docs/tr/intlayer_with_analog.md +3 -1
  1390. package/docs/tr/intlayer_with_angular_19.md +1 -1
  1391. package/docs/tr/intlayer_with_angular_21.md +1 -1
  1392. package/docs/tr/intlayer_with_astro.md +108 -1
  1393. package/docs/tr/intlayer_with_astro_lit.md +9 -9
  1394. package/docs/tr/intlayer_with_astro_preact.md +15 -9
  1395. package/docs/tr/intlayer_with_astro_react.md +9 -9
  1396. package/docs/tr/intlayer_with_astro_solid.md +9 -9
  1397. package/docs/tr/intlayer_with_astro_svelte.md +9 -9
  1398. package/docs/tr/intlayer_with_astro_vanilla.md +9 -9
  1399. package/docs/tr/intlayer_with_astro_vue.md +1 -1
  1400. package/docs/tr/intlayer_with_create_react_app.md +55 -0
  1401. package/docs/tr/intlayer_with_elysia.md +343 -0
  1402. package/docs/tr/intlayer_with_express.md +5 -3
  1403. package/docs/tr/intlayer_with_fastify.md +5 -3
  1404. package/docs/tr/intlayer_with_hono.md +44 -3
  1405. package/docs/tr/intlayer_with_lynx+react.md +9 -1
  1406. package/docs/tr/intlayer_with_nestjs.md +19 -3
  1407. package/docs/tr/intlayer_with_nextjs_14.md +362 -5
  1408. package/docs/tr/intlayer_with_nextjs_15.md +202 -1
  1409. package/docs/tr/intlayer_with_nextjs_16.md +106 -1
  1410. package/docs/tr/intlayer_with_nextjs_compiler.md +72 -5
  1411. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +124 -14
  1412. package/docs/tr/intlayer_with_nextjs_page_router.md +5 -29
  1413. package/docs/tr/intlayer_with_nuxt.md +1 -1
  1414. package/docs/tr/intlayer_with_react_native+expo.md +1 -1
  1415. package/docs/tr/intlayer_with_react_router_v7.md +31 -1
  1416. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +32 -4
  1417. package/docs/tr/intlayer_with_solid_start.md +13 -1
  1418. package/docs/tr/intlayer_with_storybook.md +1 -1
  1419. package/docs/tr/intlayer_with_svelte_kit.md +7 -1
  1420. package/docs/tr/intlayer_with_tanstack+solid.md +233 -7
  1421. package/docs/tr/intlayer_with_tanstack.md +352 -158
  1422. package/docs/tr/intlayer_with_vanilla.md +1 -1
  1423. package/docs/tr/intlayer_with_vite+lit.md +5 -1
  1424. package/docs/tr/intlayer_with_vite+preact.md +35 -5
  1425. package/docs/tr/intlayer_with_vite+react.md +5 -1
  1426. package/docs/tr/intlayer_with_vite+react_compiler.md +2 -0
  1427. package/docs/tr/intlayer_with_vite+solid.md +12 -28
  1428. package/docs/tr/intlayer_with_vite+svelte.md +30 -1
  1429. package/docs/tr/intlayer_with_vite+vanilla.md +3 -1
  1430. package/docs/tr/intlayer_with_vite+vue.md +16 -43
  1431. package/docs/tr/introduction.md +1 -1
  1432. package/docs/tr/live-sync.md +13 -2
  1433. package/docs/tr/mcp_server.md +34 -21
  1434. package/docs/tr/migration_from_i18next_to_intlayer.md +1 -1
  1435. package/docs/tr/migration_from_next-i18next_to_intlayer.md +1 -1
  1436. package/docs/tr/migration_from_next-intl_to_intlayer.md +1 -1
  1437. package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  1438. package/docs/tr/migration_from_react-i18next_to_intlayer.md +1 -1
  1439. package/docs/tr/migration_from_vue-i18n_to_intlayer.md +1 -1
  1440. package/docs/tr/packages/elysia-intlayer/exports.md +136 -0
  1441. package/docs/tr/packages/elysia-intlayer/intlayer.md +139 -0
  1442. package/docs/tr/packages/intlayer/getDictionary.md +155 -0
  1443. package/docs/tr/packages/intlayer/getDictionaryAsync.md +166 -0
  1444. package/docs/tr/packages/intlayer/getEnumeration.md +2 -0
  1445. package/docs/tr/packages/intlayer/getIntlayer.md +197 -0
  1446. package/docs/tr/packages/intlayer/getIntlayerAsync.md +141 -0
  1447. package/docs/tr/packages/intlayer/getLocalizedPath.md +46 -5
  1448. package/docs/tr/packages/intlayer/getLocalizedUrl.md +11 -0
  1449. package/docs/tr/packages/intlayer/getMultilingualUrls.md +6 -2
  1450. package/docs/tr/packages/intlayer/getTranslation.md +2 -0
  1451. package/docs/tr/packages/next-intlayer/t.md +20 -0
  1452. package/docs/tr/packages/next-intlayer/useIntlayer.md +31 -0
  1453. package/docs/tr/packages/next-intlayer/useLocale.md +2 -0
  1454. package/docs/tr/packages/react-intlayer/useDictionary.md +0 -2
  1455. package/docs/tr/packages/react-intlayer/useI18n.md +31 -0
  1456. package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -42
  1457. package/docs/tr/packages/solid-intlayer/useRewriteURL.md +0 -2
  1458. package/docs/tr/packages/vite-intlayer/intlayerMinify.md +1 -1
  1459. package/docs/tr/packages/vite-intlayer/intlayerPrune.md +3 -1
  1460. package/docs/tr/per_locale_file.md +13 -13
  1461. package/docs/tr/readme.md +3 -2
  1462. package/docs/tr/releases/v6.md +16 -2
  1463. package/docs/tr/self_hosting.md +68 -25
  1464. package/docs/uk/CI_CD.md +2 -0
  1465. package/docs/uk/agent_skills.md +5 -5
  1466. package/docs/uk/analytics.md +28 -5
  1467. package/docs/uk/benchmark/tanstack.md +6 -0
  1468. package/docs/uk/bundle_optimization.md +2 -2
  1469. package/docs/uk/cli/ci.md +2 -0
  1470. package/docs/uk/cli/doc-review.md +9 -1
  1471. package/docs/uk/cli/fill.md +0 -8
  1472. package/docs/uk/cli/index.md +2 -0
  1473. package/docs/uk/cli/login.md +28 -0
  1474. package/docs/uk/compiler.md +14 -0
  1475. package/docs/uk/configuration.md +19 -17
  1476. package/docs/uk/custom_domains.md +35 -0
  1477. package/docs/uk/custom_url_rewrites.md +7 -5
  1478. package/docs/uk/dictionary/file.md +0 -166
  1479. package/docs/uk/dictionary/gender.md +0 -212
  1480. package/docs/uk/dictionary/html.md +134 -16
  1481. package/docs/uk/dictionary/markdown.md +31 -14
  1482. package/docs/uk/dictionary/plurial.md +85 -116
  1483. package/docs/uk/dynamic_dictionaries/variants.md +24 -0
  1484. package/docs/uk/formatters.md +0 -139
  1485. package/docs/uk/how_works_intlayer.md +2 -0
  1486. package/docs/uk/interest_of_intlayer.md +1 -3
  1487. package/docs/uk/intlayer_with_adonisjs.md +5 -3
  1488. package/docs/uk/intlayer_with_analog.md +3 -1
  1489. package/docs/uk/intlayer_with_angular_19.md +1 -1
  1490. package/docs/uk/intlayer_with_angular_21.md +1 -1
  1491. package/docs/uk/intlayer_with_astro.md +25 -1
  1492. package/docs/uk/intlayer_with_astro_lit.md +1 -1
  1493. package/docs/uk/intlayer_with_astro_preact.md +7 -1
  1494. package/docs/uk/intlayer_with_astro_react.md +1 -1
  1495. package/docs/uk/intlayer_with_astro_solid.md +1 -1
  1496. package/docs/uk/intlayer_with_astro_svelte.md +1 -1
  1497. package/docs/uk/intlayer_with_astro_vanilla.md +1 -1
  1498. package/docs/uk/intlayer_with_astro_vue.md +1 -1
  1499. package/docs/uk/intlayer_with_create_react_app.md +43 -0
  1500. package/docs/uk/intlayer_with_elysia.md +343 -0
  1501. package/docs/uk/intlayer_with_express.md +5 -3
  1502. package/docs/uk/intlayer_with_fastify.md +5 -3
  1503. package/docs/uk/intlayer_with_hono.md +44 -3
  1504. package/docs/uk/intlayer_with_lynx+react.md +1 -3
  1505. package/docs/uk/intlayer_with_nestjs.md +5 -3
  1506. package/docs/uk/intlayer_with_nextjs_14.md +127 -8
  1507. package/docs/uk/intlayer_with_nextjs_15.md +103 -243
  1508. package/docs/uk/intlayer_with_nextjs_16.md +106 -1
  1509. package/docs/uk/intlayer_with_nextjs_compiler.md +72 -5
  1510. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +126 -5
  1511. package/docs/uk/intlayer_with_nextjs_page_router.md +5 -29
  1512. package/docs/uk/intlayer_with_nuxt.md +30 -1
  1513. package/docs/uk/intlayer_with_react_native+expo.md +1 -1
  1514. package/docs/uk/intlayer_with_react_router_v7.md +29 -1
  1515. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +32 -4
  1516. package/docs/uk/intlayer_with_solid_start.md +13 -1
  1517. package/docs/uk/intlayer_with_storybook.md +1 -1
  1518. package/docs/uk/intlayer_with_svelte_kit.md +3 -1
  1519. package/docs/uk/intlayer_with_tanstack+solid.md +234 -8
  1520. package/docs/uk/intlayer_with_tanstack.md +382 -160
  1521. package/docs/uk/intlayer_with_vanilla.md +1 -1
  1522. package/docs/uk/intlayer_with_vite+lit.md +5 -1
  1523. package/docs/uk/intlayer_with_vite+preact.md +7 -5
  1524. package/docs/uk/intlayer_with_vite+react.md +5 -1
  1525. package/docs/uk/intlayer_with_vite+react_compiler.md +2 -0
  1526. package/docs/uk/intlayer_with_vite+solid.md +12 -28
  1527. package/docs/uk/intlayer_with_vite+svelte.md +5 -1
  1528. package/docs/uk/intlayer_with_vite+vanilla.md +3 -1
  1529. package/docs/uk/intlayer_with_vite+vue.md +9 -3
  1530. package/docs/uk/introduction.md +1 -1
  1531. package/docs/uk/mcp_server.md +34 -21
  1532. package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +1 -1
  1533. package/docs/uk/packages/elysia-intlayer/exports.md +136 -0
  1534. package/docs/uk/packages/elysia-intlayer/intlayer.md +139 -0
  1535. package/docs/uk/packages/intlayer/getDictionary.md +155 -0
  1536. package/docs/uk/packages/intlayer/getDictionaryAsync.md +166 -0
  1537. package/docs/uk/packages/intlayer/getEnumeration.md +2 -0
  1538. package/docs/uk/packages/intlayer/getIntlayer.md +197 -0
  1539. package/docs/uk/packages/intlayer/getIntlayerAsync.md +141 -0
  1540. package/docs/uk/packages/intlayer/getLocalizedPath.md +45 -5
  1541. package/docs/uk/packages/intlayer/getTranslation.md +2 -0
  1542. package/docs/uk/packages/next-intlayer/t.md +20 -2
  1543. package/docs/uk/packages/next-intlayer/useIntlayer.md +31 -0
  1544. package/docs/uk/packages/react-intlayer/useDictionary.md +0 -2
  1545. package/docs/uk/packages/react-intlayer/useI18n.md +31 -0
  1546. package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -42
  1547. package/docs/uk/packages/vite-intlayer/intlayerMinify.md +1 -1
  1548. package/docs/uk/packages/vite-intlayer/intlayerPrune.md +3 -1
  1549. package/docs/uk/readme.md +3 -2
  1550. package/docs/uk/releases/v8.md +2 -4
  1551. package/docs/uk/releases/v9.md +2 -0
  1552. package/docs/uk/self_hosting.md +61 -29
  1553. package/docs/ur/bundle_optimization.md +2 -2
  1554. package/docs/ur/configuration.md +12 -9
  1555. package/docs/ur/intlayer_with_fastify.md +5 -3
  1556. package/docs/ur/intlayer_with_hono.md +5 -3
  1557. package/docs/ur/introduction.md +1 -1
  1558. package/docs/vi/agent_skills.md +6 -6
  1559. package/docs/vi/analytics.md +28 -5
  1560. package/docs/vi/benchmark/tanstack.md +6 -0
  1561. package/docs/vi/bundle_optimization.md +2 -2
  1562. package/docs/vi/cli/ci.md +2 -0
  1563. package/docs/vi/cli/doc-review.md +9 -1
  1564. package/docs/vi/cli/fill.md +0 -8
  1565. package/docs/vi/cli/index.md +2 -0
  1566. package/docs/vi/cli/list_projects.md +0 -2
  1567. package/docs/vi/cli/login.md +28 -2
  1568. package/docs/vi/compiler.md +14 -0
  1569. package/docs/vi/configuration.md +19 -17
  1570. package/docs/vi/custom_domains.md +33 -0
  1571. package/docs/vi/custom_url_rewrites.md +7 -5
  1572. package/docs/vi/dictionary/file.md +0 -166
  1573. package/docs/vi/dictionary/gender.md +0 -2
  1574. package/docs/vi/dictionary/html.md +134 -16
  1575. package/docs/vi/dictionary/insertion.md +0 -14
  1576. package/docs/vi/dictionary/markdown.md +31 -14
  1577. package/docs/vi/dictionary/plurial.md +81 -113
  1578. package/docs/vi/dynamic_dictionaries/variants.md +24 -0
  1579. package/docs/vi/formatters.md +12 -39
  1580. package/docs/vi/interest_of_intlayer.md +1 -3
  1581. package/docs/vi/intlayer_with_adonisjs.md +5 -3
  1582. package/docs/vi/intlayer_with_analog.md +3 -1
  1583. package/docs/vi/intlayer_with_angular_19.md +1 -1
  1584. package/docs/vi/intlayer_with_angular_21.md +1 -1
  1585. package/docs/vi/intlayer_with_astro.md +25 -1
  1586. package/docs/vi/intlayer_with_astro_lit.md +1 -1
  1587. package/docs/vi/intlayer_with_astro_preact.md +7 -1
  1588. package/docs/vi/intlayer_with_astro_react.md +1 -1
  1589. package/docs/vi/intlayer_with_astro_solid.md +1 -1
  1590. package/docs/vi/intlayer_with_astro_svelte.md +1 -1
  1591. package/docs/vi/intlayer_with_astro_vanilla.md +1 -1
  1592. package/docs/vi/intlayer_with_astro_vue.md +1 -1
  1593. package/docs/vi/intlayer_with_create_react_app.md +43 -0
  1594. package/docs/vi/intlayer_with_elysia.md +343 -0
  1595. package/docs/vi/intlayer_with_fastify.md +5 -3
  1596. package/docs/vi/intlayer_with_hono.md +44 -3
  1597. package/docs/vi/intlayer_with_lynx+react.md +1 -1
  1598. package/docs/vi/intlayer_with_nextjs_14.md +127 -8
  1599. package/docs/vi/intlayer_with_nextjs_15.md +138 -148
  1600. package/docs/vi/intlayer_with_nextjs_16.md +106 -1
  1601. package/docs/vi/intlayer_with_nextjs_compiler.md +72 -5
  1602. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +162 -5
  1603. package/docs/vi/intlayer_with_nextjs_page_router.md +68 -30
  1604. package/docs/vi/intlayer_with_nuxt.md +30 -1
  1605. package/docs/vi/intlayer_with_react_native+expo.md +1 -1
  1606. package/docs/vi/intlayer_with_react_router_v7.md +31 -1
  1607. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +148 -53
  1608. package/docs/vi/intlayer_with_solid_start.md +13 -1
  1609. package/docs/vi/intlayer_with_storybook.md +1 -1
  1610. package/docs/vi/intlayer_with_svelte_kit.md +7 -1
  1611. package/docs/vi/intlayer_with_tanstack+solid.md +233 -7
  1612. package/docs/vi/intlayer_with_tanstack.md +413 -168
  1613. package/docs/vi/intlayer_with_vanilla.md +1 -1
  1614. package/docs/vi/intlayer_with_vite+lit.md +5 -1
  1615. package/docs/vi/intlayer_with_vite+preact.md +29 -5
  1616. package/docs/vi/intlayer_with_vite+react.md +6 -4
  1617. package/docs/vi/intlayer_with_vite+react_compiler.md +2 -0
  1618. package/docs/vi/intlayer_with_vite+solid.md +12 -28
  1619. package/docs/vi/intlayer_with_vite+svelte.md +28 -1
  1620. package/docs/vi/intlayer_with_vite+vanilla.md +3 -1
  1621. package/docs/vi/intlayer_with_vite+vue.md +14 -3
  1622. package/docs/vi/mcp_server.md +34 -21
  1623. package/docs/vi/packages/elysia-intlayer/exports.md +136 -0
  1624. package/docs/vi/packages/elysia-intlayer/intlayer.md +139 -0
  1625. package/docs/vi/packages/intlayer/getDictionary.md +155 -0
  1626. package/docs/vi/packages/intlayer/getDictionaryAsync.md +166 -0
  1627. package/docs/vi/packages/intlayer/getEnumeration.md +2 -0
  1628. package/docs/vi/packages/intlayer/getIntlayer.md +197 -0
  1629. package/docs/vi/packages/intlayer/getIntlayerAsync.md +141 -0
  1630. package/docs/vi/packages/intlayer/getLocalizedPath.md +46 -5
  1631. package/docs/vi/packages/intlayer/getLocalizedUrl.md +11 -32
  1632. package/docs/vi/packages/intlayer/getMultilingualUrls.md +14 -2
  1633. package/docs/vi/packages/intlayer/getTranslation.md +2 -0
  1634. package/docs/vi/packages/next-intlayer/t.md +20 -0
  1635. package/docs/vi/packages/next-intlayer/useIntlayer.md +31 -0
  1636. package/docs/vi/packages/react-intlayer/useDictionary.md +0 -2
  1637. package/docs/vi/packages/react-intlayer/useI18n.md +31 -0
  1638. package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -42
  1639. package/docs/vi/packages/vite-intlayer/intlayerMinify.md +1 -1
  1640. package/docs/vi/packages/vite-intlayer/intlayerPrune.md +3 -1
  1641. package/docs/vi/per_locale_file.md +13 -13
  1642. package/docs/vi/readme.md +3 -2
  1643. package/docs/vi/self_hosting.md +61 -30
  1644. package/docs/zh/agent_skills.md +7 -7
  1645. package/docs/zh/analytics.md +57 -13
  1646. package/docs/zh/benchmark/tanstack.md +6 -0
  1647. package/docs/zh/bundle_optimization.md +2 -2
  1648. package/docs/zh/cli/ci.md +2 -0
  1649. package/docs/zh/cli/doc-review.md +7 -1
  1650. package/docs/zh/cli/fill.md +0 -8
  1651. package/docs/zh/cli/index.md +2 -0
  1652. package/docs/zh/cli/list_projects.md +0 -2
  1653. package/docs/zh/cli/login.md +28 -0
  1654. package/docs/zh/cli/push.md +0 -15
  1655. package/docs/zh/compiler.md +14 -0
  1656. package/docs/zh/configuration.md +19 -17
  1657. package/docs/zh/custom_domains.md +27 -0
  1658. package/docs/zh/custom_url_rewrites.md +7 -5
  1659. package/docs/zh/dictionary/content_file.md +0 -10
  1660. package/docs/zh/dictionary/html.md +16 -14
  1661. package/docs/zh/dictionary/markdown.md +7 -3
  1662. package/docs/zh/dictionary/plurial.md +79 -110
  1663. package/docs/zh/dynamic_dictionaries/variants.md +24 -0
  1664. package/docs/zh/formatters.md +0 -146
  1665. package/docs/zh/how_works_intlayer.md +5 -0
  1666. package/docs/zh/interest_of_intlayer.md +19 -0
  1667. package/docs/zh/intlayer_visual_editor.md +12 -0
  1668. package/docs/zh/intlayer_with_adonisjs.md +5 -3
  1669. package/docs/zh/intlayer_with_analog.md +20 -1
  1670. package/docs/zh/intlayer_with_angular_19.md +18 -1
  1671. package/docs/zh/intlayer_with_angular_21.md +18 -1
  1672. package/docs/zh/intlayer_with_astro.md +19 -3
  1673. package/docs/zh/intlayer_with_astro_lit.md +31 -9
  1674. package/docs/zh/intlayer_with_astro_preact.md +37 -9
  1675. package/docs/zh/intlayer_with_astro_react.md +31 -9
  1676. package/docs/zh/intlayer_with_astro_solid.md +31 -9
  1677. package/docs/zh/intlayer_with_astro_svelte.md +31 -9
  1678. package/docs/zh/intlayer_with_astro_vanilla.md +31 -9
  1679. package/docs/zh/intlayer_with_astro_vue.md +23 -1
  1680. package/docs/zh/intlayer_with_create_react_app.md +10 -2
  1681. package/docs/zh/intlayer_with_elysia.md +343 -0
  1682. package/docs/zh/intlayer_with_express.md +11 -3
  1683. package/docs/zh/intlayer_with_fastify.md +5 -3
  1684. package/docs/zh/intlayer_with_hono.md +5 -3
  1685. package/docs/zh/intlayer_with_lynx+react.md +66 -1
  1686. package/docs/zh/intlayer_with_nestjs.md +19 -3
  1687. package/docs/zh/intlayer_with_nextjs_14.md +124 -112
  1688. package/docs/zh/intlayer_with_nextjs_15.md +182 -1
  1689. package/docs/zh/intlayer_with_nextjs_16.md +105 -1
  1690. package/docs/zh/intlayer_with_nextjs_compiler.md +51 -9
  1691. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +147 -583
  1692. package/docs/zh/intlayer_with_nextjs_page_router.md +15 -28
  1693. package/docs/zh/intlayer_with_nuxt.md +18 -1
  1694. package/docs/zh/intlayer_with_react_native+expo.md +1 -1
  1695. package/docs/zh/intlayer_with_react_router_v7.md +177 -1
  1696. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +106 -5
  1697. package/docs/zh/intlayer_with_solid_start.md +13 -1
  1698. package/docs/zh/intlayer_with_storybook.md +18 -1
  1699. package/docs/zh/intlayer_with_svelte_kit.md +18 -1
  1700. package/docs/zh/intlayer_with_tanstack+solid.md +179 -11
  1701. package/docs/zh/intlayer_with_tanstack.md +370 -163
  1702. package/docs/zh/intlayer_with_vanilla.md +18 -1
  1703. package/docs/zh/intlayer_with_vite+lit.md +20 -1
  1704. package/docs/zh/intlayer_with_vite+preact.md +91 -49
  1705. package/docs/zh/intlayer_with_vite+react.md +20 -1
  1706. package/docs/zh/intlayer_with_vite+solid.md +11 -24
  1707. package/docs/zh/intlayer_with_vite+svelte.md +15 -17
  1708. package/docs/zh/intlayer_with_vite+vanilla.md +18 -1
  1709. package/docs/zh/intlayer_with_vite+vue.md +16 -5
  1710. package/docs/zh/live-sync.md +39 -2
  1711. package/docs/zh/mcp_server.md +34 -19
  1712. package/docs/zh/packages/elysia-intlayer/exports.md +136 -0
  1713. package/docs/zh/packages/elysia-intlayer/intlayer.md +139 -0
  1714. package/docs/zh/packages/intlayer/getDictionary.md +155 -0
  1715. package/docs/zh/packages/intlayer/getDictionaryAsync.md +166 -0
  1716. package/docs/zh/packages/intlayer/getEnumeration.md +2 -0
  1717. package/docs/zh/packages/intlayer/getIntlayer.md +197 -0
  1718. package/docs/zh/packages/intlayer/getIntlayerAsync.md +141 -0
  1719. package/docs/zh/packages/intlayer/getLocaleLang.md +0 -2
  1720. package/docs/zh/packages/intlayer/getLocalizedPath.md +45 -5
  1721. package/docs/zh/packages/intlayer/getLocalizedUrl.md +14 -30
  1722. package/docs/zh/packages/intlayer/getMultilingualUrls.md +14 -2
  1723. package/docs/zh/packages/intlayer/getPrefix.md +0 -2
  1724. package/docs/zh/packages/intlayer/getTranslation.md +2 -0
  1725. package/docs/zh/packages/next-intlayer/t.md +20 -0
  1726. package/docs/zh/packages/next-intlayer/useIntlayer.md +32 -0
  1727. package/docs/zh/packages/next-intlayer/useLocale.md +2 -0
  1728. package/docs/zh/packages/react-intlayer/useDictionary.md +0 -2
  1729. package/docs/zh/packages/react-intlayer/useI18n.md +31 -0
  1730. package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -42
  1731. package/docs/zh/packages/vite-intlayer/exports.md +0 -6
  1732. package/docs/zh/packages/vite-intlayer/intlayerMinify.md +1 -1
  1733. package/docs/zh/packages/vite-intlayer/intlayerPrune.md +3 -1
  1734. package/docs/zh/per_locale_file.md +13 -13
  1735. package/docs/zh/releases/v6.md +16 -2
  1736. package/docs/zh/self_hosting.md +61 -29
  1737. package/docs/zh-TW/bundle_optimization.md +2 -2
  1738. package/package.json +7 -7
  1739. package/src/generated/docs.entry.ts +140 -0
@@ -60,36 +60,53 @@ author: aymericzip
60
60
 
61
61
  **完整的 Next.js 覆盖**
62
62
 
63
+ <Accordion header="Full Next.js coverage">
64
+
63
65
  Intlayer 经过优化,可以与 **服务器组件** 配合使用,以实现高效渲染,并且与 [**Turbopack**](https://nextjs.org/docs/architecture/turbopack) 完全兼容。它不会阻止静态渲染,并提供中间件以及扩展国际化 (i18n) 所需的所有功能。
64
66
 
65
67
  > Intlayer 兼容 Next.js 12、13、14、15 和 16。如果您使用 Next.js Pages Router,可以参考此[指南](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_page_router.md)。
66
68
  > 区域设置路由对于 SEO、Bundle 大小和性能很有用。如果不需要,可以参考这个[指南](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_no_locale_path.md)。
67
69
  > 对于带有 App Router 的 Next.js 12、13、14 和 15,请参阅此[指南](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_14.md)。
68
70
 
71
+ </Accordion>
72
+
69
73
  **捆绑尺寸**
70
74
 
71
75
  不要将大量 JSON 文件加载到页面中,而只需加载必要的内容。 Intlayer 有助于**将捆绑包和页面大小减少多达 50%**。
72
76
 
77
+ </Accordion>
78
+
73
79
  **可维护性**
74
80
 
75
81
  确定应用程序内容的范围**有利于大型应用程序的维护**。您可以复制或删除单个功能文件夹,而无需承担检查整个内容代码库的精神负担。此外,Intlayer 具有**完全类型化 (fully typed)**,以确保您的内容的准确性。
76
82
 
77
83
  **人工智能代理**
78
84
 
79
- 共置内容**减少大型语言模型 (LLM) 所需的上下文**。 Intlayer 还附带了一套工具,例如用于测试缺失翻译的 **CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** 和 **[agent技能](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**,使 AI 代理的开发者体验 (DX) 更加流畅。
85
+ <Accordion header="AI Agent">
86
+
87
+ 共置内容**减少大型语言模型 (LLM) 所需的上下文**。 Intlayer 还附带了一套工具,例如用于测试缺失翻译的 **CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** 和 **[agent skills](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/agent_skills.md)**,使 AI 代理的开发者体验 (DX) 更加流畅。
88
+
89
+ </Accordion>
80
90
 
81
91
  **自动化**
82
92
 
83
93
  使用您选择的法学硕士,通过自动化在 CI/CD 管道中进行翻译,而费用由您的 AI 提供商承担。 Intlayer 还提供了一个**编译器**来自动提取内容,以及一个[网络平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)来帮助**在后台翻译**。
84
94
 
95
+ </Accordion>
96
+
85
97
  **表现**
86
98
 
87
99
  将大量 JSON 文件连接到组件可能会导致性能和反应性问题。 Intlayer 可在构建时 (build time)优化您的内容加载。
88
100
 
89
101
  **无需开发即可扩展**
90
102
 
103
+ <Accordion header="使用非开发环境进行扩展">
104
+
91
105
  Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)**和一个**[完整的 CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)** 来帮助您管理多语言内容**实时**,与译员、文案人员和其他团队成员无缝协作。内容可以本地和/或远程存储。
92
106
 
107
+ </Accordion>
108
+ </AccordionGroup>
109
+
93
110
  ---
94
111
 
95
112
  ## 在 Next.js 应用中逐步设置 Intlayer 的指南
@@ -250,11 +267,57 @@ export default withIntlayer(nextConfig);
250
267
 
251
268
  从 `RootLayout` 中删除所有内容,然后用以下代码替换:
252
269
 
270
+ <Tabs>
271
+ <Tab label='Intlayer >=9.4' value='>=9.4'>
272
+
273
+ ```tsx {5} fileName="src/app/layout.tsx" codeFormat={["typescript", "esm"]}
274
+ import type { Metadata } from "next";
275
+ import type { ReactNode } from "react";
276
+ import "./globals.css";
277
+ import { getHTMLTextDir, getIntlayer } from "intlayer";
278
+ import { getLocale, IntlayerProvider } from "next-intlayer/server";
279
+ export { generateStaticParams } from "next-intlayer";
280
+
281
+ export const generateMetadata = async (): Promise<Metadata> => {
282
+ const locale = await getLocale();
283
+ const { title, description, keywords } = getIntlayer("metadata", locale);
284
+
285
+ return {
286
+ title,
287
+ description,
288
+ keywords,
289
+ };
290
+ };
291
+
292
+ const RootLayout = async ({
293
+ children,
294
+ }: Readonly<{
295
+ children: ReactNode;
296
+ }>) => {
297
+ const locale = await getLocale();
298
+
299
+ return (
300
+ <html lang={locale} dir={getHTMLTextDir(locale)}>
301
+ <body>
302
+ <IntlayerProvider locale={locale}>{children}</IntlayerProvider>
303
+ </body>
304
+ </html>
305
+ );
306
+ };
307
+
308
+ export default RootLayout;
309
+ ```
310
+
311
+ > 单个 `IntlayerProvider` 覆盖树的两个部分:它为服务器钩子读取的请求作用域服务器上下文提供种子,并挂载客户端提供程序,以便客户端组件接收相同的区域设置。
312
+
313
+ </Tab>
314
+ <Tab label='Intlayer <9.4' value='<9.4'>
315
+
253
316
  ```tsx {3} fileName="src/app/layout.tsx" codeFormat={["typescript", "esm"]}
254
317
  import type { Metadata } from "next";
255
318
  import type { ReactNode } from "react";
256
319
  import "./globals.css";
257
- import { IntlayerClientProvider, LocalPromiseParams } from "next-intlayer";
320
+ import { IntlayerProvider, LocalPromiseParams } from "next-intlayer";
258
321
  import { getHTMLTextDir, getIntlayer } from "intlayer";
259
322
  import { getLocale } from "next-intlayer/server";
260
323
  export { generateStaticParams } from "next-intlayer";
@@ -279,9 +342,9 @@ const RootLayout = async ({
279
342
 
280
343
  return (
281
344
  <html lang={locale} dir={getHTMLTextDir(locale)}>
282
- <IntlayerClientProvider defaultLocale={locale}>
283
- <body>{children}</body>
284
- </IntlayerClientProvider>
345
+ <body>
346
+ <IntlayerProvider defaultLocale={locale}>{children}</IntlayerProvider>
347
+ </body>
285
348
  </html>
286
349
  );
287
350
  };
@@ -289,6 +352,9 @@ const RootLayout = async ({
289
352
  export default RootLayout;
290
353
  ```
291
354
 
355
+ </Tab>
356
+ </Tabs>
357
+
292
358
  </Step>
293
359
 
294
360
  <Step number={5} title="声明你的内容">
@@ -413,6 +479,43 @@ export default pageContent;
413
479
 
414
480
  在整个应用程序中访问你的内容字典:
415
481
 
482
+ <Tabs>
483
+ <Tab label='Intlayer >=9.4' value='>=9.4'>
484
+
485
+ ```tsx fileName="src/app/page.tsx" codeFormat={["typescript", "esm"]}
486
+ import type { FC } from "react";
487
+ import { ClientComponentExample } from "@components/clientComponentExample/ClientComponentExample";
488
+ import { ServerComponentExample } from "@components/serverComponentExample/ServerComponentExample";
489
+ import { useIntlayer } from "next-intlayer";
490
+ import { NextPage } from "next";
491
+
492
+ const PageContent: FC = () => {
493
+ const content = useIntlayer("page");
494
+
495
+ return (
496
+ <>
497
+ <p>{content.getStarted.main}</p>
498
+ <code>{content.getStarted.pageLink}</code>
499
+ </>
500
+ );
501
+ };
502
+
503
+ const Page: NextPage = () => (
504
+ <>
505
+ <PageContent />
506
+ <ServerComponentExample />
507
+ <ClientComponentExample />
508
+ </>
509
+ );
510
+
511
+ export default Page;
512
+ ```
513
+
514
+ - **`IntlayerProvider`** 挂载一次,在根布局中。它为服务器和客户端组件提供语言区域,所以页面不再自动包装。
515
+ - 没有 `[locale]` 路径段的情况下,语言区域总是来自请求 — 由 Intlayer 代理设置的 `x-intlayer-locale` 请求头,然后是语言区域 cookie — 当提供者未运行时,服务器 hooks 会自行读取这些。
516
+
517
+ 在整个应用程序中访问你的内容字典:
518
+
416
519
  ```tsx fileName="src/app/page.tsx" codeFormat={["typescript", "esm"]}
417
520
  import type { FC } from "react";
418
521
  import { ClientComponentExample } from "@components/clientComponentExample/ClientComponentExample";
@@ -456,6 +559,9 @@ export default Page;
456
559
 
457
560
  > 布局和页面不能共享一个通用的服务器上下文,因为服务器上下文系统基于每个请求的数据存储(通过 [React's cache](https://react.dev/reference/react/cache) 机制),导致每个"上下文"为应用程序的不同段重新创建。在共享布局中放置提供者会破坏这种隔离,防止服务器上下文值正确传播到你的服务器组件。
458
561
 
562
+ </Tab>
563
+ </Tabs>
564
+
459
565
  ```tsx {4,7} fileName="src/components/clientComponentExample/ClientComponentExample.tsx" codeFormat={["typescript", "esm"]}
460
566
  "use client";
461
567
 
@@ -474,6 +580,30 @@ export const ClientComponentExample: FC = () => {
474
580
  };
475
581
  ```
476
582
 
583
+ <Tabs>
584
+ <Tab label='Intlayer >=9.4' value='>=9.4'>
585
+
586
+ ```tsx {2} fileName="src/components/serverComponentExample/ServerComponentExample.tsx" codeFormat={["typescript", "esm"]}
587
+ import type { FC } from "react";
588
+ import { useIntlayer } from "next-intlayer";
589
+
590
+ export const ServerComponentExample: FC = () => {
591
+ const content = useIntlayer("server-component-example"); // 创建相关内容声明
592
+
593
+ return (
594
+ <div>
595
+ <h2>{content.title}</h2>
596
+ <p>{content.content}</p>
597
+ </div>
598
+ );
599
+ };
600
+ ```
601
+
602
+ > `next-intlayer` 是同构导入路径:`react-server` 导出条件为服务器组件提供环境区域设置实现,而客户端组件获得基于上下文的实现。同一调用在两端都有效。
603
+
604
+ </Tab>
605
+ <Tab label='Intlayer <9.4' value='<9.4'>
606
+
477
607
  ```tsx {2} fileName="src/components/serverComponentExample/ServerComponentExample.tsx" codeFormat={["typescript", "esm"]}
478
608
  import type { FC } from "react";
479
609
  import { useIntlayer } from "next-intlayer/server";
@@ -490,6 +620,9 @@ export const ServerComponentExample: FC = () => {
490
620
  };
491
621
  ```
492
622
 
623
+ </Tab>
624
+ </Tabs>
625
+
493
626
  > 如果你想在 `string` 属性(如 `alt`、`title`、`href`、`aria-label` 等)中使用你的内容,你可以使用函数的值,如:
494
627
 
495
628
  > ```html
@@ -653,591 +786,22 @@ bun add @intlayer/swc --dev
653
786
 
654
787
  ### 第一步:安装依赖
655
788
 
656
- 使用 npm 安装所需的包:
657
-
658
- ```bash packageManager="npm"
659
- npx intlayer init --interactive
660
- ```
661
-
662
- ```bash packageManager="pnpm"
663
- pnpm dlx intlayer@canary init --interactive
664
- ```
665
-
666
- ```bash packageManager="yarn"
667
- yarn dlx intlayer@canary init --interactive
668
- ```
669
-
670
- ```bash packageManager="bun"
671
- bunx intlayer@canary init --interactive
672
- ```
673
-
674
- > `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
675
-
676
- > 该命令将检测您的环境并安装所需的软件包。例如:
677
-
678
- ```bash packageManager="npm"
679
- npm install intlayer next-intlayer
680
- ```
681
-
682
- ```bash packageManager="pnpm"
683
- pnpm add intlayer next-intlayer
684
- ```
685
-
686
- ```bash packageManager="yarn"
687
- yarn add intlayer next-intlayer
688
- ```
689
-
690
- ```bash packageManager="bun"
691
- bun add intlayer next-intlayer
692
- ```
693
-
694
- - **intlayer**
695
-
696
- 核心包,提供用于配置管理、翻译、[内容声明](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) 的国际化工具。
697
-
698
- - **next-intlayer**
699
-
700
- 将 Intlayer 与 Next.js 集成的包。它为 Next.js 的国际化提供了 context providers(上下文提供者)和 hooks(钩子)。此外,它还包含用于将 Intlayer 集成到 Webpack 或 Turbopack 的 Next.js 插件,以及用于检测用户首选 locale、管理 cookies 和处理 URL 重定向的 proxy。
701
-
702
- <Steps>
703
-
704
- <Step number={1} title="配置您的项目">
705
-
706
- 下面是我们将创建的最终结构:
707
-
708
- ```bash
709
- .
710
- ├── src
711
- │ ├── app
712
- │ │ ├── layout.tsx
713
- │ │ ├── page.content.ts
714
- │ │ └── page.tsx
715
- │ ├── components
716
- │ │ ├── clientComponentExample
717
- │ │ │ ├── client-component-example.content.ts
718
- │ │ │ └── ClientComponentExample.tsx
719
- │ │ ├── localeSwitcher
720
- │ │ │ ├── localeSwitcher.content.ts
721
- │ │ │ └── LocaleSwitcher.tsx
722
- │ │ └── serverComponentExample
723
- │ │ ├── server-component-example.content.ts
724
- │ │ └── ServerComponentExample.tsx
725
- │ └── proxy.ts
726
- ├── intlayer.config.ts
727
- ├── next.config.ts
728
- ├── package.json
729
- └── tsconfig.json
730
- ```
731
-
732
- > 如果你不想使用区域路由,intlayer 可以作为一个简单的 provider / hook 来使用。更多细节参见 [本指南](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_with_nextjs_no_locale_path.md)。
733
-
734
- 创建一个配置文件来配置应用的语言:
735
-
736
- ```typescript fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
737
- import { Locales, type IntlayerConfig } from "intlayer";
738
-
739
- const config: IntlayerConfig = {
740
- internationalization: {
741
- locales: [
742
- Locales.ENGLISH,
743
- Locales.FRENCH,
744
- Locales.SPANISH,
745
- // 你的其他语言
746
- ],
747
- defaultLocale: Locales.ENGLISH,
748
- },
749
- routing: {
750
- mode: "search-params", // 或 `no-prefix` - 对中间件检测有用
751
- },
752
- };
753
-
754
- export default config;
755
- ```
756
-
757
- > 通过此配置文件,您可以设置本地化 URL、代理重定向、cookie 名称、内容声明的位置和扩展名、在控制台禁用 Intlayer 日志等。有关可用参数的完整列表,请参阅[配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
758
-
759
- </Step>
760
-
761
- <Step number={2} title="声明您的内容">
762
-
763
- 创建并管理您的内容声明以存储翻译:
764
-
765
- ```tsx fileName="src/app/metadata.content.ts" contentDeclarationFormat={["typescript", "esm", "commonjs"]}
766
- import { t, type Dictionary } from "intlayer";
767
- import { Metadata } from "next";
768
-
769
- const metadataContent = {
770
- key: "metadata",
771
- content: {
772
- title: t({
773
- zh: "我的项目标题",
774
- en: "My Project Title",
775
- fr: "Le Titre de mon Projet",
776
- es: "El Título de mi Proyecto",
777
- }),
789
+ 当使用 Turbopack 作为通过 `next dev` 命令运行的开发服务器时,字典更改默认不会被自动检测。
778
790
 
779
- description: t({
780
- zh: "了解我们创新的平台,旨在简化您的工作流程并提高生产力。",
781
- en: "Discover our innovative platform designed to streamline your workflow and boost productivity.",
782
- zh: "探索我们的创新平台,旨在简化您的工作流程并提升生产力。",
783
- fr: "Découvrez notre plateforme innovante conçue pour simplifier votre flux de travail et booster votre productivité.",
784
- es: "Descubra nuestra plataforma innovadora diseñada para simplificar su flujo de trabajo y aumentar su productividad.",
785
- }),
791
+ 这个限制是因为 Turbopack 无法并行运行 webpack 插件来监视内容文件的更改。为了解决这个问题,你需要使用 `intlayer watch` 命令同时运行开发服务器和 Intlayer 构建监视器。
786
792
 
787
- keywords: t({
788
- zh: ["创新", "生产力", "工作流程", "SaaS"],
789
- en: ["innovation", "productivity", "workflow", "SaaS"],
790
- fr: ["innovation", "productivité", "flux de travail", "SaaS"],
791
- es: ["innovación", "productividad", "flujo de trabajo", "SaaS"],
792
- }),
793
+ ```json5 fileName="package.json"
794
+ {
795
+ // ... 你现有的 package.json 配置
796
+ "scripts": {
797
+ // ... 你现有的 scripts 配置
798
+ "dev": "intlayer watch --with 'next dev'",
793
799
  },
794
- } as Dictionary<Metadata>;
795
-
796
- export default metadataContent;
797
- ```
798
-
799
- ```json fileName="src/app/metadata.content.json" contentDeclarationFormat="json"
800
- {
801
- "key": "metadata",
802
- "content": {
803
- "title": {
804
- "nodeType": "translation",
805
- "translation": {
806
- "zh": "我的项目标题",
807
- "en": "My Project Title",
808
- "fr": "Le Titre de mon Projet",
809
- "es": "El Título de mi Proyecto"
810
- }
811
- },
812
- "description": {
813
- "nodeType": "translation",
814
- "translation": {
815
- "zh": "探索我们创新的平台,旨在简化您的工作流程并提升生产力。",
816
- "en": "Discover our innovative platform designed to streamline your workflow and boost productivity.",
817
- "zh": "探索我们的创新平台,旨在简化您的工作流程并提升您的生产力。",
818
- "fr": "Découvrez notre plateforme innovante conçue pour simplifier votre flux de travail et booster votre productivité.",
819
- "es": "Descubra nuestra plataforma innovadora diseñada para simplificar su flujo de trabajo y aumentar su productividad."
820
- }
821
- },
822
- "keywords": {
823
- "nodeType": "translation",
824
- "translation": {
825
- "zh": ["创新", "生产力", "工作流程", "SaaS"],
826
- "en": ["innovation", "productivity", "workflow", "SaaS"],
827
- "fr": ["innovation", "productivité", "flux de travail", "SaaS"],
828
- "es": ["innovación", "productividad", "flujo de trabajo", "SaaS"]
829
- }
830
- }
831
- }
832
- }
833
- ```
834
-
835
- ```tsx fileName="src/app/page.content.ts" contentDeclarationFormat={["typescript", "esm", "commonjs"]}
836
- import { t, type Dictionary } from "intlayer";
837
-
838
- const pageContent = {
839
- key: "page",
840
- content: {
841
- getStarted: {
842
- main: t({
843
- zh: "通过编辑开始",
844
- en: "Get started by editing",
845
- fr: "Commencez par éditer",
846
- es: "Comience por editar",
847
- }),
848
- pageLink: "src/app/page.tsx",
849
- },
850
- },
851
- } satisfies Dictionary;
852
-
853
- export default pageContent;
854
- ```
855
-
856
- ```json fileName="src/app/page.content.json" contentDeclarationFormat="json"
857
- {
858
- "$schema": "https://intlayer.org/schema.json",
859
- "key": "page",
860
- "content": {
861
- "getStarted": {
862
- "nodeType": "translation",
863
- "translation": {
864
- "zh": "通过编辑开始",
865
- "en": "Get started by editing",
866
- "fr": "Commencez par éditer",
867
- "es": "Comience por editar"
868
- }
869
- },
870
- "pageLink": "src/app/page.tsx"
871
- }
872
- }
873
- ```
874
-
875
- > 你的内容声明可以在应用的任何位置定义,只要它们被包含到 `contentDir` 目录(默认 `./src`)中。并且与内容声明文件扩展名匹配(默认 `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)。
876
-
877
- > 有关详细信息,请参阅 [内容声明文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
878
-
879
- </Step>
880
-
881
- <Step number={3} title="在代码中使用内容">
882
-
883
- 在应用程序中随处访问你的内容字典:
884
-
885
- ```tsx fileName="src/app/page.tsx" codeFormat={["typescript", "esm"]}
886
- import type { FC } from "react";
887
- import { ClientComponentExample } from "@components/clientComponentExample/ClientComponentExample";
888
- import { ServerComponentExample } from "@components/serverComponentExample/ServerComponentExample";
889
- import {
890
- IntlayerServerProvider,
891
- useIntlayer,
892
- getLocale,
893
- } from "next-intlayer/server";
894
- import { NextPage } from "next";
895
- import { headers, cookies } from "next/headers";
896
-
897
- const PageContent: FC = () => {
898
- const content = useIntlayer("page");
899
-
900
- return (
901
- <>
902
- <p>{content.getStarted.main}</p>
903
- <code>{content.getStarted.pageLink}</code>
904
- </>
905
- );
906
- };
907
-
908
- const Page: NextPage = async () => {
909
- // 在 Next.js 15+ 中等待 headers 和 cookies
910
- const headerList = await headers();
911
- const cookieList = await cookies();
912
-
913
- const locale = await getLocale({
914
- // 首先检查 intlayer cookie(默认: 'INTLAYER_LOCALE')
915
- getCookie: (name) => cookieList.get(name)?.value,
916
-
917
- // 然后检查 intlayer header(默认:'x-intlayer-locale')
918
- // 最后检查 accept-language header('accept-language')
919
- getHeader: (name) => headerList.get(name),
920
- });
921
-
922
- return (
923
- <IntlayerServerProvider locale={locale}>
924
- <PageContent />
925
- <ServerComponentExample />
926
- <ClientComponentExample />
927
- </IntlayerServerProvider>
928
- );
929
- };
930
-
931
- export default Page;
932
- ```
933
-
934
- - **`IntlayerClientProvider`** 用于将 locale 提供给客户端组件。它可以放在任何父组件中,包括 layout。然而,建议将其放在 layout 中,因为 Next.js 在页面之间会共享 layout 代码,这样更高效。将 `IntlayerClientProvider` 放在 layout 中可以避免为每个页面重新初始化,从而提高性能并在整个应用中保持一致的本地化上下文。
935
- - **`IntlayerServerProvider`** 用于将 locale 提供给服务端子组件。它不能设置在 layout 中。
936
-
937
- > Layout 和 page 不能共享同一个 server context,因为 server context 系统基于每次请求的数据存储(通过 [React's cache](https://react.dev/reference/react/cache) 机制),导致每个 "context" 会为应用的不同部分被重新创建。将 provider 放在共享 layout 中会破坏此隔离,阻止 server context 值正确传播到你的 server components。
938
-
939
- ```tsx {4,7} fileName="src/components/clientComponentExample/ClientComponentExample.tsx" codeFormat={["typescript", "esm"]}
940
- "use client";
941
-
942
- import type { FC } from "react";
943
- import { useIntlayer } from "next-intlayer";
944
-
945
- export const ClientComponentExample: FC = () => {
946
- const content = useIntlayer("client-component-example"); // 创建相关内容声明
947
-
948
- return (
949
- <div>
950
- <h2>{content.title}</h2>
951
- <p>{content.content}</p>
952
- </div>
953
- );
954
- };
955
- ```
956
-
957
- ```tsx {2} fileName="src/components/serverComponentExample/ServerComponentExample.tsx" codeFormat={["typescript", "esm"]}
958
- import type { FC } from "react";
959
- import { useIntlayer } from "next-intlayer/server";
960
-
961
- export const ServerComponentExample: FC = () => {
962
- const content = useIntlayer("server-component-example"); // 创建相关内容声明
963
-
964
- return (
965
- <div>
966
- <h2>{content.title}</h2>
967
- <p>{content.content}</p>
968
- </div>
969
- );
970
- };
971
- ```
972
-
973
- > 如果您想在 `string` 属性(例如 `alt`、`title`、`href`、`aria-label` 等)中使用内容,可以使用函数的值,例如:
974
-
975
- > ```html
976
- > <img src="{content.image.src.value}" alt="{content.image.value}" />
977
- > <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
978
- > <img src="{String(content.image.src)}" alt="{String(content.image)}" />
979
- > ```
980
-
981
- > 若要了解有关 `useIntlayer` hook 的更多信息,请参阅 [文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/next-intlayer/useIntlayer.md)。
982
-
983
- </Step>
984
-
985
- <Step number={4} title="配置 Proxy 以进行 locale 检测">
986
-
987
- 设置 Proxy 以检测用户的首选 locale:
988
-
989
- ```typescript fileName="src/proxy.ts" codeFormat={["typescript", "esm", "commonjs"]}
990
- export { intlayerProxy as proxy } from "next-intlayer/proxy";
991
-
992
- export const config = {
993
- matcher:
994
- "/((?!api|static|assets|robots|sitemap|sw|service-worker|manifest|.*\\..*|_next).*)",
995
- };
996
- ```
997
-
998
- > `intlayerProxy` 用于检测用户偏好的 locale,并根据 [配置](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md) 将用户重定向到相应的 URL。除此之外,它还可以将用户偏好的 locale 保存在 cookie 中。
999
-
1000
- > 如果需要将多个代理串联在一起(例如将 `intlayerProxy` 与身份验证或自定义代理一起使用),Intlayer 现在提供了一个名为 `multipleProxies` 的辅助函数。
1001
-
1002
- ```ts
1003
- import { multipleProxies, intlayerProxy } from "next-intlayer/proxy";
1004
- import { customProxy } from "@utils/customProxy";
1005
-
1006
- export const proxy = multipleProxies([intlayerProxy, customProxy]);
1007
- ```
1008
-
1009
- </Step>
1010
-
1011
- <Step number={5} title="更改您内容的语言">
1012
-
1013
- 要在 Next.js 中更改内容的语言,推荐的方法是使用 `Link` 组件将用户重定向到相应的本地化页面。`Link` 组件支持页面预取,这有助于避免整页重新加载。
1014
-
1015
- ```tsx fileName="src/components/localeSwitcher/LocaleSwitcher.tsx" codeFormat={["typescript", "esm"]}
1016
- "use client";
1017
-
1018
- import type { FC } from "react";
1019
- import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
1020
- import { useLocale } from "next-intlayer";
1021
-
1022
- export const LocaleSwitcher: FC = () => {
1023
- const { locale, availableLocales, setLocale } = useLocale();
1024
-
1025
- return (
1026
- <div>
1027
- <button popoverTarget="localePopover">{getLocaleName(locale)}</button>
1028
- <div id="localePopover" popover="auto">
1029
- {availableLocales.map((localeItem) => (
1030
- <button
1031
- key={localeItem}
1032
- aria-current={locale === localeItem ? "page" : undefined}
1033
- onClick={() => setLocale(localeItem)}
1034
- >
1035
- <span>
1036
- {/* Locale(例如:FR) */}
1037
- {localeItem}
1038
- </span>
1039
- <span>
1040
- {/* 以该语言自身的 Locale 表示的语言名称(例如:Français) */}
1041
- {getLocaleName(localeItem, locale)}
1042
- </span>
1043
- <span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
1044
- {/* 以当前 Locale 表示的语言名称, 例如:当当前 locale 设置为 Locales.SPANISH 时显示:Francés */}
1045
- {getLocaleName(localeItem)}
1046
- </span>
1047
- <span dir="ltr" lang={Locales.ENGLISH}>
1048
- {/* 以英语显示的语言 - 例如 French */}
1049
- {getLocaleName(localeItem, Locales.ENGLISH)}
1050
- </span>
1051
- </button>
1052
- ))}
1053
- </div>
1054
- </div>
1055
- );
1056
- };
1057
- ```
1058
-
1059
- > 另一种方法是使用 `useLocale` hook 提供的 `setLocale` 函数。此函数不会允许预获取页面。有关更多详细信息,请参阅 [`useLocale` hook 文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/next-intlayer/useLocale.md)。
1060
-
1061
- > 文档参考:
1062
- >
1063
- > - [`useLocale` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/next-intlayer/useLocale.md)
1064
- > - [`getLocaleName` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getLocaleName.md)
1065
- > - [`getLocalizedUrl` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getLocalizedUrl.md)
1066
- > - [`getHTMLTextDir` hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/intlayer/getHTMLTextDir.md)
1067
- > - [`hrefLang` attribute](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=fr)
1068
- > - [`lang` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)
1069
- > - [`dir` attribute`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir)
1070
- > - [`aria-current` attribute`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)
1071
-
1072
- </Step>
1073
-
1074
- <Step number={6} title="在 Server Actions 中获取当前 locale" isOptional={true}>
1075
-
1076
- 如果你需要在 Server Action 中使用活动 locale(例如,用于本地化电子邮件或运行与 locale 相关的逻辑),请从 `next-intlayer/server` 调用 `getLocale`:
1077
-
1078
- ```tsx fileName="src/app/actions/getLocale.ts" codeFormat="typescript"
1079
- "use server";
1080
-
1081
- import { getLocale } from "next-intlayer/server";
1082
-
1083
- export const myServerAction = async () => {
1084
- const locale = await getLocale();
1085
-
1086
- // 使用该 locale 执行一些操作
1087
- };
1088
- ```
1089
-
1090
- > `getLocale` 函数采用级联策略来确定用户的语言环境:
1091
- >
1092
- > 1. 首先,它会检查请求头中是否存在可能由代理设置的 locale 值
1093
- > 2. 如果在请求头中未找到 locale,则查找存储在 cookies 中的 locale
1094
- > 3. 如果未找到 cookie,它会尝试从用户的浏览器设置中检测首选语言
1095
- > 4. 最后,它会回退到应用程序配置的默认 locale
1096
- >
1097
- > 这可确保基于可用上下文选择最合适的 locale。
1098
-
1099
- </Step>
1100
-
1101
- <Step number={7} title="优化你的 bundle 大小">
1102
-
1103
- 在使用 `next-intlayer` 时,字典默认会被包含到每个页面的 bundle 中。为了优化 bundle 大小,Intlayer 提供了一个可选的 SWC 插件,它使用宏智能替换 `useIntlayer` 调用。这样只有实际使用这些字典的页面的 bundle 才会包含相应字典。
1104
-
1105
- 要启用此优化,请安装 `@intlayer/swc` 包。安装后,`next-intlayer` 会自动检测并使用该插件:
1106
-
1107
- ```bash packageManager="npm"
1108
- npm install @intlayer/swc --save-dev
1109
- ```
1110
-
1111
- ```bash packageManager="pnpm"
1112
- pnpm add @intlayer/swc --save-dev
1113
- ```
1114
-
1115
- ```bash packageManager="yarn"
1116
- yarn add @intlayer/swc --save-dev
1117
- ```
1118
-
1119
- ```bash packageManager="bun"
1120
- bun add @intlayer/swc --dev
1121
- ```
1122
-
1123
- > 注意:此优化仅适用于 Next.js 13 及更高版本。
1124
-
1125
- > 注意:该包默认不安装,因为 SWC 插件在 Next.js 中仍然是实验性的。将来可能会发生变化。
1126
-
1127
- > 注意:如果你将选项设置为 `importMode: 'dynamic'` 或 `importMode: 'fetch'`,它将依赖 Suspense,因此你必须在一个 `Suspense` 边界中包裹你的 `useIntlayer` 调用。这意味着你不能在页面 / 布局组件的顶层直接使用 `useIntlayer`。
1128
-
1129
- </Step>
1130
-
1131
- <Step number={8} title="第 3 步:在 Next.js 配置中集成 Intlayer">
1132
-
1133
- 配置您的 Next.js 设置以使用 Intlayer:
1134
-
1135
- ```typescript fileName="next.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
1136
- import type { NextConfig } from "next";
1137
- import { withIntlayer } from "next-intlayer/server";
1138
-
1139
- const nextConfig: NextConfig = {/* 在此处填写配置选项 */};
1140
-
1141
- export default withIntlayer(nextConfig);
1142
- ```
1143
-
1144
- > `withIntlayer()` Next.js 插件用于将 Intlayer 集成到 Next.js 中。它负责构建内容声明文件,并在开发模式下监视这些文件。它会在 [Webpack](https://webpack.js.org/) 或 [Turbopack](https://nextjs.org/docs/app/api-reference/turbopack) 环境中定义 Intlayer 的环境变量。此外,它还提供别名以优化性能,并确保与 server components 的兼容性。
1145
-
1146
- > `withIntlayer()` 函数是一个返回 Promise 的函数。它允许在构建开始前准备 intlayer 字典。如果你想与其他插件一起使用它,可以对其使用 await。示例:
1147
- >
1148
- > ```ts
1149
- > const nextConfig = await withIntlayer(nextConfig);
1150
- > const nextConfigWithOtherPlugins = withOtherPlugins(nextConfig);
1151
- >
1152
- > export default nextConfigWithOtherPlugins;
1153
- > ```
1154
- >
1155
- > 如果你想以同步方式使用它,可以使用 `withIntlayerSync()` 函数。示例:
1156
- >
1157
- > ```ts
1158
- > const nextConfig = withIntlayerSync(nextConfig);
1159
- > const nextConfigWithOtherPlugins = withOtherPlugins(nextConfig);
1160
- >
1161
- > export default nextConfigWithOtherPlugins;
1162
- > ```
1163
- >
1164
- > Intlayer 会根据命令行标志 `--webpack`、`--turbo` 或 `--turbopack` 以及你当前的 **Next.js** 版本自动检测项目是使用 **webpack** 还是 **Turbopack**。
1165
- >
1166
- > 自 `next>=16` 起,如果你使用 **Rspack**,必须通过禁用 Turbopack 明确强制 Intlayer 使用 webpack 配置:
1167
- >
1168
- > ```ts
1169
- > withRspack(withIntlayer(nextConfig, { enableTurbopack: false }));
1170
- > ```
1171
-
1172
- </Step>
1173
-
1174
- <Step number={9} title="第4步:定义动态 locale 路由">
1175
-
1176
- 从 `RootLayout` 中删除所有内容,并用下面的代码替换:
1177
-
1178
- ```tsx {3} fileName="src/app/layout.tsx" codeFormat={["typescript", "esm"]}
1179
- import type { Metadata } from "next";
1180
- import type { ReactNode } from "react";
1181
- import "./globals.css";
1182
- import { IntlayerClientProvider, LocalPromiseParams } from "next-intlayer";
1183
- import { getHTMLTextDir, getIntlayer } from "intlayer";
1184
- import { getLocale } from "next-intlayer/server";
1185
- export { generateStaticParams } from "next-intlayer";
1186
-
1187
- export const generateMetadata = async (): Promise<Metadata> => {
1188
- const locale = await getLocale();
1189
- const { title, description, keywords } = getIntlayer("metadata", locale);
1190
-
1191
- return {
1192
- title,
1193
- description,
1194
- keywords,
1195
- };
1196
- };
1197
-
1198
- const RootLayout = async ({
1199
- children,
1200
- }: Readonly<{
1201
- children: ReactNode;
1202
- }>) => {
1203
- const locale = await getLocale();
1204
-
1205
- return (
1206
- <html lang={locale} dir={getHTMLTextDir(locale)}>
1207
- <IntlayerClientProvider defaultLocale={locale}>
1208
- <body>{children}</body>
1209
- </IntlayerClientProvider>
1210
- </html>
1211
- );
1212
- };
1213
-
1214
- export default RootLayout;
1215
- ```
1216
-
1217
- </Step>
1218
-
1219
- <Step number={10} title="在 Turbopack 上监视字典更改">
1220
-
1221
- 当使用 Turbopack 作为通过 `next dev` 命令运行的开发服务器时,字典更改默认不会被自动检测。
1222
-
1223
- 这个限制是因为 Turbopack 无法并行运行 webpack 插件来监视内容文件的更改。为了解决这个问题,你需要使用 `intlayer watch` 命令同时运行开发服务器和 Intlayer 构建监视器。
1224
-
1225
- ```json5 fileName="package.json"
1226
- {
1227
- // ... 你现有的 package.json 配置
1228
- "scripts": {
1229
- // ... 你现有的 scripts 配置
1230
- "dev": "intlayer watch --with 'next dev'",
1231
- },
1232
- }
800
+ }
1233
801
  ```
1234
802
 
1235
803
  > 如果你使用的是 next-intlayer@<=6.x.x,你需要保留 `--turbopack` 标志以使 Next.js 16 应用程序能与 Turbopack 正常工作。我们建议使用 next-intlayer@>=7.x.x 来避免此限制。
1236
804
 
1237
- </Step>
1238
-
1239
- </Steps>
1240
-
1241
805
  ### 配置 TypeScript
1242
806
 
1243
807
  Intlayer 使用模块扩展(module augmentation)来利用 TypeScript 的优势并增强你的 codebase 的类型安全性。