@intlayer/docs 9.4.0-canary.0 → 9.4.1

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 (1444) hide show
  1. package/README.md +3 -0
  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/analytics.md +32 -11
  49. package/docs/ar/benchmark/tanstack.md +6 -0
  50. package/docs/ar/cli/ci.md +2 -0
  51. package/docs/ar/cli/doc-review.md +9 -1
  52. package/docs/ar/cli/fill.md +0 -8
  53. package/docs/ar/cli/index.md +2 -0
  54. package/docs/ar/cli/list_projects.md +0 -2
  55. package/docs/ar/cli/login.md +28 -0
  56. package/docs/ar/compiler.md +14 -0
  57. package/docs/ar/configuration.md +7 -8
  58. package/docs/ar/custom_domains.md +33 -0
  59. package/docs/ar/custom_url_rewrites.md +9 -5
  60. package/docs/ar/dictionary/html.md +16 -14
  61. package/docs/ar/dictionary/markdown.md +7 -3
  62. package/docs/ar/dictionary/plurial.md +92 -123
  63. package/docs/ar/dynamic_dictionaries/variants.md +24 -36
  64. package/docs/ar/formatters.md +0 -128
  65. package/docs/ar/how_works_intlayer.md +8 -1
  66. package/docs/ar/interest_of_intlayer.md +16 -0
  67. package/docs/ar/intlayer_visual_editor.md +12 -0
  68. package/docs/ar/intlayer_with_adonisjs.md +5 -3
  69. package/docs/ar/intlayer_with_analog.md +17 -0
  70. package/docs/ar/intlayer_with_angular_19.md +17 -0
  71. package/docs/ar/intlayer_with_angular_21.md +17 -0
  72. package/docs/ar/intlayer_with_astro.md +41 -0
  73. package/docs/ar/intlayer_with_astro_lit.md +17 -0
  74. package/docs/ar/intlayer_with_astro_preact.md +23 -0
  75. package/docs/ar/intlayer_with_astro_react.md +17 -0
  76. package/docs/ar/intlayer_with_astro_solid.md +17 -0
  77. package/docs/ar/intlayer_with_astro_svelte.md +17 -0
  78. package/docs/ar/intlayer_with_astro_vanilla.md +17 -0
  79. package/docs/ar/intlayer_with_astro_vue.md +17 -0
  80. package/docs/ar/intlayer_with_create_react_app.md +55 -119
  81. package/docs/ar/intlayer_with_elysia.md +343 -0
  82. package/docs/ar/intlayer_with_express.md +11 -3
  83. package/docs/ar/intlayer_with_fastify.md +5 -3
  84. package/docs/ar/intlayer_with_hono.md +48 -3
  85. package/docs/ar/intlayer_with_lynx+react.md +30 -0
  86. package/docs/ar/intlayer_with_nestjs.md +19 -3
  87. package/docs/ar/intlayer_with_next-i18next.md +11 -0
  88. package/docs/ar/intlayer_with_nextjs_14.md +233 -36
  89. package/docs/ar/intlayer_with_nextjs_15.md +218 -0
  90. package/docs/ar/intlayer_with_nextjs_16.md +170 -44
  91. package/docs/ar/intlayer_with_nextjs_compiler.md +47 -5
  92. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +159 -4
  93. package/docs/ar/intlayer_with_nextjs_page_router.md +15 -28
  94. package/docs/ar/intlayer_with_nuxt.md +17 -0
  95. package/docs/ar/intlayer_with_react_router_v7.md +47 -0
  96. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +191 -52
  97. package/docs/ar/intlayer_with_solid_start.md +12 -0
  98. package/docs/ar/intlayer_with_storybook.md +17 -0
  99. package/docs/ar/intlayer_with_svelte_kit.md +25 -16
  100. package/docs/ar/intlayer_with_tanstack+solid.md +249 -6
  101. package/docs/ar/intlayer_with_tanstack.md +283 -49
  102. package/docs/ar/intlayer_with_vanilla.md +17 -0
  103. package/docs/ar/intlayer_with_vite+lit.md +21 -0
  104. package/docs/ar/intlayer_with_vite+preact.md +51 -16
  105. package/docs/ar/intlayer_with_vite+react.md +21 -12
  106. package/docs/ar/intlayer_with_vite+react_compiler.md +2 -0
  107. package/docs/ar/intlayer_with_vite+solid.md +28 -48
  108. package/docs/ar/intlayer_with_vite+svelte.md +42 -12
  109. package/docs/ar/intlayer_with_vite+vanilla.md +19 -0
  110. package/docs/ar/intlayer_with_vite+vue.md +32 -14
  111. package/docs/ar/live-sync.md +13 -2
  112. package/docs/ar/packages/elysia-intlayer/exports.md +136 -0
  113. package/docs/ar/packages/elysia-intlayer/intlayer.md +139 -0
  114. package/docs/ar/packages/intlayer/getDictionary.md +155 -0
  115. package/docs/ar/packages/intlayer/getDictionaryAsync.md +166 -0
  116. package/docs/ar/packages/intlayer/getEnumeration.md +2 -0
  117. package/docs/ar/packages/intlayer/getIntlayer.md +197 -0
  118. package/docs/ar/packages/intlayer/getIntlayerAsync.md +141 -0
  119. package/docs/ar/packages/intlayer/getLocaleLang.md +0 -2
  120. package/docs/ar/packages/intlayer/getLocalizedPath.md +33 -7
  121. package/docs/ar/packages/intlayer/getLocalizedUrl.md +14 -30
  122. package/docs/ar/packages/intlayer/getMultilingualUrls.md +6 -2
  123. package/docs/ar/packages/intlayer/getTranslation.md +2 -0
  124. package/docs/ar/packages/next-intlayer/t.md +20 -0
  125. package/docs/ar/packages/next-intlayer/useIntlayer.md +31 -0
  126. package/docs/ar/packages/next-intlayer/useLocale.md +2 -0
  127. package/docs/ar/packages/react-intlayer/useDictionary.md +0 -2
  128. package/docs/ar/packages/react-intlayer/useI18n.md +31 -0
  129. package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -42
  130. package/docs/ar/packages/vite-intlayer/intlayerPrune.md +2 -0
  131. package/docs/ar/per_locale_file.md +13 -13
  132. package/docs/ar/readme.md +1 -0
  133. package/docs/ar/releases/v6.md +16 -2
  134. package/docs/ar/releases/v9.md +2 -0
  135. package/docs/ar/self_hosting.md +67 -24
  136. package/docs/bn/intlayer_with_fastify.md +5 -3
  137. package/docs/bn/intlayer_with_hono.md +5 -3
  138. package/docs/cs/intlayer_with_fastify.md +5 -3
  139. package/docs/cs/intlayer_with_hono.md +5 -3
  140. package/docs/de/analytics.md +32 -11
  141. package/docs/de/benchmark/tanstack.md +6 -0
  142. package/docs/de/cli/ci.md +2 -0
  143. package/docs/de/cli/doc-review.md +9 -1
  144. package/docs/de/cli/fill.md +0 -8
  145. package/docs/de/cli/index.md +2 -0
  146. package/docs/de/cli/init.md +0 -8
  147. package/docs/de/cli/list_projects.md +0 -2
  148. package/docs/de/cli/login.md +28 -0
  149. package/docs/de/compiler.md +14 -0
  150. package/docs/de/configuration.md +7 -8
  151. package/docs/de/custom_domains.md +34 -0
  152. package/docs/de/custom_url_rewrites.md +7 -5
  153. package/docs/de/dictionary/enumeration.md +0 -183
  154. package/docs/de/dictionary/html.md +18 -18
  155. package/docs/de/dictionary/insertion.md +0 -14
  156. package/docs/de/dictionary/markdown.md +31 -14
  157. package/docs/de/dictionary/plurial.md +70 -272
  158. package/docs/de/dynamic_dictionaries/variants.md +24 -0
  159. package/docs/de/formatters.md +12 -39
  160. package/docs/de/how_works_intlayer.md +8 -1
  161. package/docs/de/intlayer_CMS.md +26 -21
  162. package/docs/de/intlayer_visual_editor.md +12 -0
  163. package/docs/de/intlayer_with_adonisjs.md +5 -3
  164. package/docs/de/intlayer_with_astro.md +24 -0
  165. package/docs/de/intlayer_with_astro_preact.md +6 -0
  166. package/docs/de/intlayer_with_create_react_app.md +51 -0
  167. package/docs/de/intlayer_with_elysia.md +343 -0
  168. package/docs/de/intlayer_with_express.md +7 -3
  169. package/docs/de/intlayer_with_fastify.md +5 -3
  170. package/docs/de/intlayer_with_hono.md +5 -3
  171. package/docs/de/intlayer_with_lynx+react.md +13 -26
  172. package/docs/de/intlayer_with_nestjs.md +5 -3
  173. package/docs/de/intlayer_with_next-intl.md +0 -5
  174. package/docs/de/intlayer_with_nextjs_14.md +239 -9
  175. package/docs/de/intlayer_with_nextjs_15.md +200 -0
  176. package/docs/de/intlayer_with_nextjs_16.md +95 -35
  177. package/docs/de/intlayer_with_nextjs_compiler.md +467 -10
  178. package/docs/de/intlayer_with_nextjs_no_locale_path.md +125 -4
  179. package/docs/de/intlayer_with_nextjs_page_router.md +4 -43
  180. package/docs/de/intlayer_with_react_router_v7.md +30 -0
  181. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +102 -12
  182. package/docs/de/intlayer_with_solid_start.md +12 -0
  183. package/docs/de/intlayer_with_svelte_kit.md +6 -0
  184. package/docs/de/intlayer_with_tanstack+solid.md +157 -6
  185. package/docs/de/intlayer_with_tanstack.md +348 -178
  186. package/docs/de/intlayer_with_vite+lit.md +4 -0
  187. package/docs/de/intlayer_with_vite+preact.md +8 -4
  188. package/docs/de/intlayer_with_vite+react.md +4 -2
  189. package/docs/de/intlayer_with_vite+react_compiler.md +2 -0
  190. package/docs/de/intlayer_with_vite+solid.md +11 -12
  191. package/docs/de/intlayer_with_vite+svelte.md +24 -0
  192. package/docs/de/intlayer_with_vite+vanilla.md +2 -0
  193. package/docs/de/intlayer_with_vite+vue.md +15 -2
  194. package/docs/de/live-sync.md +39 -0
  195. package/docs/de/packages/elysia-intlayer/exports.md +136 -0
  196. package/docs/de/packages/elysia-intlayer/intlayer.md +139 -0
  197. package/docs/de/packages/intlayer/getDictionary.md +155 -0
  198. package/docs/de/packages/intlayer/getDictionaryAsync.md +166 -0
  199. package/docs/de/packages/intlayer/getEnumeration.md +2 -0
  200. package/docs/de/packages/intlayer/getIntlayer.md +197 -0
  201. package/docs/de/packages/intlayer/getIntlayerAsync.md +141 -0
  202. package/docs/de/packages/intlayer/getLocalizedPath.md +33 -7
  203. package/docs/de/packages/intlayer/getLocalizedUrl.md +6 -30
  204. package/docs/de/packages/intlayer/getMultilingualUrls.md +6 -2
  205. package/docs/de/packages/intlayer/getTranslation.md +2 -0
  206. package/docs/de/packages/next-intlayer/t.md +20 -0
  207. package/docs/de/packages/next-intlayer/useIntlayer.md +31 -0
  208. package/docs/de/packages/next-intlayer/useLocale.md +2 -0
  209. package/docs/de/packages/react-intlayer/useDictionary.md +0 -2
  210. package/docs/de/packages/react-intlayer/useI18n.md +31 -0
  211. package/docs/de/packages/react-intlayer/useIntlayer.md +0 -42
  212. package/docs/de/packages/solid-intlayer/useRewriteURL.md +0 -2
  213. package/docs/de/packages/vite-intlayer/intlayerPrune.md +2 -0
  214. package/docs/de/per_locale_file.md +13 -13
  215. package/docs/de/readme.md +3 -2
  216. package/docs/de/releases/v6.md +33 -33
  217. package/docs/de/releases/v9.md +2 -0
  218. package/docs/de/self_hosting.md +68 -24
  219. package/docs/en/analytics.md +503 -34
  220. package/docs/en/cli/index.md +2 -0
  221. package/docs/en/cli/login.md +28 -0
  222. package/docs/en/custom_domains.md +39 -2
  223. package/docs/en/dictionary/html.md +16 -16
  224. package/docs/en/dynamic_dictionaries/variants.md +3 -3
  225. package/docs/en/intlayer_with_adonisjs.md +5 -3
  226. package/docs/en/intlayer_with_elysia.md +339 -0
  227. package/docs/en/intlayer_with_express.md +5 -3
  228. package/docs/en/intlayer_with_fastify.md +5 -4
  229. package/docs/en/intlayer_with_hono.md +5 -3
  230. package/docs/en/intlayer_with_nestjs.md +5 -3
  231. package/docs/en/intlayer_with_nextjs_14.md +2 -7
  232. package/docs/en/intlayer_with_nextjs_15.md +5 -5
  233. package/docs/en/intlayer_with_nextjs_16.md +5 -5
  234. package/docs/en/intlayer_with_nextjs_compiler.md +4 -4
  235. package/docs/en/intlayer_with_nextjs_no_locale_path.md +7 -7
  236. package/docs/en/intlayer_with_nextjs_page_router.md +4 -28
  237. package/docs/en/intlayer_with_tanstack+solid.md +157 -6
  238. package/docs/en/intlayer_with_tanstack.md +159 -7
  239. package/docs/en/packages/elysia-intlayer/exports.md +134 -0
  240. package/docs/en/packages/elysia-intlayer/intlayer.md +137 -0
  241. package/docs/en/packages/intlayer/exports.md +19 -14
  242. package/docs/en/packages/intlayer/getDictionary.md +154 -0
  243. package/docs/en/packages/intlayer/getDictionaryAsync.md +166 -0
  244. package/docs/en/packages/intlayer/getIntlayer.md +196 -0
  245. package/docs/en/packages/intlayer/getIntlayerAsync.md +141 -0
  246. package/docs/en/packages/next-intlayer/exports.md +10 -9
  247. package/docs/en/packages/next-intlayer/t.md +2 -4
  248. package/docs/en/packages/next-intlayer/useIntlayer.md +5 -6
  249. package/docs/en/readme.md +1 -0
  250. package/docs/en/self_hosting.md +77 -20
  251. package/docs/en-GB/benchmark/tanstack.md +6 -0
  252. package/docs/en-GB/cli/ci.md +2 -0
  253. package/docs/en-GB/cli/doc-review.md +7 -1
  254. package/docs/en-GB/cli/fill.md +0 -8
  255. package/docs/en-GB/cli/index.md +2 -0
  256. package/docs/en-GB/cli/list_projects.md +0 -2
  257. package/docs/en-GB/cli/login.md +28 -0
  258. package/docs/en-GB/compiler.md +14 -0
  259. package/docs/en-GB/custom_domains.md +34 -0
  260. package/docs/en-GB/custom_url_rewrites.md +7 -5
  261. package/docs/en-GB/dictionary/condition.md +0 -201
  262. package/docs/en-GB/dictionary/content_file.md +0 -3
  263. package/docs/en-GB/dictionary/enumeration.md +0 -183
  264. package/docs/en-GB/dictionary/file.md +0 -166
  265. package/docs/en-GB/dictionary/gender.md +0 -212
  266. package/docs/en-GB/dictionary/html.md +17 -15
  267. package/docs/en-GB/dictionary/insertion.md +0 -4
  268. package/docs/en-GB/dictionary/markdown.md +7 -3
  269. package/docs/en-GB/dictionary/plurial.md +68 -271
  270. package/docs/en-GB/dictionary/translation.md +0 -133
  271. package/docs/en-GB/dynamic_dictionaries/variants.md +24 -0
  272. package/docs/en-GB/formatters.md +0 -164
  273. package/docs/en-GB/how_works_intlayer.md +7 -0
  274. package/docs/en-GB/intlayer_visual_editor.md +12 -0
  275. package/docs/en-GB/intlayer_with_adonisjs.md +5 -3
  276. package/docs/en-GB/intlayer_with_astro.md +24 -0
  277. package/docs/en-GB/intlayer_with_astro_preact.md +6 -0
  278. package/docs/en-GB/intlayer_with_create_react_app.md +10 -78
  279. package/docs/en-GB/intlayer_with_elysia.md +339 -0
  280. package/docs/en-GB/intlayer_with_express.md +11 -3
  281. package/docs/en-GB/intlayer_with_fastify.md +5 -4
  282. package/docs/en-GB/intlayer_with_hono.md +5 -3
  283. package/docs/en-GB/intlayer_with_lynx+react.md +8 -53
  284. package/docs/en-GB/intlayer_with_nestjs.md +5 -3
  285. package/docs/en-GB/intlayer_with_nextjs_14.md +180 -9
  286. package/docs/en-GB/intlayer_with_nextjs_15.md +195 -0
  287. package/docs/en-GB/intlayer_with_nextjs_16.md +225 -0
  288. package/docs/en-GB/intlayer_with_nextjs_compiler.md +165 -5
  289. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +139 -4
  290. package/docs/en-GB/intlayer_with_react_router_v7.md +110 -0
  291. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +260 -63
  292. package/docs/en-GB/intlayer_with_solid_start.md +12 -0
  293. package/docs/en-GB/intlayer_with_svelte_kit.md +109 -4
  294. package/docs/en-GB/intlayer_with_tanstack+solid.md +159 -6
  295. package/docs/en-GB/intlayer_with_tanstack.md +381 -111
  296. package/docs/en-GB/intlayer_with_vite+lit.md +2 -0
  297. package/docs/en-GB/intlayer_with_vite+preact.md +103 -4
  298. package/docs/en-GB/intlayer_with_vite+react.md +109 -0
  299. package/docs/en-GB/intlayer_with_vite+react_compiler.md +2 -0
  300. package/docs/en-GB/intlayer_with_vite+solid.md +80 -17
  301. package/docs/en-GB/intlayer_with_vite+svelte.md +132 -0
  302. package/docs/en-GB/intlayer_with_vite+vanilla.md +2 -0
  303. package/docs/en-GB/intlayer_with_vite+vue.md +168 -23
  304. package/docs/en-GB/live-sync.md +13 -2
  305. package/docs/en-GB/packages/elysia-intlayer/exports.md +134 -0
  306. package/docs/en-GB/packages/elysia-intlayer/intlayer.md +137 -0
  307. package/docs/en-GB/packages/intlayer/getDictionary.md +154 -0
  308. package/docs/en-GB/packages/intlayer/getDictionaryAsync.md +166 -0
  309. package/docs/en-GB/packages/intlayer/getEnumeration.md +2 -0
  310. package/docs/en-GB/packages/intlayer/getIntlayer.md +196 -0
  311. package/docs/en-GB/packages/intlayer/getIntlayerAsync.md +141 -0
  312. package/docs/en-GB/packages/intlayer/getLocalizedPath.md +33 -6
  313. package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +6 -30
  314. package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +14 -2
  315. package/docs/en-GB/packages/next-intlayer/t.md +20 -0
  316. package/docs/en-GB/packages/next-intlayer/useIntlayer.md +31 -4
  317. package/docs/en-GB/packages/next-intlayer/useLocale.md +2 -0
  318. package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -2
  319. package/docs/en-GB/packages/react-intlayer/useI18n.md +31 -0
  320. package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -42
  321. package/docs/en-GB/packages/vite-intlayer/intlayerPrune.md +2 -0
  322. package/docs/en-GB/per_locale_file.md +13 -13
  323. package/docs/en-GB/readme.md +3 -2
  324. package/docs/en-GB/releases/v6.md +30 -28
  325. package/docs/en-GB/self_hosting.md +60 -29
  326. package/docs/es/analytics.md +32 -11
  327. package/docs/es/benchmark/tanstack.md +6 -0
  328. package/docs/es/cli/ci.md +2 -0
  329. package/docs/es/cli/doc-review.md +13 -1
  330. package/docs/es/cli/fill.md +0 -8
  331. package/docs/es/cli/index.md +2 -0
  332. package/docs/es/cli/list_projects.md +0 -2
  333. package/docs/es/cli/login.md +28 -2
  334. package/docs/es/compat/next-intl.md +0 -2
  335. package/docs/es/compiler.md +14 -0
  336. package/docs/es/component_i18n.md +4 -0
  337. package/docs/es/configuration.md +7 -8
  338. package/docs/es/custom_domains.md +34 -0
  339. package/docs/es/custom_url_rewrites.md +7 -5
  340. package/docs/es/dictionary/enumeration.md +0 -154
  341. package/docs/es/dictionary/html.md +16 -16
  342. package/docs/es/dictionary/markdown.md +7 -3
  343. package/docs/es/dictionary/plurial.md +72 -275
  344. package/docs/es/dynamic_dictionaries/variants.md +24 -0
  345. package/docs/es/formatters.md +24 -113
  346. package/docs/es/how_works_intlayer.md +5 -0
  347. package/docs/es/intlayer_CMS.md +16 -8
  348. package/docs/es/intlayer_visual_editor.md +12 -0
  349. package/docs/es/intlayer_with_adonisjs.md +5 -3
  350. package/docs/es/intlayer_with_astro.md +24 -0
  351. package/docs/es/intlayer_with_astro_preact.md +6 -0
  352. package/docs/es/intlayer_with_create_react_app.md +55 -26
  353. package/docs/es/intlayer_with_elysia.md +339 -0
  354. package/docs/es/intlayer_with_express.md +11 -32
  355. package/docs/es/intlayer_with_fastify.md +5 -3
  356. package/docs/es/intlayer_with_hono.md +5 -3
  357. package/docs/es/intlayer_with_lynx+react.md +13 -0
  358. package/docs/es/intlayer_with_nestjs.md +19 -3
  359. package/docs/es/intlayer_with_nextjs_14.md +178 -50
  360. package/docs/es/intlayer_with_nextjs_15.md +197 -0
  361. package/docs/es/intlayer_with_nextjs_16.md +129 -66
  362. package/docs/es/intlayer_with_nextjs_compiler.md +45 -5
  363. package/docs/es/intlayer_with_nextjs_no_locale_path.md +145 -4
  364. package/docs/es/intlayer_with_nextjs_page_router.md +15 -28
  365. package/docs/es/intlayer_with_react_router_v7.md +30 -0
  366. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +28 -28
  367. package/docs/es/intlayer_with_solid_start.md +12 -0
  368. package/docs/es/intlayer_with_svelte_kit.md +6 -0
  369. package/docs/es/intlayer_with_tanstack+solid.md +157 -6
  370. package/docs/es/intlayer_with_tanstack.md +336 -192
  371. package/docs/es/intlayer_with_vite+lit.md +4 -0
  372. package/docs/es/intlayer_with_vite+preact.md +36 -4
  373. package/docs/es/intlayer_with_vite+react.md +2 -0
  374. package/docs/es/intlayer_with_vite+react_compiler.md +2 -0
  375. package/docs/es/intlayer_with_vite+solid.md +11 -36
  376. package/docs/es/intlayer_with_vite+svelte.md +2 -0
  377. package/docs/es/intlayer_with_vite+vanilla.md +2 -0
  378. package/docs/es/intlayer_with_vite+vue.md +15 -2
  379. package/docs/es/live-sync.md +13 -4
  380. package/docs/es/packages/elysia-intlayer/exports.md +134 -0
  381. package/docs/es/packages/elysia-intlayer/intlayer.md +137 -0
  382. package/docs/es/packages/intlayer/getDictionary.md +155 -0
  383. package/docs/es/packages/intlayer/getDictionaryAsync.md +166 -0
  384. package/docs/es/packages/intlayer/getEnumeration.md +2 -0
  385. package/docs/es/packages/intlayer/getIntlayer.md +197 -0
  386. package/docs/es/packages/intlayer/getIntlayerAsync.md +141 -0
  387. package/docs/es/packages/intlayer/getLocalizedPath.md +34 -7
  388. package/docs/es/packages/intlayer/getLocalizedUrl.md +6 -30
  389. package/docs/es/packages/intlayer/getMultilingualUrls.md +14 -2
  390. package/docs/es/packages/intlayer/getTranslation.md +2 -0
  391. package/docs/es/packages/next-intlayer/t.md +20 -0
  392. package/docs/es/packages/next-intlayer/useIntlayer.md +31 -0
  393. package/docs/es/packages/next-intlayer/useLocale.md +2 -0
  394. package/docs/es/packages/react-intlayer/useDictionary.md +0 -2
  395. package/docs/es/packages/react-intlayer/useI18n.md +31 -0
  396. package/docs/es/packages/react-intlayer/useIntlayer.md +0 -42
  397. package/docs/es/packages/solid-intlayer/useRewriteURL.md +0 -2
  398. package/docs/es/packages/vite-intlayer/intlayerPrune.md +2 -0
  399. package/docs/es/per_locale_file.md +13 -13
  400. package/docs/es/readme.md +3 -2
  401. package/docs/es/releases/v6.md +8 -2
  402. package/docs/es/releases/v9.md +2 -0
  403. package/docs/es/self_hosting.md +67 -24
  404. package/docs/fr/CI_CD.md +2 -0
  405. package/docs/fr/analytics.md +54 -11
  406. package/docs/fr/benchmark/tanstack.md +6 -0
  407. package/docs/fr/cli/ci.md +2 -0
  408. package/docs/fr/cli/doc-review.md +7 -1
  409. package/docs/fr/cli/fill.md +0 -8
  410. package/docs/fr/cli/index.md +2 -0
  411. package/docs/fr/cli/list_projects.md +0 -2
  412. package/docs/fr/cli/login.md +28 -0
  413. package/docs/fr/compiler.md +14 -0
  414. package/docs/fr/configuration.md +7 -10
  415. package/docs/fr/custom_domains.md +34 -0
  416. package/docs/fr/custom_url_rewrites.md +7 -5
  417. package/docs/fr/dictionary/condition.md +0 -201
  418. package/docs/fr/dictionary/html.md +17 -17
  419. package/docs/fr/dictionary/markdown.md +7 -3
  420. package/docs/fr/dictionary/plurial.md +79 -110
  421. package/docs/fr/dynamic_dictionaries/variants.md +24 -0
  422. package/docs/fr/formatters.md +0 -106
  423. package/docs/fr/how_works_intlayer.md +5 -2
  424. package/docs/fr/intlayer_CMS.md +26 -21
  425. package/docs/fr/intlayer_visual_editor.md +12 -0
  426. package/docs/fr/intlayer_with_adonisjs.md +5 -3
  427. package/docs/fr/intlayer_with_astro.md +24 -0
  428. package/docs/fr/intlayer_with_create_react_app.md +55 -0
  429. package/docs/fr/intlayer_with_elysia.md +339 -0
  430. package/docs/fr/intlayer_with_express.md +11 -69
  431. package/docs/fr/intlayer_with_fastify.md +5 -3
  432. package/docs/fr/intlayer_with_hono.md +5 -3
  433. package/docs/fr/intlayer_with_lynx+react.md +13 -0
  434. package/docs/fr/intlayer_with_nestjs.md +19 -3
  435. package/docs/fr/intlayer_with_nextjs_14.md +237 -9
  436. package/docs/fr/intlayer_with_nextjs_15.md +179 -8
  437. package/docs/fr/intlayer_with_nextjs_16.md +125 -29
  438. package/docs/fr/intlayer_with_nextjs_compiler.md +45 -5
  439. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +143 -4
  440. package/docs/fr/intlayer_with_nextjs_page_router.md +15 -28
  441. package/docs/fr/intlayer_with_nuxt.md +29 -0
  442. package/docs/fr/intlayer_with_react_router_v7.md +31 -0
  443. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +29 -1
  444. package/docs/fr/intlayer_with_solid_start.md +12 -0
  445. package/docs/fr/intlayer_with_svelte_kit.md +6 -0
  446. package/docs/fr/intlayer_with_tanstack+solid.md +157 -8
  447. package/docs/fr/intlayer_with_tanstack.md +302 -156
  448. package/docs/fr/intlayer_with_vite+lit.md +4 -0
  449. package/docs/fr/intlayer_with_vite+preact.md +36 -4
  450. package/docs/fr/intlayer_with_vite+react.md +2 -0
  451. package/docs/fr/intlayer_with_vite+react_compiler.md +2 -0
  452. package/docs/fr/intlayer_with_vite+solid.md +11 -36
  453. package/docs/fr/intlayer_with_vite+svelte.md +2 -0
  454. package/docs/fr/intlayer_with_vite+vanilla.md +2 -0
  455. package/docs/fr/intlayer_with_vite+vue.md +15 -2
  456. package/docs/fr/live-sync.md +13 -2
  457. package/docs/fr/packages/elysia-intlayer/exports.md +134 -0
  458. package/docs/fr/packages/elysia-intlayer/intlayer.md +137 -0
  459. package/docs/fr/packages/intlayer/getDictionary.md +154 -0
  460. package/docs/fr/packages/intlayer/getDictionaryAsync.md +166 -0
  461. package/docs/fr/packages/intlayer/getEnumeration.md +2 -0
  462. package/docs/fr/packages/intlayer/getIntlayer.md +196 -0
  463. package/docs/fr/packages/intlayer/getIntlayerAsync.md +141 -0
  464. package/docs/fr/packages/intlayer/getLocalizedPath.md +33 -7
  465. package/docs/fr/packages/intlayer/getLocalizedUrl.md +6 -30
  466. package/docs/fr/packages/intlayer/getMultilingualUrls.md +6 -2
  467. package/docs/fr/packages/intlayer/getTranslation.md +2 -0
  468. package/docs/fr/packages/next-intlayer/t.md +20 -0
  469. package/docs/fr/packages/next-intlayer/useIntlayer.md +31 -0
  470. package/docs/fr/packages/next-intlayer/useLocale.md +2 -0
  471. package/docs/fr/packages/react-intlayer/useI18n.md +31 -0
  472. package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -42
  473. package/docs/fr/packages/vite-intlayer/intlayerPrune.md +2 -0
  474. package/docs/fr/per_locale_file.md +13 -13
  475. package/docs/fr/readme.md +3 -2
  476. package/docs/fr/releases/v6.md +8 -2
  477. package/docs/fr/releases/v9.md +2 -0
  478. package/docs/fr/self_hosting.md +67 -24
  479. package/docs/hi/benchmark/tanstack.md +6 -0
  480. package/docs/hi/cli/ci.md +2 -0
  481. package/docs/hi/cli/doc-review.md +10 -2
  482. package/docs/hi/cli/fill.md +0 -8
  483. package/docs/hi/cli/index.md +2 -0
  484. package/docs/hi/cli/list_projects.md +0 -2
  485. package/docs/hi/cli/login.md +28 -0
  486. package/docs/hi/compiler.md +14 -0
  487. package/docs/hi/configuration.md +7 -8
  488. package/docs/hi/custom_domains.md +33 -0
  489. package/docs/hi/custom_url_rewrites.md +7 -5
  490. package/docs/hi/dictionary/content_file.md +0 -2
  491. package/docs/hi/dictionary/html.md +36 -15
  492. package/docs/hi/dictionary/insertion.md +0 -14
  493. package/docs/hi/dictionary/markdown.md +31 -14
  494. package/docs/hi/dictionary/plurial.md +81 -113
  495. package/docs/hi/dynamic_dictionaries/variants.md +24 -0
  496. package/docs/hi/formatters.md +12 -37
  497. package/docs/hi/how_works_intlayer.md +8 -1
  498. package/docs/hi/interest_of_intlayer.md +16 -0
  499. package/docs/hi/intlayer_visual_editor.md +12 -0
  500. package/docs/hi/intlayer_with_adonisjs.md +5 -3
  501. package/docs/hi/intlayer_with_analog.md +17 -0
  502. package/docs/hi/intlayer_with_angular_19.md +20 -0
  503. package/docs/hi/intlayer_with_angular_21.md +17 -0
  504. package/docs/hi/intlayer_with_astro.md +43 -0
  505. package/docs/hi/intlayer_with_astro_lit.md +43 -0
  506. package/docs/hi/intlayer_with_astro_preact.md +49 -0
  507. package/docs/hi/intlayer_with_astro_react.md +43 -0
  508. package/docs/hi/intlayer_with_astro_solid.md +43 -0
  509. package/docs/hi/intlayer_with_astro_svelte.md +43 -0
  510. package/docs/hi/intlayer_with_astro_vanilla.md +43 -0
  511. package/docs/hi/intlayer_with_astro_vue.md +19 -0
  512. package/docs/hi/intlayer_with_create_react_app.md +53 -418
  513. package/docs/hi/intlayer_with_elysia.md +343 -0
  514. package/docs/hi/intlayer_with_express.md +9 -17
  515. package/docs/hi/intlayer_with_fastify.md +5 -3
  516. package/docs/hi/intlayer_with_hono.md +44 -3
  517. package/docs/hi/intlayer_with_lynx+react.md +25 -10
  518. package/docs/hi/intlayer_with_next-i18next.md +21 -0
  519. package/docs/hi/intlayer_with_nextjs_14.md +233 -34
  520. package/docs/hi/intlayer_with_nextjs_15.md +223 -8
  521. package/docs/hi/intlayer_with_nextjs_16.md +134 -10
  522. package/docs/hi/intlayer_with_nextjs_compiler.md +49 -5
  523. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +162 -4
  524. package/docs/hi/intlayer_with_nextjs_page_router.md +28 -35
  525. package/docs/hi/intlayer_with_nuxt.md +46 -0
  526. package/docs/hi/intlayer_with_react_router_v7.md +49 -0
  527. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +161 -45
  528. package/docs/hi/intlayer_with_solid_start.md +12 -0
  529. package/docs/hi/intlayer_with_storybook.md +17 -0
  530. package/docs/hi/intlayer_with_svelte_kit.md +25 -0
  531. package/docs/hi/intlayer_with_tanstack+solid.md +252 -6
  532. package/docs/hi/intlayer_with_tanstack.md +387 -157
  533. package/docs/hi/intlayer_with_vanilla.md +17 -0
  534. package/docs/hi/intlayer_with_vite+lit.md +21 -0
  535. package/docs/hi/intlayer_with_vite+preact.md +32 -99
  536. package/docs/hi/intlayer_with_vite+react.md +23 -7
  537. package/docs/hi/intlayer_with_vite+react_compiler.md +2 -0
  538. package/docs/hi/intlayer_with_vite+solid.md +30 -25
  539. package/docs/hi/intlayer_with_vite+svelte.md +79 -0
  540. package/docs/hi/intlayer_with_vite+vanilla.md +19 -68
  541. package/docs/hi/intlayer_with_vite+vue.md +29 -9
  542. package/docs/hi/live-sync.md +39 -0
  543. package/docs/hi/packages/elysia-intlayer/exports.md +136 -0
  544. package/docs/hi/packages/elysia-intlayer/intlayer.md +139 -0
  545. package/docs/hi/packages/intlayer/getDictionary.md +156 -0
  546. package/docs/hi/packages/intlayer/getDictionaryAsync.md +166 -0
  547. package/docs/hi/packages/intlayer/getEnumeration.md +2 -0
  548. package/docs/hi/packages/intlayer/getIntlayer.md +197 -0
  549. package/docs/hi/packages/intlayer/getIntlayerAsync.md +141 -0
  550. package/docs/hi/packages/intlayer/getLocalizedPath.md +33 -7
  551. package/docs/hi/packages/intlayer/getLocalizedUrl.md +6 -15
  552. package/docs/hi/packages/intlayer/getMultilingualUrls.md +6 -2
  553. package/docs/hi/packages/intlayer/getTranslation.md +2 -0
  554. package/docs/hi/packages/next-intlayer/t.md +20 -31
  555. package/docs/hi/packages/next-intlayer/useIntlayer.md +33 -0
  556. package/docs/hi/packages/next-intlayer/useLocale.md +2 -0
  557. package/docs/hi/packages/react-intlayer/useDictionary.md +0 -2
  558. package/docs/hi/packages/react-intlayer/useI18n.md +31 -0
  559. package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -42
  560. package/docs/hi/packages/vite-intlayer/intlayerPrune.md +2 -0
  561. package/docs/hi/per_locale_file.md +13 -13
  562. package/docs/hi/readme.md +3 -2
  563. package/docs/hi/releases/v6.md +16 -2
  564. package/docs/hi/releases/v9.md +2 -0
  565. package/docs/hi/self_hosting.md +80 -26
  566. package/docs/id/benchmark/tanstack.md +6 -0
  567. package/docs/id/cli/ci.md +2 -0
  568. package/docs/id/cli/doc-review.md +9 -1
  569. package/docs/id/cli/fill.md +0 -8
  570. package/docs/id/cli/index.md +2 -0
  571. package/docs/id/cli/login.md +28 -0
  572. package/docs/id/compiler.md +14 -0
  573. package/docs/id/configuration.md +7 -8
  574. package/docs/id/custom_domains.md +34 -0
  575. package/docs/id/custom_url_rewrites.md +7 -5
  576. package/docs/id/dictionary/content_file.md +0 -29
  577. package/docs/id/dictionary/file.md +0 -166
  578. package/docs/id/dictionary/gender.md +0 -212
  579. package/docs/id/dictionary/html.md +134 -16
  580. package/docs/id/dictionary/insertion.md +0 -14
  581. package/docs/id/dictionary/markdown.md +31 -14
  582. package/docs/id/dictionary/plurial.md +79 -110
  583. package/docs/id/dynamic_dictionaries/variants.md +24 -0
  584. package/docs/id/formatters.md +12 -39
  585. package/docs/id/interest_of_intlayer.md +0 -2
  586. package/docs/id/intlayer_with_adonisjs.md +5 -3
  587. package/docs/id/intlayer_with_astro.md +24 -0
  588. package/docs/id/intlayer_with_astro_preact.md +6 -0
  589. package/docs/id/intlayer_with_create_react_app.md +43 -0
  590. package/docs/id/intlayer_with_elysia.md +343 -0
  591. package/docs/id/intlayer_with_express.md +5 -3
  592. package/docs/id/intlayer_with_fastify.md +5 -3
  593. package/docs/id/intlayer_with_hono.md +44 -3
  594. package/docs/id/intlayer_with_nestjs.md +5 -3
  595. package/docs/id/intlayer_with_nextjs_14.md +126 -7
  596. package/docs/id/intlayer_with_nextjs_15.md +103 -0
  597. package/docs/id/intlayer_with_nextjs_16.md +121 -2
  598. package/docs/id/intlayer_with_nextjs_compiler.md +72 -5
  599. package/docs/id/intlayer_with_nextjs_no_locale_path.md +141 -4
  600. package/docs/id/intlayer_with_nextjs_page_router.md +31 -24
  601. package/docs/id/intlayer_with_react_router_v7.md +30 -0
  602. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +145 -50
  603. package/docs/id/intlayer_with_solid_start.md +12 -0
  604. package/docs/id/intlayer_with_svelte_kit.md +6 -0
  605. package/docs/id/intlayer_with_tanstack+solid.md +232 -6
  606. package/docs/id/intlayer_with_tanstack.md +370 -145
  607. package/docs/id/intlayer_with_vite+lit.md +4 -0
  608. package/docs/id/intlayer_with_vite+preact.md +34 -4
  609. package/docs/id/intlayer_with_vite+react.md +4 -0
  610. package/docs/id/intlayer_with_vite+react_compiler.md +2 -0
  611. package/docs/id/intlayer_with_vite+solid.md +11 -27
  612. package/docs/id/intlayer_with_vite+svelte.md +27 -0
  613. package/docs/id/intlayer_with_vite+vanilla.md +2 -0
  614. package/docs/id/intlayer_with_vite+vue.md +13 -2
  615. package/docs/id/packages/elysia-intlayer/exports.md +136 -0
  616. package/docs/id/packages/elysia-intlayer/intlayer.md +139 -0
  617. package/docs/id/packages/intlayer/getDictionary.md +155 -0
  618. package/docs/id/packages/intlayer/getDictionaryAsync.md +166 -0
  619. package/docs/id/packages/intlayer/getEnumeration.md +2 -0
  620. package/docs/id/packages/intlayer/getIntlayer.md +197 -0
  621. package/docs/id/packages/intlayer/getIntlayerAsync.md +141 -0
  622. package/docs/id/packages/intlayer/getLocalizedPath.md +34 -7
  623. package/docs/id/packages/intlayer/getLocalizedUrl.md +11 -32
  624. package/docs/id/packages/intlayer/getMultilingualUrls.md +14 -2
  625. package/docs/id/packages/intlayer/getTranslation.md +2 -0
  626. package/docs/id/packages/next-intlayer/t.md +20 -0
  627. package/docs/id/packages/next-intlayer/useIntlayer.md +31 -0
  628. package/docs/id/packages/react-intlayer/useDictionary.md +0 -2
  629. package/docs/id/packages/react-intlayer/useI18n.md +31 -0
  630. package/docs/id/packages/react-intlayer/useIntlayer.md +0 -44
  631. package/docs/id/packages/vite-intlayer/intlayerPrune.md +2 -0
  632. package/docs/id/per_locale_file.md +13 -13
  633. package/docs/id/readme.md +3 -2
  634. package/docs/id/self_hosting.md +62 -31
  635. package/docs/it/benchmark/tanstack.md +6 -0
  636. package/docs/it/cli/ci.md +2 -0
  637. package/docs/it/cli/doc-review.md +9 -1
  638. package/docs/it/cli/fill.md +0 -8
  639. package/docs/it/cli/index.md +2 -0
  640. package/docs/it/cli/list_projects.md +0 -2
  641. package/docs/it/cli/login.md +28 -0
  642. package/docs/it/cli/watch.md +0 -2
  643. package/docs/it/compiler.md +14 -0
  644. package/docs/it/configuration.md +7 -8
  645. package/docs/it/custom_domains.md +34 -0
  646. package/docs/it/custom_url_rewrites.md +7 -5
  647. package/docs/it/dictionary/enumeration.md +30 -0
  648. package/docs/it/dictionary/file.md +0 -166
  649. package/docs/it/dictionary/html.md +18 -18
  650. package/docs/it/dictionary/markdown.md +7 -3
  651. package/docs/it/dictionary/plurial.md +70 -273
  652. package/docs/it/dynamic_dictionaries/variants.md +24 -0
  653. package/docs/it/formatters.md +24 -113
  654. package/docs/it/how_works_intlayer.md +8 -1
  655. package/docs/it/intlayer_CMS.md +26 -21
  656. package/docs/it/intlayer_visual_editor.md +12 -0
  657. package/docs/it/intlayer_with_adonisjs.md +5 -3
  658. package/docs/it/intlayer_with_astro.md +24 -0
  659. package/docs/it/intlayer_with_astro_preact.md +6 -0
  660. package/docs/it/intlayer_with_create_react_app.md +57 -38
  661. package/docs/it/intlayer_with_elysia.md +343 -0
  662. package/docs/it/intlayer_with_express.md +9 -3
  663. package/docs/it/intlayer_with_fastify.md +5 -3
  664. package/docs/it/intlayer_with_hono.md +44 -3
  665. package/docs/it/intlayer_with_lynx+react.md +13 -9
  666. package/docs/it/intlayer_with_nestjs.md +5 -3
  667. package/docs/it/intlayer_with_nextjs_14.md +239 -9
  668. package/docs/it/intlayer_with_nextjs_15.md +196 -20
  669. package/docs/it/intlayer_with_nextjs_16.md +106 -2
  670. package/docs/it/intlayer_with_nextjs_compiler.md +47 -5
  671. package/docs/it/intlayer_with_nextjs_no_locale_path.md +140 -4
  672. package/docs/it/intlayer_with_nextjs_page_router.md +6 -28
  673. package/docs/it/intlayer_with_react_router_v7.md +30 -0
  674. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +30 -0
  675. package/docs/it/intlayer_with_solid_start.md +12 -0
  676. package/docs/it/intlayer_with_svelte_kit.md +6 -0
  677. package/docs/it/intlayer_with_tanstack+solid.md +157 -6
  678. package/docs/it/intlayer_with_tanstack.md +321 -171
  679. package/docs/it/intlayer_with_vite+lit.md +4 -0
  680. package/docs/it/intlayer_with_vite+preact.md +36 -4
  681. package/docs/it/intlayer_with_vite+react.md +4 -5
  682. package/docs/it/intlayer_with_vite+react_compiler.md +2 -0
  683. package/docs/it/intlayer_with_vite+solid.md +11 -31
  684. package/docs/it/intlayer_with_vite+svelte.md +27 -0
  685. package/docs/it/intlayer_with_vite+vanilla.md +2 -0
  686. package/docs/it/intlayer_with_vite+vue.md +21 -2
  687. package/docs/it/live-sync.md +13 -2
  688. package/docs/it/packages/elysia-intlayer/exports.md +136 -0
  689. package/docs/it/packages/elysia-intlayer/intlayer.md +139 -0
  690. package/docs/it/packages/intlayer/getDictionary.md +154 -0
  691. package/docs/it/packages/intlayer/getDictionaryAsync.md +166 -0
  692. package/docs/it/packages/intlayer/getEnumeration.md +2 -0
  693. package/docs/it/packages/intlayer/getIntlayer.md +197 -0
  694. package/docs/it/packages/intlayer/getIntlayerAsync.md +141 -0
  695. package/docs/it/packages/intlayer/getLocalizedPath.md +34 -7
  696. package/docs/it/packages/intlayer/getLocalizedUrl.md +6 -30
  697. package/docs/it/packages/intlayer/getMultilingualUrls.md +14 -2
  698. package/docs/it/packages/intlayer/getTranslation.md +2 -0
  699. package/docs/it/packages/next-intlayer/t.md +20 -31
  700. package/docs/it/packages/next-intlayer/useIntlayer.md +31 -0
  701. package/docs/it/packages/next-intlayer/useLocale.md +2 -0
  702. package/docs/it/packages/react-intlayer/useDictionary.md +0 -2
  703. package/docs/it/packages/react-intlayer/useI18n.md +31 -0
  704. package/docs/it/packages/react-intlayer/useIntlayer.md +0 -44
  705. package/docs/it/packages/vite-intlayer/intlayerPrune.md +2 -0
  706. package/docs/it/per_locale_file.md +13 -13
  707. package/docs/it/readme.md +3 -2
  708. package/docs/it/releases/v6.md +16 -2
  709. package/docs/it/releases/v8.md +2 -4
  710. package/docs/it/releases/v9.md +2 -0
  711. package/docs/it/self_hosting.md +61 -30
  712. package/docs/ja/analytics.md +32 -11
  713. package/docs/ja/benchmark/tanstack.md +6 -0
  714. package/docs/ja/cli/build.md +0 -14
  715. package/docs/ja/cli/ci.md +2 -0
  716. package/docs/ja/cli/doc-review.md +8 -0
  717. package/docs/ja/cli/fill.md +0 -8
  718. package/docs/ja/cli/index.md +2 -0
  719. package/docs/ja/cli/list_projects.md +0 -2
  720. package/docs/ja/cli/login.md +28 -0
  721. package/docs/ja/cli/push.md +0 -15
  722. package/docs/ja/compiler.md +14 -0
  723. package/docs/ja/configuration.md +7 -8
  724. package/docs/ja/custom_domains.md +32 -0
  725. package/docs/ja/custom_url_rewrites.md +7 -5
  726. package/docs/ja/dictionary/content_file.md +0 -13
  727. package/docs/ja/dictionary/html.md +19 -17
  728. package/docs/ja/dictionary/plurial.md +81 -115
  729. package/docs/ja/dynamic_dictionaries/variants.md +24 -0
  730. package/docs/ja/formatters.md +0 -164
  731. package/docs/ja/how_works_intlayer.md +7 -0
  732. package/docs/ja/interest_of_intlayer.md +18 -0
  733. package/docs/ja/intlayer_visual_editor.md +13 -1
  734. package/docs/ja/intlayer_with_adonisjs.md +5 -3
  735. package/docs/ja/intlayer_with_analog.md +19 -0
  736. package/docs/ja/intlayer_with_angular_19.md +17 -0
  737. package/docs/ja/intlayer_with_angular_21.md +17 -0
  738. package/docs/ja/intlayer_with_astro.md +41 -0
  739. package/docs/ja/intlayer_with_astro_lit.md +17 -0
  740. package/docs/ja/intlayer_with_astro_preact.md +17 -0
  741. package/docs/ja/intlayer_with_astro_react.md +17 -0
  742. package/docs/ja/intlayer_with_astro_solid.md +17 -0
  743. package/docs/ja/intlayer_with_astro_svelte.md +17 -0
  744. package/docs/ja/intlayer_with_astro_vanilla.md +17 -0
  745. package/docs/ja/intlayer_with_astro_vue.md +17 -0
  746. package/docs/ja/intlayer_with_create_react_app.md +55 -272
  747. package/docs/ja/intlayer_with_elysia.md +343 -0
  748. package/docs/ja/intlayer_with_express.md +11 -3
  749. package/docs/ja/intlayer_with_fastify.md +5 -3
  750. package/docs/ja/intlayer_with_hono.md +44 -3
  751. package/docs/ja/intlayer_with_lynx+react.md +27 -0
  752. package/docs/ja/intlayer_with_nestjs.md +19 -3
  753. package/docs/ja/intlayer_with_nextjs_14.md +198 -90
  754. package/docs/ja/intlayer_with_nextjs_15.md +217 -0
  755. package/docs/ja/intlayer_with_nextjs_16.md +123 -2
  756. package/docs/ja/intlayer_with_nextjs_compiler.md +72 -5
  757. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +169 -6
  758. package/docs/ja/intlayer_with_nextjs_page_router.md +2 -24
  759. package/docs/ja/intlayer_with_nuxt.md +17 -0
  760. package/docs/ja/intlayer_with_react_router_v7.md +147 -27
  761. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +45 -0
  762. package/docs/ja/intlayer_with_solid_start.md +12 -0
  763. package/docs/ja/intlayer_with_storybook.md +17 -0
  764. package/docs/ja/intlayer_with_svelte_kit.md +527 -12
  765. package/docs/ja/intlayer_with_tanstack+solid.md +174 -8
  766. package/docs/ja/intlayer_with_tanstack.md +401 -215
  767. package/docs/ja/intlayer_with_vanilla.md +17 -0
  768. package/docs/ja/intlayer_with_vite+lit.md +21 -0
  769. package/docs/ja/intlayer_with_vite+preact.md +17 -4
  770. package/docs/ja/intlayer_with_vite+react.md +522 -0
  771. package/docs/ja/intlayer_with_vite+react_compiler.md +2 -0
  772. package/docs/ja/intlayer_with_vite+solid.md +28 -42
  773. package/docs/ja/intlayer_with_vite+svelte.md +54 -12
  774. package/docs/ja/intlayer_with_vite+vanilla.md +19 -0
  775. package/docs/ja/intlayer_with_vite+vue.md +32 -5
  776. package/docs/ja/packages/astro-intlayer/exports.md +0 -4
  777. package/docs/ja/packages/elysia-intlayer/exports.md +136 -0
  778. package/docs/ja/packages/elysia-intlayer/intlayer.md +139 -0
  779. package/docs/ja/packages/intlayer/getDictionary.md +155 -0
  780. package/docs/ja/packages/intlayer/getDictionaryAsync.md +166 -0
  781. package/docs/ja/packages/intlayer/getEnumeration.md +2 -0
  782. package/docs/ja/packages/intlayer/getIntlayer.md +197 -0
  783. package/docs/ja/packages/intlayer/getIntlayerAsync.md +141 -0
  784. package/docs/ja/packages/intlayer/getLocalizedPath.md +33 -7
  785. package/docs/ja/packages/intlayer/getLocalizedUrl.md +14 -30
  786. package/docs/ja/packages/intlayer/getMultilingualUrls.md +14 -50
  787. package/docs/ja/packages/intlayer/getPrefix.md +0 -2
  788. package/docs/ja/packages/intlayer/getTranslation.md +2 -0
  789. package/docs/ja/packages/next-intlayer/t.md +20 -0
  790. package/docs/ja/packages/next-intlayer/useIntlayer.md +31 -0
  791. package/docs/ja/packages/next-intlayer/useLocale.md +2 -0
  792. package/docs/ja/packages/react-intlayer/useDictionary.md +0 -2
  793. package/docs/ja/packages/react-intlayer/useI18n.md +31 -0
  794. package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -42
  795. package/docs/ja/packages/vite-intlayer/intlayerPrune.md +2 -0
  796. package/docs/ja/per_locale_file.md +13 -13
  797. package/docs/ja/readme.md +3 -2
  798. package/docs/ja/releases/v6.md +16 -2
  799. package/docs/ja/self_hosting.md +67 -23
  800. package/docs/ko/analytics.md +32 -11
  801. package/docs/ko/benchmark/tanstack.md +6 -0
  802. package/docs/ko/cli/ci.md +2 -0
  803. package/docs/ko/cli/doc-review.md +8 -0
  804. package/docs/ko/cli/fill.md +0 -8
  805. package/docs/ko/cli/index.md +2 -0
  806. package/docs/ko/cli/login.md +28 -0
  807. package/docs/ko/cli/push.md +0 -15
  808. package/docs/ko/compat/next-i18next.md +2 -0
  809. package/docs/ko/compiler.md +14 -0
  810. package/docs/ko/configuration.md +7 -8
  811. package/docs/ko/custom_domains.md +34 -0
  812. package/docs/ko/custom_url_rewrites.md +7 -5
  813. package/docs/ko/dictionary/html.md +3 -1
  814. package/docs/ko/dictionary/markdown.md +7 -3
  815. package/docs/ko/dictionary/plurial.md +79 -111
  816. package/docs/ko/dynamic_dictionaries/variants.md +24 -0
  817. package/docs/ko/formatters.md +0 -184
  818. package/docs/ko/how_works_intlayer.md +7 -0
  819. package/docs/ko/intlayer_visual_editor.md +12 -0
  820. package/docs/ko/intlayer_with_adonisjs.md +5 -3
  821. package/docs/ko/intlayer_with_analog.md +2 -0
  822. package/docs/ko/intlayer_with_astro.md +108 -66
  823. package/docs/ko/intlayer_with_astro_lit.md +110 -66
  824. package/docs/ko/intlayer_with_astro_preact.md +110 -66
  825. package/docs/ko/intlayer_with_astro_react.md +106 -62
  826. package/docs/ko/intlayer_with_astro_solid.md +106 -62
  827. package/docs/ko/intlayer_with_astro_svelte.md +108 -64
  828. package/docs/ko/intlayer_with_astro_vanilla.md +107 -63
  829. package/docs/ko/intlayer_with_astro_vue.md +83 -63
  830. package/docs/ko/intlayer_with_create_react_app.md +53 -2
  831. package/docs/ko/intlayer_with_elysia.md +343 -0
  832. package/docs/ko/intlayer_with_express.md +11 -3
  833. package/docs/ko/intlayer_with_fastify.md +5 -3
  834. package/docs/ko/intlayer_with_hono.md +44 -3
  835. package/docs/ko/intlayer_with_lynx+react.md +51 -0
  836. package/docs/ko/intlayer_with_nestjs.md +19 -3
  837. package/docs/ko/intlayer_with_nextjs_14.md +199 -50
  838. package/docs/ko/intlayer_with_nextjs_15.md +156 -2
  839. package/docs/ko/intlayer_with_nextjs_16.md +107 -0
  840. package/docs/ko/intlayer_with_nextjs_compiler.md +374 -40
  841. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +152 -10
  842. package/docs/ko/intlayer_with_nextjs_page_router.md +13 -79
  843. package/docs/ko/intlayer_with_nuxt.md +29 -29
  844. package/docs/ko/intlayer_with_react_native+expo.md +2 -2
  845. package/docs/ko/intlayer_with_react_router_v7.md +138 -106
  846. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +275 -51
  847. package/docs/ko/intlayer_with_solid_start.md +12 -0
  848. package/docs/ko/intlayer_with_storybook.md +0 -4
  849. package/docs/ko/intlayer_with_svelte_kit.md +38 -32
  850. package/docs/ko/intlayer_with_tanstack+solid.md +159 -8
  851. package/docs/ko/intlayer_with_tanstack.md +379 -182
  852. package/docs/ko/intlayer_with_vanilla.md +0 -2
  853. package/docs/ko/intlayer_with_vite+lit.md +4 -0
  854. package/docs/ko/intlayer_with_vite+preact.md +36 -4
  855. package/docs/ko/intlayer_with_vite+react.md +415 -0
  856. package/docs/ko/intlayer_with_vite+react_compiler.md +2 -2
  857. package/docs/ko/intlayer_with_vite+solid.md +81 -8
  858. package/docs/ko/intlayer_with_vite+svelte.md +132 -99
  859. package/docs/ko/intlayer_with_vite+vanilla.md +2 -2
  860. package/docs/ko/intlayer_with_vite+vue.md +15 -0
  861. package/docs/ko/live-sync.md +0 -2
  862. package/docs/ko/packages/elysia-intlayer/exports.md +136 -0
  863. package/docs/ko/packages/elysia-intlayer/intlayer.md +139 -0
  864. package/docs/ko/packages/express-intlayer/t.md +1 -69
  865. package/docs/ko/packages/intlayer/getDictionary.md +155 -0
  866. package/docs/ko/packages/intlayer/getDictionaryAsync.md +166 -0
  867. package/docs/ko/packages/intlayer/getEnumeration.md +2 -0
  868. package/docs/ko/packages/intlayer/getIntlayer.md +197 -0
  869. package/docs/ko/packages/intlayer/getIntlayerAsync.md +141 -0
  870. package/docs/ko/packages/intlayer/getLocaleLang.md +0 -2
  871. package/docs/ko/packages/intlayer/getLocalizedPath.md +33 -7
  872. package/docs/ko/packages/intlayer/getLocalizedUrl.md +14 -30
  873. package/docs/ko/packages/intlayer/getMultilingualUrls.md +14 -35
  874. package/docs/ko/packages/intlayer/getPrefix.md +0 -2
  875. package/docs/ko/packages/intlayer/getTranslation.md +2 -0
  876. package/docs/ko/packages/next-intlayer/t.md +20 -31
  877. package/docs/ko/packages/next-intlayer/useIntlayer.md +31 -0
  878. package/docs/ko/packages/next-intlayer/useLocale.md +2 -0
  879. package/docs/ko/packages/next-intlayer/usePathname.md +0 -4
  880. package/docs/ko/packages/react-intlayer/useDictionary.md +0 -2
  881. package/docs/ko/packages/react-intlayer/useI18n.md +31 -0
  882. package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -42
  883. package/docs/ko/packages/vite-intlayer/intlayerPrune.md +2 -0
  884. package/docs/ko/per_locale_file.md +13 -13
  885. package/docs/ko/readme.md +3 -2
  886. package/docs/ko/releases/v6.md +16 -2
  887. package/docs/ko/releases/v8.md +2 -4
  888. package/docs/ko/self_hosting.md +61 -30
  889. package/docs/nl/intlayer_with_fastify.md +5 -3
  890. package/docs/nl/intlayer_with_hono.md +5 -3
  891. package/docs/pl/benchmark/tanstack.md +6 -0
  892. package/docs/pl/cli/ci.md +2 -0
  893. package/docs/pl/cli/doc-review.md +9 -1
  894. package/docs/pl/cli/fill.md +0 -8
  895. package/docs/pl/cli/index.md +2 -0
  896. package/docs/pl/cli/list_projects.md +0 -2
  897. package/docs/pl/cli/login.md +28 -0
  898. package/docs/pl/cli/watch.md +0 -2
  899. package/docs/pl/compiler.md +16 -0
  900. package/docs/pl/configuration.md +7 -8
  901. package/docs/pl/custom_domains.md +31 -0
  902. package/docs/pl/custom_url_rewrites.md +7 -5
  903. package/docs/pl/dictionary/file.md +0 -166
  904. package/docs/pl/dictionary/gender.md +0 -2
  905. package/docs/pl/dictionary/html.md +18 -18
  906. package/docs/pl/dictionary/insertion.md +0 -14
  907. package/docs/pl/dictionary/markdown.md +31 -14
  908. package/docs/pl/dictionary/plurial.md +87 -119
  909. package/docs/pl/dynamic_dictionaries/variants.md +24 -0
  910. package/docs/pl/formatters.md +12 -39
  911. package/docs/pl/intlayer_with_adonisjs.md +5 -3
  912. package/docs/pl/intlayer_with_analog.md +17 -0
  913. package/docs/pl/intlayer_with_angular_19.md +17 -0
  914. package/docs/pl/intlayer_with_angular_21.md +17 -0
  915. package/docs/pl/intlayer_with_astro.md +113 -0
  916. package/docs/pl/intlayer_with_astro_lit.md +17 -0
  917. package/docs/pl/intlayer_with_astro_preact.md +23 -0
  918. package/docs/pl/intlayer_with_astro_react.md +17 -0
  919. package/docs/pl/intlayer_with_astro_solid.md +17 -0
  920. package/docs/pl/intlayer_with_astro_svelte.md +17 -0
  921. package/docs/pl/intlayer_with_astro_vanilla.md +17 -0
  922. package/docs/pl/intlayer_with_astro_vue.md +17 -0
  923. package/docs/pl/intlayer_with_create_react_app.md +43 -0
  924. package/docs/pl/intlayer_with_elysia.md +343 -0
  925. package/docs/pl/intlayer_with_express.md +5 -3
  926. package/docs/pl/intlayer_with_fastify.md +5 -3
  927. package/docs/pl/intlayer_with_hono.md +44 -3
  928. package/docs/pl/intlayer_with_lynx+react.md +17 -0
  929. package/docs/pl/intlayer_with_nextjs_14.md +143 -11
  930. package/docs/pl/intlayer_with_nextjs_15.md +117 -4
  931. package/docs/pl/intlayer_with_nextjs_16.md +122 -0
  932. package/docs/pl/intlayer_with_nextjs_compiler.md +47 -5
  933. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +158 -4
  934. package/docs/pl/intlayer_with_nextjs_page_router.md +91 -36
  935. package/docs/pl/intlayer_with_nuxt.md +17 -0
  936. package/docs/pl/intlayer_with_react_router_v7.md +47 -2
  937. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +29 -25
  938. package/docs/pl/intlayer_with_solid_start.md +12 -0
  939. package/docs/pl/intlayer_with_storybook.md +17 -0
  940. package/docs/pl/intlayer_with_svelte_kit.md +23 -0
  941. package/docs/pl/intlayer_with_tanstack+solid.md +249 -6
  942. package/docs/pl/intlayer_with_tanstack.md +415 -151
  943. package/docs/pl/intlayer_with_vanilla.md +17 -0
  944. package/docs/pl/intlayer_with_vite+lit.md +21 -0
  945. package/docs/pl/intlayer_with_vite+preact.md +51 -0
  946. package/docs/pl/intlayer_with_vite+react.md +21 -0
  947. package/docs/pl/intlayer_with_vite+react_compiler.md +2 -0
  948. package/docs/pl/intlayer_with_vite+solid.md +28 -27
  949. package/docs/pl/intlayer_with_vite+svelte.md +42 -0
  950. package/docs/pl/intlayer_with_vite+vanilla.md +19 -0
  951. package/docs/pl/intlayer_with_vite+vue.md +23 -52
  952. package/docs/pl/migration_from_i18next_to_intlayer.md +99 -0
  953. package/docs/pl/migration_from_next-intl_to_intlayer.md +0 -2
  954. package/docs/pl/migration_from_vue-i18n_to_intlayer.md +123 -0
  955. package/docs/pl/packages/elysia-intlayer/exports.md +136 -0
  956. package/docs/pl/packages/elysia-intlayer/intlayer.md +139 -0
  957. package/docs/pl/packages/intlayer/getDictionary.md +154 -0
  958. package/docs/pl/packages/intlayer/getDictionaryAsync.md +166 -0
  959. package/docs/pl/packages/intlayer/getEnumeration.md +2 -0
  960. package/docs/pl/packages/intlayer/getIntlayer.md +197 -0
  961. package/docs/pl/packages/intlayer/getIntlayerAsync.md +141 -0
  962. package/docs/pl/packages/intlayer/getLocalizedPath.md +34 -7
  963. package/docs/pl/packages/intlayer/getLocalizedUrl.md +11 -25
  964. package/docs/pl/packages/intlayer/getMultilingualUrls.md +6 -2
  965. package/docs/pl/packages/intlayer/getTranslation.md +2 -0
  966. package/docs/pl/packages/next-intlayer/t.md +20 -0
  967. package/docs/pl/packages/next-intlayer/useIntlayer.md +6 -0
  968. package/docs/pl/packages/react-intlayer/useDictionary.md +0 -2
  969. package/docs/pl/packages/react-intlayer/useI18n.md +9 -0
  970. package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -41
  971. package/docs/pl/packages/vite-intlayer/intlayerPrune.md +2 -0
  972. package/docs/pl/per_locale_file.md +13 -13
  973. package/docs/pl/readme.md +3 -2
  974. package/docs/pl/releases/v9.md +2 -0
  975. package/docs/pl/self_hosting.md +61 -30
  976. package/docs/pt/benchmark/tanstack.md +6 -0
  977. package/docs/pt/cli/ci.md +2 -0
  978. package/docs/pt/cli/doc-review.md +9 -1
  979. package/docs/pt/cli/fill.md +0 -8
  980. package/docs/pt/cli/index.md +2 -0
  981. package/docs/pt/cli/list_projects.md +0 -6
  982. package/docs/pt/cli/login.md +28 -2
  983. package/docs/pt/cli/watch.md +0 -2
  984. package/docs/pt/compiler.md +16 -0
  985. package/docs/pt/configuration.md +7 -8
  986. package/docs/pt/custom_domains.md +34 -0
  987. package/docs/pt/custom_url_rewrites.md +7 -5
  988. package/docs/pt/dictionary/html.md +20 -18
  989. package/docs/pt/dictionary/insertion.md +0 -14
  990. package/docs/pt/dictionary/markdown.md +31 -14
  991. package/docs/pt/dictionary/plurial.md +70 -273
  992. package/docs/pt/dynamic_dictionaries/variants.md +24 -0
  993. package/docs/pt/formatters.md +24 -137
  994. package/docs/pt/how_works_intlayer.md +5 -0
  995. package/docs/pt/intlayer_CMS.md +26 -21
  996. package/docs/pt/intlayer_visual_editor.md +12 -2
  997. package/docs/pt/intlayer_with_adonisjs.md +5 -3
  998. package/docs/pt/intlayer_with_astro.md +96 -0
  999. package/docs/pt/intlayer_with_astro_lit.md +0 -8
  1000. package/docs/pt/intlayer_with_astro_preact.md +6 -0
  1001. package/docs/pt/intlayer_with_create_react_app.md +55 -35
  1002. package/docs/pt/intlayer_with_elysia.md +344 -0
  1003. package/docs/pt/intlayer_with_express.md +11 -3
  1004. package/docs/pt/intlayer_with_fastify.md +5 -3
  1005. package/docs/pt/intlayer_with_hono.md +44 -3
  1006. package/docs/pt/intlayer_with_lynx+react.md +13 -9
  1007. package/docs/pt/intlayer_with_nestjs.md +19 -3
  1008. package/docs/pt/intlayer_with_nextjs_14.md +237 -7
  1009. package/docs/pt/intlayer_with_nextjs_15.md +200 -0
  1010. package/docs/pt/intlayer_with_nextjs_16.md +105 -0
  1011. package/docs/pt/intlayer_with_nextjs_compiler.md +45 -5
  1012. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +141 -4
  1013. package/docs/pt/intlayer_with_nextjs_page_router.md +4 -28
  1014. package/docs/pt/intlayer_with_react_router_v7.md +37 -30
  1015. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +30 -2
  1016. package/docs/pt/intlayer_with_solid_start.md +12 -0
  1017. package/docs/pt/intlayer_with_svelte_kit.md +6 -0
  1018. package/docs/pt/intlayer_with_tanstack+solid.md +157 -6
  1019. package/docs/pt/intlayer_with_tanstack.md +332 -188
  1020. package/docs/pt/intlayer_with_vite+lit.md +4 -0
  1021. package/docs/pt/intlayer_with_vite+preact.md +34 -0
  1022. package/docs/pt/intlayer_with_vite+react.md +2 -0
  1023. package/docs/pt/intlayer_with_vite+react_compiler.md +2 -0
  1024. package/docs/pt/intlayer_with_vite+solid.md +11 -36
  1025. package/docs/pt/intlayer_with_vite+svelte.md +4 -0
  1026. package/docs/pt/intlayer_with_vite+vanilla.md +2 -0
  1027. package/docs/pt/intlayer_with_vite+vue.md +24 -52
  1028. package/docs/pt/live-sync.md +13 -2
  1029. package/docs/pt/packages/elysia-intlayer/exports.md +136 -0
  1030. package/docs/pt/packages/elysia-intlayer/intlayer.md +139 -0
  1031. package/docs/pt/packages/intlayer/getDictionary.md +155 -0
  1032. package/docs/pt/packages/intlayer/getDictionaryAsync.md +166 -0
  1033. package/docs/pt/packages/intlayer/getEnumeration.md +2 -0
  1034. package/docs/pt/packages/intlayer/getIntlayer.md +197 -0
  1035. package/docs/pt/packages/intlayer/getIntlayerAsync.md +141 -0
  1036. package/docs/pt/packages/intlayer/getLocalizedPath.md +34 -7
  1037. package/docs/pt/packages/intlayer/getLocalizedUrl.md +6 -30
  1038. package/docs/pt/packages/intlayer/getMultilingualUrls.md +14 -2
  1039. package/docs/pt/packages/intlayer/getTranslation.md +2 -0
  1040. package/docs/pt/packages/next-intlayer/t.md +20 -31
  1041. package/docs/pt/packages/next-intlayer/useIntlayer.md +31 -0
  1042. package/docs/pt/packages/next-intlayer/useLocale.md +2 -0
  1043. package/docs/pt/packages/react-intlayer/useDictionary.md +0 -2
  1044. package/docs/pt/packages/react-intlayer/useI18n.md +31 -0
  1045. package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -42
  1046. package/docs/pt/packages/vite-intlayer/intlayerPrune.md +2 -0
  1047. package/docs/pt/per_locale_file.md +13 -13
  1048. package/docs/pt/readme.md +3 -2
  1049. package/docs/pt/releases/v6.md +16 -2
  1050. package/docs/pt/releases/v9.md +2 -0
  1051. package/docs/pt/self_hosting.md +62 -31
  1052. package/docs/ru/analytics.md +32 -11
  1053. package/docs/ru/benchmark/tanstack.md +6 -0
  1054. package/docs/ru/cli/ci.md +2 -0
  1055. package/docs/ru/cli/doc-review.md +7 -1
  1056. package/docs/ru/cli/fill.md +0 -8
  1057. package/docs/ru/cli/index.md +2 -0
  1058. package/docs/ru/cli/list_projects.md +0 -2
  1059. package/docs/ru/cli/login.md +28 -0
  1060. package/docs/ru/cli/watch.md +0 -2
  1061. package/docs/ru/compiler.md +14 -0
  1062. package/docs/ru/configuration.md +7 -8
  1063. package/docs/ru/custom_domains.md +34 -0
  1064. package/docs/ru/custom_url_rewrites.md +7 -5
  1065. package/docs/ru/dictionary/condition.md +0 -163
  1066. package/docs/ru/dictionary/enumeration.md +0 -183
  1067. package/docs/ru/dictionary/file.md +0 -166
  1068. package/docs/ru/dictionary/html.md +16 -14
  1069. package/docs/ru/dictionary/markdown.md +10 -3
  1070. package/docs/ru/dictionary/plurial.md +74 -276
  1071. package/docs/ru/dictionary/translation.md +0 -133
  1072. package/docs/ru/dynamic_dictionaries/variants.md +24 -0
  1073. package/docs/ru/formatters.md +0 -158
  1074. package/docs/ru/how_works_intlayer.md +8 -1
  1075. package/docs/ru/intlayer_visual_editor.md +12 -0
  1076. package/docs/ru/intlayer_with_adonisjs.md +5 -3
  1077. package/docs/ru/intlayer_with_astro.md +24 -0
  1078. package/docs/ru/intlayer_with_astro_lit.md +24 -0
  1079. package/docs/ru/intlayer_with_astro_preact.md +24 -0
  1080. package/docs/ru/intlayer_with_astro_react.md +24 -0
  1081. package/docs/ru/intlayer_with_astro_solid.md +24 -0
  1082. package/docs/ru/intlayer_with_astro_svelte.md +24 -0
  1083. package/docs/ru/intlayer_with_astro_vanilla.md +24 -0
  1084. package/docs/ru/intlayer_with_create_react_app.md +55 -32
  1085. package/docs/ru/intlayer_with_elysia.md +343 -0
  1086. package/docs/ru/intlayer_with_express.md +7 -91
  1087. package/docs/ru/intlayer_with_fastify.md +5 -3
  1088. package/docs/ru/intlayer_with_hono.md +48 -3
  1089. package/docs/ru/intlayer_with_lynx+react.md +13 -0
  1090. package/docs/ru/intlayer_with_nestjs.md +19 -3
  1091. package/docs/ru/intlayer_with_nextjs_14.md +243 -36
  1092. package/docs/ru/intlayer_with_nextjs_15.md +180 -4
  1093. package/docs/ru/intlayer_with_nextjs_16.md +105 -0
  1094. package/docs/ru/intlayer_with_nextjs_compiler.md +47 -5
  1095. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +149 -4
  1096. package/docs/ru/intlayer_with_nextjs_page_router.md +11 -84
  1097. package/docs/ru/intlayer_with_react_router_v7.md +30 -0
  1098. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +30 -2
  1099. package/docs/ru/intlayer_with_solid_start.md +12 -0
  1100. package/docs/ru/intlayer_with_svelte_kit.md +6 -0
  1101. package/docs/ru/intlayer_with_tanstack+solid.md +159 -8
  1102. package/docs/ru/intlayer_with_tanstack.md +342 -170
  1103. package/docs/ru/intlayer_with_vite+lit.md +4 -0
  1104. package/docs/ru/intlayer_with_vite+preact.md +34 -4
  1105. package/docs/ru/intlayer_with_vite+react.md +2 -0
  1106. package/docs/ru/intlayer_with_vite+react_compiler.md +2 -0
  1107. package/docs/ru/intlayer_with_vite+solid.md +11 -27
  1108. package/docs/ru/intlayer_with_vite+svelte.md +29 -0
  1109. package/docs/ru/intlayer_with_vite+vanilla.md +2 -0
  1110. package/docs/ru/intlayer_with_vite+vue.md +10 -2
  1111. package/docs/ru/packages/elysia-intlayer/exports.md +136 -0
  1112. package/docs/ru/packages/elysia-intlayer/intlayer.md +139 -0
  1113. package/docs/ru/packages/intlayer/getDictionary.md +155 -0
  1114. package/docs/ru/packages/intlayer/getDictionaryAsync.md +166 -0
  1115. package/docs/ru/packages/intlayer/getEnumeration.md +2 -0
  1116. package/docs/ru/packages/intlayer/getIntlayer.md +197 -0
  1117. package/docs/ru/packages/intlayer/getIntlayerAsync.md +141 -0
  1118. package/docs/ru/packages/intlayer/getLocalizedPath.md +33 -7
  1119. package/docs/ru/packages/intlayer/getLocalizedUrl.md +6 -30
  1120. package/docs/ru/packages/intlayer/getMultilingualUrls.md +6 -2
  1121. package/docs/ru/packages/intlayer/getTranslation.md +2 -0
  1122. package/docs/ru/packages/next-intlayer/t.md +20 -31
  1123. package/docs/ru/packages/next-intlayer/useIntlayer.md +31 -0
  1124. package/docs/ru/packages/next-intlayer/useLocale.md +2 -0
  1125. package/docs/ru/packages/react-intlayer/useDictionary.md +0 -2
  1126. package/docs/ru/packages/react-intlayer/useI18n.md +31 -0
  1127. package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -42
  1128. package/docs/ru/packages/react-intlayer/useLocale.md +0 -50
  1129. package/docs/ru/packages/vite-intlayer/intlayerPrune.md +2 -0
  1130. package/docs/ru/per_locale_file.md +14 -13
  1131. package/docs/ru/readme.md +3 -2
  1132. package/docs/ru/releases/v6.md +16 -5
  1133. package/docs/ru/releases/v9.md +2 -0
  1134. package/docs/ru/self_hosting.md +61 -30
  1135. package/docs/tr/benchmark/tanstack.md +6 -0
  1136. package/docs/tr/cli/ci.md +2 -0
  1137. package/docs/tr/cli/doc-review.md +7 -1
  1138. package/docs/tr/cli/fill.md +0 -8
  1139. package/docs/tr/cli/index.md +2 -0
  1140. package/docs/tr/cli/list_projects.md +0 -6
  1141. package/docs/tr/cli/login.md +28 -0
  1142. package/docs/tr/cli/watch.md +0 -2
  1143. package/docs/tr/compiler.md +14 -0
  1144. package/docs/tr/configuration.md +7 -8
  1145. package/docs/tr/custom_domains.md +28 -0
  1146. package/docs/tr/custom_url_rewrites.md +7 -5
  1147. package/docs/tr/dictionary/html.md +35 -14
  1148. package/docs/tr/dictionary/markdown.md +31 -14
  1149. package/docs/tr/dictionary/plurial.md +83 -115
  1150. package/docs/tr/dynamic_dictionaries/variants.md +24 -0
  1151. package/docs/tr/formatters.md +0 -145
  1152. package/docs/tr/intlayer_visual_editor.md +12 -0
  1153. package/docs/tr/intlayer_with_adonisjs.md +5 -3
  1154. package/docs/tr/intlayer_with_analog.md +2 -0
  1155. package/docs/tr/intlayer_with_astro.md +107 -0
  1156. package/docs/tr/intlayer_with_astro_lit.md +8 -8
  1157. package/docs/tr/intlayer_with_astro_preact.md +14 -8
  1158. package/docs/tr/intlayer_with_astro_react.md +8 -8
  1159. package/docs/tr/intlayer_with_astro_solid.md +8 -8
  1160. package/docs/tr/intlayer_with_astro_svelte.md +8 -8
  1161. package/docs/tr/intlayer_with_astro_vanilla.md +8 -8
  1162. package/docs/tr/intlayer_with_create_react_app.md +55 -0
  1163. package/docs/tr/intlayer_with_elysia.md +343 -0
  1164. package/docs/tr/intlayer_with_express.md +5 -3
  1165. package/docs/tr/intlayer_with_fastify.md +5 -3
  1166. package/docs/tr/intlayer_with_hono.md +44 -3
  1167. package/docs/tr/intlayer_with_lynx+react.md +8 -0
  1168. package/docs/tr/intlayer_with_nestjs.md +19 -3
  1169. package/docs/tr/intlayer_with_nextjs_14.md +361 -4
  1170. package/docs/tr/intlayer_with_nextjs_15.md +201 -0
  1171. package/docs/tr/intlayer_with_nextjs_16.md +105 -0
  1172. package/docs/tr/intlayer_with_nextjs_compiler.md +72 -5
  1173. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +123 -13
  1174. package/docs/tr/intlayer_with_nextjs_page_router.md +4 -28
  1175. package/docs/tr/intlayer_with_react_router_v7.md +30 -0
  1176. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +30 -2
  1177. package/docs/tr/intlayer_with_solid_start.md +12 -0
  1178. package/docs/tr/intlayer_with_svelte_kit.md +6 -0
  1179. package/docs/tr/intlayer_with_tanstack+solid.md +232 -6
  1180. package/docs/tr/intlayer_with_tanstack.md +351 -157
  1181. package/docs/tr/intlayer_with_vite+lit.md +4 -0
  1182. package/docs/tr/intlayer_with_vite+preact.md +34 -4
  1183. package/docs/tr/intlayer_with_vite+react.md +4 -0
  1184. package/docs/tr/intlayer_with_vite+react_compiler.md +2 -0
  1185. package/docs/tr/intlayer_with_vite+solid.md +11 -27
  1186. package/docs/tr/intlayer_with_vite+svelte.md +29 -0
  1187. package/docs/tr/intlayer_with_vite+vanilla.md +2 -0
  1188. package/docs/tr/intlayer_with_vite+vue.md +15 -42
  1189. package/docs/tr/live-sync.md +13 -2
  1190. package/docs/tr/packages/elysia-intlayer/exports.md +136 -0
  1191. package/docs/tr/packages/elysia-intlayer/intlayer.md +139 -0
  1192. package/docs/tr/packages/intlayer/getDictionary.md +155 -0
  1193. package/docs/tr/packages/intlayer/getDictionaryAsync.md +166 -0
  1194. package/docs/tr/packages/intlayer/getEnumeration.md +2 -0
  1195. package/docs/tr/packages/intlayer/getIntlayer.md +197 -0
  1196. package/docs/tr/packages/intlayer/getIntlayerAsync.md +141 -0
  1197. package/docs/tr/packages/intlayer/getLocalizedPath.md +34 -7
  1198. package/docs/tr/packages/intlayer/getLocalizedUrl.md +11 -0
  1199. package/docs/tr/packages/intlayer/getMultilingualUrls.md +6 -2
  1200. package/docs/tr/packages/intlayer/getTranslation.md +2 -0
  1201. package/docs/tr/packages/next-intlayer/t.md +20 -0
  1202. package/docs/tr/packages/next-intlayer/useIntlayer.md +31 -0
  1203. package/docs/tr/packages/next-intlayer/useLocale.md +2 -0
  1204. package/docs/tr/packages/react-intlayer/useDictionary.md +0 -2
  1205. package/docs/tr/packages/react-intlayer/useI18n.md +31 -0
  1206. package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -42
  1207. package/docs/tr/packages/solid-intlayer/useRewriteURL.md +0 -2
  1208. package/docs/tr/packages/vite-intlayer/intlayerPrune.md +2 -0
  1209. package/docs/tr/per_locale_file.md +13 -13
  1210. package/docs/tr/readme.md +3 -2
  1211. package/docs/tr/releases/v6.md +16 -2
  1212. package/docs/tr/self_hosting.md +68 -25
  1213. package/docs/uk/CI_CD.md +2 -0
  1214. package/docs/uk/benchmark/tanstack.md +6 -0
  1215. package/docs/uk/cli/ci.md +2 -0
  1216. package/docs/uk/cli/doc-review.md +9 -1
  1217. package/docs/uk/cli/fill.md +0 -8
  1218. package/docs/uk/cli/index.md +2 -0
  1219. package/docs/uk/cli/login.md +28 -0
  1220. package/docs/uk/compiler.md +14 -0
  1221. package/docs/uk/configuration.md +7 -8
  1222. package/docs/uk/custom_domains.md +35 -0
  1223. package/docs/uk/custom_url_rewrites.md +7 -5
  1224. package/docs/uk/dictionary/file.md +0 -166
  1225. package/docs/uk/dictionary/gender.md +0 -212
  1226. package/docs/uk/dictionary/html.md +134 -16
  1227. package/docs/uk/dictionary/markdown.md +31 -14
  1228. package/docs/uk/dictionary/plurial.md +85 -116
  1229. package/docs/uk/dynamic_dictionaries/variants.md +24 -0
  1230. package/docs/uk/formatters.md +0 -139
  1231. package/docs/uk/how_works_intlayer.md +2 -0
  1232. package/docs/uk/interest_of_intlayer.md +0 -2
  1233. package/docs/uk/intlayer_with_adonisjs.md +5 -3
  1234. package/docs/uk/intlayer_with_analog.md +2 -0
  1235. package/docs/uk/intlayer_with_astro.md +24 -0
  1236. package/docs/uk/intlayer_with_astro_preact.md +6 -0
  1237. package/docs/uk/intlayer_with_create_react_app.md +43 -0
  1238. package/docs/uk/intlayer_with_elysia.md +343 -0
  1239. package/docs/uk/intlayer_with_express.md +5 -3
  1240. package/docs/uk/intlayer_with_fastify.md +5 -3
  1241. package/docs/uk/intlayer_with_hono.md +44 -3
  1242. package/docs/uk/intlayer_with_lynx+react.md +0 -2
  1243. package/docs/uk/intlayer_with_nestjs.md +5 -3
  1244. package/docs/uk/intlayer_with_nextjs_14.md +126 -7
  1245. package/docs/uk/intlayer_with_nextjs_15.md +102 -242
  1246. package/docs/uk/intlayer_with_nextjs_16.md +105 -0
  1247. package/docs/uk/intlayer_with_nextjs_compiler.md +72 -5
  1248. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +125 -4
  1249. package/docs/uk/intlayer_with_nextjs_page_router.md +4 -28
  1250. package/docs/uk/intlayer_with_nuxt.md +29 -0
  1251. package/docs/uk/intlayer_with_react_router_v7.md +28 -0
  1252. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +30 -2
  1253. package/docs/uk/intlayer_with_solid_start.md +12 -0
  1254. package/docs/uk/intlayer_with_svelte_kit.md +2 -0
  1255. package/docs/uk/intlayer_with_tanstack+solid.md +233 -7
  1256. package/docs/uk/intlayer_with_tanstack.md +381 -159
  1257. package/docs/uk/intlayer_with_vite+lit.md +4 -0
  1258. package/docs/uk/intlayer_with_vite+preact.md +6 -4
  1259. package/docs/uk/intlayer_with_vite+react.md +4 -0
  1260. package/docs/uk/intlayer_with_vite+react_compiler.md +2 -0
  1261. package/docs/uk/intlayer_with_vite+solid.md +11 -27
  1262. package/docs/uk/intlayer_with_vite+svelte.md +4 -0
  1263. package/docs/uk/intlayer_with_vite+vanilla.md +2 -0
  1264. package/docs/uk/intlayer_with_vite+vue.md +8 -2
  1265. package/docs/uk/packages/elysia-intlayer/exports.md +136 -0
  1266. package/docs/uk/packages/elysia-intlayer/intlayer.md +139 -0
  1267. package/docs/uk/packages/intlayer/getDictionary.md +155 -0
  1268. package/docs/uk/packages/intlayer/getDictionaryAsync.md +166 -0
  1269. package/docs/uk/packages/intlayer/getEnumeration.md +2 -0
  1270. package/docs/uk/packages/intlayer/getIntlayer.md +197 -0
  1271. package/docs/uk/packages/intlayer/getIntlayerAsync.md +141 -0
  1272. package/docs/uk/packages/intlayer/getLocalizedPath.md +33 -7
  1273. package/docs/uk/packages/intlayer/getTranslation.md +2 -0
  1274. package/docs/uk/packages/next-intlayer/t.md +20 -2
  1275. package/docs/uk/packages/next-intlayer/useIntlayer.md +31 -0
  1276. package/docs/uk/packages/react-intlayer/useDictionary.md +0 -2
  1277. package/docs/uk/packages/react-intlayer/useI18n.md +31 -0
  1278. package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -42
  1279. package/docs/uk/packages/vite-intlayer/intlayerPrune.md +2 -0
  1280. package/docs/uk/readme.md +3 -2
  1281. package/docs/uk/releases/v8.md +2 -4
  1282. package/docs/uk/releases/v9.md +2 -0
  1283. package/docs/uk/self_hosting.md +61 -29
  1284. package/docs/ur/intlayer_with_fastify.md +5 -3
  1285. package/docs/ur/intlayer_with_hono.md +5 -3
  1286. package/docs/vi/benchmark/tanstack.md +6 -0
  1287. package/docs/vi/cli/ci.md +2 -0
  1288. package/docs/vi/cli/doc-review.md +9 -1
  1289. package/docs/vi/cli/fill.md +0 -8
  1290. package/docs/vi/cli/index.md +2 -0
  1291. package/docs/vi/cli/list_projects.md +0 -2
  1292. package/docs/vi/cli/login.md +28 -2
  1293. package/docs/vi/compiler.md +14 -0
  1294. package/docs/vi/configuration.md +7 -8
  1295. package/docs/vi/custom_domains.md +33 -0
  1296. package/docs/vi/custom_url_rewrites.md +7 -5
  1297. package/docs/vi/dictionary/file.md +0 -166
  1298. package/docs/vi/dictionary/gender.md +0 -2
  1299. package/docs/vi/dictionary/html.md +134 -16
  1300. package/docs/vi/dictionary/insertion.md +0 -14
  1301. package/docs/vi/dictionary/markdown.md +31 -14
  1302. package/docs/vi/dictionary/plurial.md +81 -113
  1303. package/docs/vi/dynamic_dictionaries/variants.md +24 -0
  1304. package/docs/vi/formatters.md +12 -39
  1305. package/docs/vi/interest_of_intlayer.md +0 -2
  1306. package/docs/vi/intlayer_with_adonisjs.md +5 -3
  1307. package/docs/vi/intlayer_with_analog.md +2 -0
  1308. package/docs/vi/intlayer_with_astro.md +24 -0
  1309. package/docs/vi/intlayer_with_astro_preact.md +6 -0
  1310. package/docs/vi/intlayer_with_create_react_app.md +43 -0
  1311. package/docs/vi/intlayer_with_elysia.md +343 -0
  1312. package/docs/vi/intlayer_with_fastify.md +5 -3
  1313. package/docs/vi/intlayer_with_hono.md +44 -3
  1314. package/docs/vi/intlayer_with_nextjs_14.md +126 -7
  1315. package/docs/vi/intlayer_with_nextjs_15.md +137 -147
  1316. package/docs/vi/intlayer_with_nextjs_16.md +105 -0
  1317. package/docs/vi/intlayer_with_nextjs_compiler.md +72 -5
  1318. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +161 -4
  1319. package/docs/vi/intlayer_with_nextjs_page_router.md +67 -29
  1320. package/docs/vi/intlayer_with_nuxt.md +29 -0
  1321. package/docs/vi/intlayer_with_react_router_v7.md +30 -0
  1322. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +147 -52
  1323. package/docs/vi/intlayer_with_solid_start.md +12 -0
  1324. package/docs/vi/intlayer_with_svelte_kit.md +6 -0
  1325. package/docs/vi/intlayer_with_tanstack+solid.md +232 -6
  1326. package/docs/vi/intlayer_with_tanstack.md +412 -167
  1327. package/docs/vi/intlayer_with_vite+lit.md +4 -0
  1328. package/docs/vi/intlayer_with_vite+preact.md +28 -4
  1329. package/docs/vi/intlayer_with_vite+react.md +5 -3
  1330. package/docs/vi/intlayer_with_vite+react_compiler.md +2 -0
  1331. package/docs/vi/intlayer_with_vite+solid.md +11 -27
  1332. package/docs/vi/intlayer_with_vite+svelte.md +27 -0
  1333. package/docs/vi/intlayer_with_vite+vanilla.md +2 -0
  1334. package/docs/vi/intlayer_with_vite+vue.md +13 -2
  1335. package/docs/vi/packages/elysia-intlayer/exports.md +136 -0
  1336. package/docs/vi/packages/elysia-intlayer/intlayer.md +139 -0
  1337. package/docs/vi/packages/intlayer/getDictionary.md +155 -0
  1338. package/docs/vi/packages/intlayer/getDictionaryAsync.md +166 -0
  1339. package/docs/vi/packages/intlayer/getEnumeration.md +2 -0
  1340. package/docs/vi/packages/intlayer/getIntlayer.md +197 -0
  1341. package/docs/vi/packages/intlayer/getIntlayerAsync.md +141 -0
  1342. package/docs/vi/packages/intlayer/getLocalizedPath.md +34 -7
  1343. package/docs/vi/packages/intlayer/getLocalizedUrl.md +11 -32
  1344. package/docs/vi/packages/intlayer/getMultilingualUrls.md +14 -2
  1345. package/docs/vi/packages/intlayer/getTranslation.md +2 -0
  1346. package/docs/vi/packages/next-intlayer/t.md +20 -0
  1347. package/docs/vi/packages/next-intlayer/useIntlayer.md +31 -0
  1348. package/docs/vi/packages/react-intlayer/useDictionary.md +0 -2
  1349. package/docs/vi/packages/react-intlayer/useI18n.md +31 -0
  1350. package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -42
  1351. package/docs/vi/packages/vite-intlayer/intlayerPrune.md +2 -0
  1352. package/docs/vi/per_locale_file.md +13 -13
  1353. package/docs/vi/readme.md +3 -2
  1354. package/docs/vi/self_hosting.md +61 -30
  1355. package/docs/zh/analytics.md +32 -11
  1356. package/docs/zh/benchmark/tanstack.md +6 -0
  1357. package/docs/zh/cli/ci.md +2 -0
  1358. package/docs/zh/cli/doc-review.md +7 -1
  1359. package/docs/zh/cli/fill.md +0 -8
  1360. package/docs/zh/cli/index.md +2 -0
  1361. package/docs/zh/cli/list_projects.md +0 -2
  1362. package/docs/zh/cli/login.md +28 -0
  1363. package/docs/zh/cli/push.md +0 -15
  1364. package/docs/zh/compiler.md +14 -0
  1365. package/docs/zh/configuration.md +7 -8
  1366. package/docs/zh/custom_domains.md +27 -0
  1367. package/docs/zh/custom_url_rewrites.md +7 -5
  1368. package/docs/zh/dictionary/content_file.md +0 -10
  1369. package/docs/zh/dictionary/html.md +16 -14
  1370. package/docs/zh/dictionary/markdown.md +7 -3
  1371. package/docs/zh/dictionary/plurial.md +79 -110
  1372. package/docs/zh/dynamic_dictionaries/variants.md +24 -0
  1373. package/docs/zh/formatters.md +0 -146
  1374. package/docs/zh/how_works_intlayer.md +5 -0
  1375. package/docs/zh/interest_of_intlayer.md +19 -0
  1376. package/docs/zh/intlayer_visual_editor.md +12 -0
  1377. package/docs/zh/intlayer_with_adonisjs.md +5 -3
  1378. package/docs/zh/intlayer_with_analog.md +19 -0
  1379. package/docs/zh/intlayer_with_angular_19.md +17 -0
  1380. package/docs/zh/intlayer_with_angular_21.md +17 -0
  1381. package/docs/zh/intlayer_with_astro.md +18 -2
  1382. package/docs/zh/intlayer_with_astro_lit.md +30 -8
  1383. package/docs/zh/intlayer_with_astro_preact.md +36 -8
  1384. package/docs/zh/intlayer_with_astro_react.md +30 -8
  1385. package/docs/zh/intlayer_with_astro_solid.md +30 -8
  1386. package/docs/zh/intlayer_with_astro_svelte.md +30 -8
  1387. package/docs/zh/intlayer_with_astro_vanilla.md +30 -8
  1388. package/docs/zh/intlayer_with_astro_vue.md +22 -0
  1389. package/docs/zh/intlayer_with_create_react_app.md +10 -2
  1390. package/docs/zh/intlayer_with_elysia.md +343 -0
  1391. package/docs/zh/intlayer_with_express.md +11 -3
  1392. package/docs/zh/intlayer_with_fastify.md +5 -3
  1393. package/docs/zh/intlayer_with_hono.md +5 -3
  1394. package/docs/zh/intlayer_with_lynx+react.md +65 -0
  1395. package/docs/zh/intlayer_with_nestjs.md +19 -3
  1396. package/docs/zh/intlayer_with_nextjs_14.md +123 -111
  1397. package/docs/zh/intlayer_with_nextjs_15.md +181 -0
  1398. package/docs/zh/intlayer_with_nextjs_16.md +104 -0
  1399. package/docs/zh/intlayer_with_nextjs_compiler.md +51 -9
  1400. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +146 -582
  1401. package/docs/zh/intlayer_with_nextjs_page_router.md +14 -27
  1402. package/docs/zh/intlayer_with_nuxt.md +17 -0
  1403. package/docs/zh/intlayer_with_react_router_v7.md +176 -0
  1404. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +105 -4
  1405. package/docs/zh/intlayer_with_solid_start.md +12 -0
  1406. package/docs/zh/intlayer_with_storybook.md +17 -0
  1407. package/docs/zh/intlayer_with_svelte_kit.md +17 -0
  1408. package/docs/zh/intlayer_with_tanstack+solid.md +178 -10
  1409. package/docs/zh/intlayer_with_tanstack.md +369 -162
  1410. package/docs/zh/intlayer_with_vanilla.md +17 -0
  1411. package/docs/zh/intlayer_with_vite+lit.md +19 -0
  1412. package/docs/zh/intlayer_with_vite+preact.md +90 -48
  1413. package/docs/zh/intlayer_with_vite+react.md +19 -0
  1414. package/docs/zh/intlayer_with_vite+solid.md +11 -24
  1415. package/docs/zh/intlayer_with_vite+svelte.md +14 -16
  1416. package/docs/zh/intlayer_with_vite+vanilla.md +17 -0
  1417. package/docs/zh/intlayer_with_vite+vue.md +15 -4
  1418. package/docs/zh/live-sync.md +39 -2
  1419. package/docs/zh/packages/elysia-intlayer/exports.md +136 -0
  1420. package/docs/zh/packages/elysia-intlayer/intlayer.md +139 -0
  1421. package/docs/zh/packages/intlayer/getDictionary.md +155 -0
  1422. package/docs/zh/packages/intlayer/getDictionaryAsync.md +166 -0
  1423. package/docs/zh/packages/intlayer/getEnumeration.md +2 -0
  1424. package/docs/zh/packages/intlayer/getIntlayer.md +197 -0
  1425. package/docs/zh/packages/intlayer/getIntlayerAsync.md +141 -0
  1426. package/docs/zh/packages/intlayer/getLocaleLang.md +0 -2
  1427. package/docs/zh/packages/intlayer/getLocalizedPath.md +33 -7
  1428. package/docs/zh/packages/intlayer/getLocalizedUrl.md +14 -30
  1429. package/docs/zh/packages/intlayer/getMultilingualUrls.md +14 -2
  1430. package/docs/zh/packages/intlayer/getPrefix.md +0 -2
  1431. package/docs/zh/packages/intlayer/getTranslation.md +2 -0
  1432. package/docs/zh/packages/next-intlayer/t.md +20 -0
  1433. package/docs/zh/packages/next-intlayer/useIntlayer.md +32 -0
  1434. package/docs/zh/packages/next-intlayer/useLocale.md +2 -0
  1435. package/docs/zh/packages/react-intlayer/useDictionary.md +0 -2
  1436. package/docs/zh/packages/react-intlayer/useI18n.md +31 -0
  1437. package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -42
  1438. package/docs/zh/packages/vite-intlayer/exports.md +0 -6
  1439. package/docs/zh/packages/vite-intlayer/intlayerPrune.md +2 -0
  1440. package/docs/zh/per_locale_file.md +13 -13
  1441. package/docs/zh/releases/v6.md +16 -2
  1442. package/docs/zh/self_hosting.md +61 -29
  1443. package/package.json +7 -7
  1444. package/src/generated/docs.entry.ts +140 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-09-09
3
- updatedAt: 2026-06-23
3
+ updatedAt: 2026-08-25
4
4
  title: "TanStack Start i18n - 翻译你的应用的完整指南"
5
5
  description: "告别 i18next。2026 年构建多语言 (i18n) TanStack Start 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
@@ -21,6 +21,9 @@ applicationTemplate: https://github.com/aymericzip/intlayer-tanstack-start-templ
21
21
  applicationShowcase: https://intlayer-tanstack-start-template.vercel.app
22
22
  youtubeVideo: https://www.youtube.com/watch?v=_XTdKVWaeqg
23
23
  history:
24
+ - version: 9.4.0
25
+ date: 2026-08-25
26
+ changes: "比较路由 head 函数中元数据字典的静态解析、动态解析与带缓存的动态解析"
24
27
  - version: 8.9.0
25
28
  date: 2026-05-04
26
29
  changes: "更新 Solid useIntlayer API 用法以直接访问属性"
@@ -60,34 +63,51 @@ author: aymericzip
60
63
 
61
64
  与“react-i18next”或“use-intl”或“paraglide”等主要解决方案相比,Intlayer是一个具有集成优化的解决方案,例如:
62
65
 
66
+ <AccordionGroup>
67
+
63
68
  **完整的 TanStack Start 覆盖**
64
69
 
65
70
  Intlayer 针对 TanStack Start 进行了全面优化,提供**多语言路由**、**cookie 管理**、**站点地图生成**、**动态内容加载**以及扩展国际化 (i18n) 工作所需的所有功能。
66
71
 
72
+ </Accordion>
73
+
67
74
  **捆绑尺寸**
68
75
 
69
76
  不要将大量 JSON 文件加载到页面中,而只需加载必要的内容。 Intlayer 有助于**将捆绑包和页面大小减少多达 50%**。
70
77
 
78
+ </Accordion>
79
+
71
80
  **可维护性**
72
81
 
73
82
  确定应用程序内容的范围**有利于大型应用程序的维护**。您可以复制或删除单个功能文件夹,而无需承担检查整个内容代码库的精神负担。此外,Intlayer 具有**完全类型化 (fully typed)**,以确保您的内容的准确性。
74
83
 
75
84
  **人工智能代理**
76
85
 
86
+ <Accordion header="AI Agent">
87
+
77
88
  共置内容**减少大型语言模型 (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) 更加流畅。
78
89
 
90
+ </Accordion>
91
+
79
92
  **自动化**
80
93
 
81
94
  使用您选择的法学硕士,通过自动化在 CI/CD 管道中进行翻译,而费用由您的 AI 提供商承担。 Intlayer 还提供了一个**编译器**来自动提取内容,以及一个[网络平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)来帮助**在后台翻译**。
82
95
 
96
+ </Accordion>
97
+
83
98
  **表现**
84
99
 
85
100
  将大量 JSON 文件连接到组件可能会导致性能和反应性问题。 Intlayer 可在构建时 (build time)优化您的内容加载。
86
101
 
87
102
  **无需开发即可扩展**
88
103
 
104
+ <Accordion header="使用 none-dev 进行扩展">
105
+
89
106
  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)** 来帮助您管理多语言内容**实时**,与译员、文案人员和其他团队成员无缝协作。内容可以本地和/或远程存储。
90
107
 
108
+ </Accordion>
109
+ </AccordionGroup>
110
+
91
111
  ---
92
112
 
93
113
  ## 在 Tanstack Start 应用程序中设置 Intlayer 的分步指南
@@ -496,13 +516,14 @@ export const useLocalizedNavigate = () => {
496
516
 
497
517
  <Step number={8} title="在您的页面中使用 Intlayer">
498
518
 
519
+ > 在组件中请默认使用 **`useIntlayer`**:这是读取内容的推荐方式,编译器会把它解析为当前渲染的语言环境。仅在 React 树之外(路由 `head`、loader 和服务端函数)才使用 `getIntlayer` / `getIntlayerAsync`。
520
+
499
521
  在整个应用程序中访问您的内容字典:
500
522
 
501
- #### 本地化首页
523
+ #### 本地化主页
502
524
 
503
525
  ```tsx fileName="src/routes/{-$locale}/index.tsx"
504
526
  import { createFileRoute } from "@tanstack/react-router";
505
- import { getIntlayer, defaultLocale } from "intlayer";
506
527
  import { useIntlayer } from "react-intlayer";
507
528
 
508
529
  import LocaleSwitcher from "@/components/locale-switcher";
@@ -540,7 +561,7 @@ function RouteComponent() {
540
561
  }
541
562
  ```
542
563
 
543
- > 如果你想在 `string` 属性中使用你的内容,例如 `alt`、`title`、`href`、`aria-label` 等,你可以使用函数的值,如:
564
+ > 如果您想在 `string` 属性中使用您的内容,例如 `alt`、`title`、`href`、`aria-label` 等,您可以使用函数的值,如:
544
565
  >
545
566
  > ```html
546
567
  > <img src="{content.image.src.value}" alt="{content.image.value}" />
@@ -554,7 +575,7 @@ function RouteComponent() {
554
575
 
555
576
  <Step number={9} title="创建语言切换器组件">
556
577
 
557
- 创建一个组件来允许用户改变语言:
578
+ 创建一个组件来允许用户更改语言:
558
579
 
559
580
  ```tsx fileName="src/components/locale-switcher.tsx"
560
581
  import { useLocation } from "@tanstack/react-router";
@@ -592,15 +613,15 @@ export const LocaleSwitcher: FC = () => {
592
613
  {localeEl}
593
614
  </span>
594
615
  <span>
595
- {/* 该语言用其自身区域设置表示 - 例如 Français */}
616
+ {/* 用其自己的区域设置显示的语言 - 例如 Français */}
596
617
  {getLocaleName(localeEl, locale)}
597
618
  </span>
598
619
  <span dir={getHTMLTextDir(localeEl)} lang={localeEl}>
599
- {/* 该语言用当前区域设置表示 - 例如当前区域设置为 Locales.SPANISH 时的 Francés */}
620
+ {/* 用当前区域设置显示的语言 - 例如当前区域设置为 Locales.SPANISH 时的 Francés */}
600
621
  {getLocaleName(localeEl)}
601
622
  </span>
602
623
  <span dir="ltr" lang={Locales.ENGLISH}>
603
- {/* 该语言用英文表示 - 例如 French */}
624
+ {/* 用英文显示的语言 - 例如 French */}
604
625
  {getLocaleName(localeEl, Locales.ENGLISH)}
605
626
  </span>
606
627
  </LocalizedLink>
@@ -617,9 +638,11 @@ export const LocaleSwitcher: FC = () => {
617
638
 
618
639
  <Step number={10} title="HTML 属性管理">
619
640
 
620
- 如第 5 步所示,你可以在根组件中使用 `useParams` 来管理 `html` 标签的 `lang` 和 `dir` 属性。这确保在服务器和客户端上都设置了正确的属性。
641
+ 如第 5 步所述,您可以在根组件中使用 `useParams` 来管理 `html` 标签的 `lang` 和 `dir` 属性。这确保在服务器和客户端上设置正确的属性。
621
642
 
622
643
  ```tsx fileName="src/routes/__root.tsx"
644
+ const localeRoute = getRouteApi("/{-$locale}");
645
+
623
646
  function RootDocument({ children }: { children: ReactNode }) {
624
647
  const params = localeRoute.useParams();
625
648
  const locale = params?.locale ?? defaultLocale;
@@ -638,11 +661,11 @@ function RootDocument({ children }: { children: ReactNode }) {
638
661
 
639
662
  <Step number={11} title="添加中间件">
640
663
 
641
- 你也可以使用 `intlayerProxy` 为你的应用程序添加服务器端路由。这个插件将自动基于 URL 检测当前的语言区域并设置适当的语言区域 cookie。如果没有指定区域设置,该插件将根据用户的浏览器语言首选项确定最合适的区域设置。如果没有检测到区域设置,它将重定向到默认的区域设置。
664
+ 您也可以使用 `intlayerProxy` 为您的应用程序添加服务器端路由。该插件将根据 URL 自动检测当前区域设置并设置适当的区域设置 cookie。如果未指定任何区域设置,该插件将根据用户的浏览器语言偏好确定最合适的区域设置。如果未检测到任何区域设置,它将重定向到默认区域设置。
642
665
 
643
- > 请注意,要在生产环境中使用 `intlayerProxy`,你需要将 `vite-intlayer` package 从 `devDependencies` 切换到 `dependencies`。
666
+ > 注意,要在生产环境中使用 `intlayerProxy`,您需要将 `vite-intlayer` 软件包从 `devDependencies` 切换到 `dependencies`。
644
667
 
645
- > 自 Intlayer v9 起,`intlayerProxy()` 直接捆绑到 `intlayer()` 插件中,并通过 `routing.enableProxy` 选项默认启用(默认为 `true`)。如下所示单独注册现在是可选的 — 它保留用于向后兼容性和需要控制插件顺序的设置。设置 `routing.enableProxy: false` 以退出。请参阅 [v9 发布说明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/releases/v9.md)。
668
+ > 从 Intlayer v9 开始,`intlayerProxy()` 直接捆绑在 `intlayer()` 插件中,并通过 `routing.enableProxy` 选项(默认为 `true`)默认启用。如下所示分别注册它现在是可选的:为了向后兼容性和需要控制插件顺序的设置而保留。设置 `routing.enableProxy: false` 以选择退出。请参考 [v9 发行说明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/releases/v9.md)。
646
669
 
647
670
  ```typescript fileName="vite.config.ts"
648
671
  import { tanstackStart } from "@tanstack/react-start/plugin/vite";
@@ -674,18 +697,27 @@ export default defineConfig({
674
697
 
675
698
  </Step>
676
699
 
677
- <Step number={12} title="国际化你的元数据">
700
+ <Step number={12} title="国际化您的元数据">
701
+
702
+ <Tabs>
678
703
 
679
- 你也可以使用 `getIntlayer` hook 在整个应用程序中访问你的内容字典:
704
+ <Tab label="静态解析" value="static">
705
+
706
+ `getIntlayer` 针对**合并的**字典(包含每个声明的区域设置的字典)进行同步解析。`head` 保持同步,不会等待任何内容,但整个多语言字典被拉入发送到浏览器的路由块中。
680
707
 
681
708
  ```tsx fileName="src/routes/{-$locale}/index.tsx"
682
709
  import { createFileRoute } from "@tanstack/react-router";
683
- import { getIntlayer } from "intlayer";
710
+ import {
711
+ defaultLocale,
712
+ getIntlayer,
713
+ getLocalizedUrl,
714
+ localeMap,
715
+ } from "intlayer";
684
716
 
685
717
  export const Route = createFileRoute("/{-$locale}/")({
686
718
  component: RouteComponent,
687
719
  head: ({ params }) => {
688
- const { locale } = params;
720
+ const { locale = defaultLocale } = params;
689
721
  const path = "/"; // 此路由的路径
690
722
 
691
723
  const metaContent = getIntlayer("app", locale);
@@ -702,8 +734,8 @@ export const Route = createFileRoute("/{-$locale}/")({
702
734
  href: getLocalizedUrl(path, mapLocale),
703
735
  })),
704
736
 
705
- // x-default:用于不匹配语言的用户
706
- // 定义默认后备区域设置(通常是你的主要语言)
737
+ // x-default:适用于语言不匹配的用户
738
+ // 定义默认的回退区域设置(通常是您的主要语言)
707
739
  {
708
740
  rel: "alternate",
709
741
  hrefLang: "x-default",
@@ -719,16 +751,153 @@ export const Route = createFileRoute("/{-$locale}/")({
719
751
  });
720
752
  ```
721
753
 
754
+ 最适合小型元数据字典、少数几个区域设置或原型设计时使用。
755
+
756
+ </Tab>
757
+
758
+ <Tab label="动态解析" value="dynamic">
759
+
760
+ `getIntlayerAsync`(从 **v9.4** 开始可用)的行为类似于 `getIntlayer`,但构建插件将其指向 `.intlayer/dynamic_dictionaries/` 中的按区域设置块,而不是合并字典。因此,页面仅发送它呈现的区域设置。由于该块是按需加载的,`head` 变为 `async`:
761
+
762
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
763
+ import { createFileRoute } from "@tanstack/react-router";
764
+ import {
765
+ defaultLocale,
766
+ getIntlayerAsync,
767
+ getLocalizedUrl,
768
+ localeMap,
769
+ } from "intlayer";
770
+
771
+ export const Route = createFileRoute("/{-$locale}/")({
772
+ component: RouteComponent,
773
+ head: async ({ params }) => {
774
+ const { locale = defaultLocale } = params;
775
+ const path = "/"; // 此路由的路径
776
+
777
+ const metaContent = await getIntlayerAsync("app", locale);
778
+
779
+ return {
780
+ links: [
781
+ // 规范链接:指向当前本地化页面
782
+ { rel: "canonical", href: getLocalizedUrl(path, locale) },
783
+
784
+ // Hreflang:告诉 Google 所有本地化版本
785
+ ...localeMap(({ locale: mapLocale }) => ({
786
+ rel: "alternate",
787
+ hrefLang: mapLocale,
788
+ href: getLocalizedUrl(path, mapLocale),
789
+ })),
790
+
791
+ // x-default:适用于语言不匹配的用户
792
+ // 定义默认的回退区域设置(通常是您的主要语言)
793
+ {
794
+ rel: "alternate",
795
+ hrefLang: "x-default",
796
+ href: getLocalizedUrl(path, defaultLocale),
797
+ },
798
+ ],
799
+ meta: [
800
+ { title: metaContent.title },
801
+ { name: "description", content: metaContent.meta.description },
802
+ ],
803
+ };
804
+ },
805
+ });
806
+ ```
807
+
808
+ > 如果 `head` 读取多个字典,请使用 `Promise.all` 解析它们:在自己的行上等待每个 `getIntlayerAsync` 会链接请求,而不是并行运行它们。
809
+
810
+ 权衡:动态导入在 `head` 运行时解析,在文档呈现的关键路径上。在冷路由上,这会将 head 延迟几毫秒,可能会略微降低 **LCP**。
811
+
812
+ </Tab>
813
+
814
+ <Tab label="缓存的动态解析" value="cached">
815
+
816
+ 在路由 `loader` 中解析字典,然后在 `head` 中从 `loaderData` 读取。匹配路由的加载程序并行运行,`staleTime: Infinity` 告诉 TanStack Router 结果永不过期,因此按区域设置块被解析一次,随后从路由器缓存提供,使 `head` 保持同步。
817
+
818
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
819
+ import { createFileRoute } from "@tanstack/react-router";
820
+ import {
821
+ defaultLocale,
822
+ getIntlayerAsync,
823
+ getLocalizedUrl,
824
+ localeMap,
825
+ } from "intlayer";
826
+
827
+ export const Route = createFileRoute("/{-$locale}/")({
828
+ component: RouteComponent,
829
+ // 与其他匹配的路由并行解析,不在 head 关键路径上
830
+ loader: async ({ params }) => {
831
+ const { locale = defaultLocale } = params;
832
+
833
+ return { metaContent: await getIntlayerAsync("app", locale) };
834
+ },
835
+ // 给定区域设置的字典永不改变:解析块一次
836
+ staleTime: Infinity,
837
+ head: ({ params, loaderData }) => {
838
+ const { locale = defaultLocale } = params;
839
+ const path = "/"; // 此路由的路径
840
+
841
+ return {
842
+ links: [
843
+ // 规范链接:指向当前本地化页面
844
+ { rel: "canonical", href: getLocalizedUrl(path, locale) },
845
+
846
+ // Hreflang:告诉 Google 所有本地化版本
847
+ ...localeMap(({ locale: mapLocale }) => ({
848
+ rel: "alternate",
849
+ hrefLang: mapLocale,
850
+ href: getLocalizedUrl(path, mapLocale),
851
+ })),
852
+
853
+ // x-default:适用于语言不匹配的用户
854
+ // 定义默认的回退区域设置(通常是您的主要语言)
855
+ {
856
+ rel: "alternate",
857
+ hrefLang: "x-default",
858
+ href: getLocalizedUrl(path, defaultLocale),
859
+ },
860
+ ],
861
+ meta: [
862
+ { title: loaderData?.metaContent.title },
863
+ {
864
+ name: "description",
865
+ content: loaderData?.metaContent.meta.description,
866
+ },
867
+ ],
868
+ };
869
+ },
870
+ });
871
+ ```
872
+
873
+ > `head` 可能在加载程序解决之前被调用,因此 `loaderData` 的类型可能为 `undefined`。保持可选链接,或返回回退标题。
874
+
875
+ 您保持按区域设置块而不在 head 关键路径上支付其成本。代价是开发者体验:内容必须通过 `loaderData` 从加载程序显式线程化到 `head`。
876
+
877
+ </Tab>
878
+
879
+ </Tabs>
880
+
881
+ ### 我应该选择哪种解析方式?
882
+
883
+ | | 静态解析 | 动态解析 | 缓存动态解析 |
884
+ | -------------- | --------------------- | -------------------------- | -------------------------------------- |
885
+ | API | `getIntlayer` | `getIntlayerAsync` (v9.4+) | `getIntlayerAsync` in `loader` (v9.4+) |
886
+ | `head` 签名 | synchronous | `async` | synchronous, reads `loaderData` |
887
+ | 传送的语言版本 | every declared locale | requested locale only | requested locale only |
888
+ | 客户端导航 | nothing to resolve | re-entered on every match | served from the router cache |
889
+ | 开发者体验 | simplest | one `await` | content threaded through `loaderData` |
890
+
722
891
  ---
723
892
 
724
893
  </Step>
725
894
 
726
- <Step number={13} title="在服务器操作中检索区域设置">
895
+ <Step number={13} title="在服务器操作中检索语言">
727
896
 
728
- 你可能想要从服务器操作或 API 端点内访问当前的区域设置。
729
- 你可以使用来自 `intlayer` 的 `getLocale` helper。
897
+ 您可能希望从服务器操作或 API 端点内访问当前语言。
898
+ 您可以使用 `intlayer` 中的 `getLocale` 帮助器来实现此目的。
730
899
 
731
- 以下是使用 TanStack Start 的服务器函数的示例:
900
+ 以下是使用 TanStack Start 服务器函数的示例:
732
901
 
733
902
  ```tsx fileName="src/routes/{-$locale}/index.tsx"
734
903
  import { createServerFn } from "@tanstack/react-start";
@@ -740,18 +909,18 @@ import { getCookie, getIntlayer, getLocale } from "intlayer";
740
909
 
741
910
  export const getLocaleServer = createServerFn().handler(async () => {
742
911
  const locale = await getLocale({
743
- // 从请求中获取 cookie(默认:'INTLAYER_LOCALE')
912
+ // 从请求中获取 cookie (默认: 'INTLAYER_LOCALE')
744
913
  getCookie: (name) => {
745
914
  const cookieString = getRequestHeader("cookie");
746
915
 
747
916
  return getCookie(name, cookieString);
748
917
  },
749
- // 从请求中获取 header(默认:'x-intlayer-locale')
750
- // 使用 Accept-Language 协商进行回退
918
+ // 从请求中获取标头 (默认: 'x-intlayer-locale')
919
+ // 使用 Accept-Language 协商的回退
751
920
  getHeader: (name) => getRequestHeader(name),
752
921
  });
753
922
 
754
- // 使用 getIntlayer() 检索一些内容
923
+ // 使用 getIntlayerAsync() 检索一些内容
755
924
  const content = getIntlayer("app", locale);
756
925
 
757
926
  return { locale, content };
@@ -764,6 +933,151 @@ export const getLocaleServer = createServerFn().handler(async () => {
764
933
 
765
934
  <Step number={14} title="管理未找到页面">
766
935
 
936
+ 当用户访问不存在的页面时,您可以显示自定义的未找到页面,语言前缀可能会影响未找到页面的触发方式。
937
+
938
+ #### 本地化首页
939
+
940
+ > 如果你想在 `string` 属性中使用你的内容,例如 `alt`、`title`、`href`、`aria-label` 等,你可以使用函数的值,如:
941
+ >
942
+ > ```html
943
+ > <img src="{content.image.src.value}" alt="{content.image.value}" />
944
+ > <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
945
+ > <img src="{String(content.image.src)}" alt="{String(content.image)}" />
946
+ > ```
947
+
948
+ > 要了解更多关于 `useIntlayer` hook 的信息,请参考[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)。
949
+
950
+ </Step>
951
+
952
+ ```tsx fileName="src/components/locale-switcher.tsx"
953
+ import { useLocation } from "@tanstack/react-router";
954
+ import {
955
+ getHTMLTextDir,
956
+ getLocaleName,
957
+ getPathWithoutLocale,
958
+ getPrefix,
959
+ Locales,
960
+ } from "intlayer";
961
+ import type { FC } from "react";
962
+ import { useLocale } from "react-intlayer";
963
+
964
+ import { LocalizedLink, type To } from "./localized-link";
965
+
966
+ export const LocaleSwitcher: FC = () => {
967
+ const { pathname } = useLocation();
968
+
969
+ const { availableLocales, locale, setLocale } = useLocale();
970
+
971
+ const pathWithoutLocale = getPathWithoutLocale(pathname);
972
+
973
+ return (
974
+ <ol>
975
+ {availableLocales.map((localeEl) => (
976
+ <li key={localeEl}>
977
+ <LocalizedLink
978
+ aria-current={localeEl === locale ? "page" : undefined}
979
+ onClick={() => setLocale(localeEl)}
980
+ params={{ locale: getPrefix(localeEl).localePrefix }}
981
+ to={pathWithoutLocale as To}
982
+ >
983
+ <span>
984
+ {/* 区域设置 - 例如 FR */}
985
+ {localeEl}
986
+ </span>
987
+ <span>
988
+ {/* 该语言用其自身区域设置表示 - 例如 Français */}
989
+ {getLocaleName(localeEl, locale)}
990
+ </span>
991
+ <span dir={getHTMLTextDir(localeEl)} lang={localeEl}>
992
+ {/* 该语言用当前区域设置表示 - 例如当前区域设置为 Locales.SPANISH 时的 Francés */}
993
+ {getLocaleName(localeEl)}
994
+ </span>
995
+ <span dir="ltr" lang={Locales.ENGLISH}>
996
+ {/* 该语言用英文表示 - 例如 French */}
997
+ {getLocaleName(localeEl, Locales.ENGLISH)}
998
+ </span>
999
+ </LocalizedLink>
1000
+ </li>
1001
+ ))}
1002
+ </ol>
1003
+ );
1004
+ };
1005
+ ```
1006
+
1007
+ > 要了解更多关于 `useLocale` hook 的信息,请参考[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
1008
+
1009
+ </Step>
1010
+
1011
+ <Step number={10} title="HTML 属性管理">
1012
+
1013
+ return (
1014
+ <html dir={getHTMLTextDir(locale)} lang={locale}>
1015
+ {/* ... _/}
1016
+ </html>
1017
+ );
1018
+ } {/_ ... */}
1019
+ </html>
1020
+ );
1021
+ }
1022
+
1023
+ export const Route = createFileRoute("/{-$locale}/")({
1024
+ component: RouteComponent,
1025
+ head: async ({ params }) => {
1026
+ const { locale = defaultLocale } = params;
1027
+ const path = "/"; // The path for this route
1028
+
1029
+ const metaContent = await getIntlayerAsync("app", locale);
1030
+
1031
+ ````
1032
+
1033
+ > `head` 可能在 loader 完成之前被调用,因此 `loaderData` 的类型可能为 `undefined`。请保留可选链,或返回一个兜底标题。
1034
+
1035
+ 你保留了按语言环境拆分的分块,却无需在 `head` 的关键路径上付出代价。代价在于开发体验:内容必须通过 `loaderData` 从 loader 显式传递到 `head`。
1036
+
1037
+ </Tab>
1038
+
1039
+ </Tabs>
1040
+
1041
+ ### 该选择哪种解析方式?
1042
+
1043
+ | | 静态解析 | 动态解析 | 带缓存的动态解析 |
1044
+ | -------------- | -------------------- | --------------------------- | ----------------------------------------- |
1045
+ | API | `getIntlayer` | `getIntlayerAsync`(v9.4+) | `loader` 中的 `getIntlayerAsync`(v9.4+) |
1046
+ | `head` 签名 | 同步 | `async` | 同步,读取 `loaderData` |
1047
+ | 发送的语言环境 | 所有已声明的语言环境 | 仅请求的语言环境 | 仅请求的语言环境 |
1048
+ | 客户端导航 | 无需解析 | 每次匹配都重新执行 | 由路由缓存提供 |
1049
+ | 开发体验 | 最简单 | 一个 `await` | 内容经由 `loaderData` 传递 |
1050
+
1051
+ ---
1052
+
1053
+ </Step>
1054
+
1055
+ <Step number={13} title="在服务器操作中检索区域设置">
1056
+
1057
+ 你可能想要从服务器操作或 API 端点内访问当前的区域设置。
1058
+ 你可以使用来自 `intlayer` 的 `getLocale` helper。
1059
+
1060
+ 以下是使用 TanStack Start 的服务器函数的示例:
1061
+
1062
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
1063
+ return getCookie(name, cookieString);
1064
+ },
1065
+ // 从请求中获取 header(默认:'x-intlayer-locale')
1066
+ // 使用 Accept-Language 协商进行回退
1067
+ getHeader: (name) => getRequestHeader(name),
1068
+ });
1069
+
1070
+ // 使用 getIntlayer() 检索一些内容
1071
+ const content = getIntlayer("app", locale);
1072
+
1073
+ ````
1074
+
1075
+ ---
1076
+
1077
+ </Step>
1078
+
1079
+ <Step number={14} title="管理未找到页面">
1080
+
767
1081
  当用户访问不存在的页面时,你可以显示自定义的未找到页面,语言区域前缀可能会影响未找到页面的触发方式。
768
1082
 
769
1083
  #### 理解 TanStack Router 的 404 处理与 Locale 前缀
@@ -775,65 +1089,15 @@ export const getLocaleServer = createServerFn().handler(async () => {
775
1089
  3. **捕获所有路由**:捕获 locale 段内任何不匹配的路径
776
1090
 
777
1091
  ```tsx fileName="src/routes/{-$locale}/404.tsx"
778
- import { createFileRoute } from "@tanstack/react-router";
779
-
780
- // 这创建了一个专用的 /[locale]/404 路由
781
- // 它既可以作为直接路由使用,也可以作为组件导入到其他文件中
782
- export const Route = createFileRoute("/{-$locale}/404")({
783
- component: NotFoundComponent,
784
- });
785
1092
 
786
- // 单独导出以便在 notFoundComponent 和捕获所有路由中重复使用
787
- export function NotFoundComponent() {
788
- return (
789
- <div>
790
- <h1>404</h1>
791
- </div>
792
- );
793
- }
794
1093
  ```
795
1094
 
796
1095
  ```tsx fileName="src/routes/{-$locale}/route.tsx"
797
- import { createFileRoute, Outlet, redirect } from "@tanstack/react-router";
798
- import { validatePrefix } from "intlayer";
799
- import { NotFoundComponent } from "./404";
800
-
801
- export const Route = createFileRoute("/{-$locale}")({
802
- // beforeLoad 在路由渲染前运行(在服务器和客户端上)
803
- // 这是验证 locale 前缀的理想位置
804
- beforeLoad: ({ params }) => {
805
- const localeParam = params.locale;
806
1096
 
807
- // validatePrefix 检查 locale 是否根据你的 intlayer 配置有效
808
- const { isValid, localePrefix } = validatePrefix(localeParam);
809
-
810
- if (!isValid) {
811
- // 无效的 locale 前缀 - 重定向到 404 页面并使用有效的 locale 前缀
812
- throw redirect({
813
- to: "/{-$locale}/404",
814
- params: { locale: localePrefix },
815
- });
816
- }
817
- },
818
- component: Outlet,
819
- // notFoundComponent 在子路由不存在时调用
820
- // 例如:/en/non-existent-page 在 /en 布局内触发此方法
821
- notFoundComponent: NotFoundComponent,
822
- });
823
1097
  ```
824
1098
 
825
1099
  ```tsx fileName="src/routes/{-$locale}/$.tsx"
826
- import { createFileRoute } from "@tanstack/react-router";
827
-
828
- import { NotFoundComponent } from "./404";
829
1100
 
830
- // $ (splat/catch-all) 路由匹配任何不匹配其他路由的路径
831
- // 例如:/en/some/deeply/nested/invalid/path
832
- // 这确保 locale 内所有不匹配的路径都显示 404 页面
833
- // 没有这个,不匹配的深层路径可能显示空白页面或错误
834
- export const Route = createFileRoute("/{-$locale}/$")({
835
- component: NotFoundComponent,
836
- });
837
1101
  ```
838
1102
 
839
1103
  </Step>
@@ -871,14 +1135,6 @@ const config: IntlayerConfig = {
871
1135
  */
872
1136
  saveComponents: false,
873
1137
 
874
- /**
875
- * 字典键前缀
876
- */
877
- dictionaryKeyPrefix: "",
878
- },
879
- };
880
-
881
- export default config;
882
1138
  ```
883
1139
 
884
1140
  <Tabs>
@@ -887,29 +1143,23 @@ export default config;
887
1143
  运行提取器以转换组件并提取内容
888
1144
 
889
1145
  ```bash packageManager="npm"
890
- npx intlayer extract
1146
+
891
1147
  ```
892
1148
 
893
1149
  ```bash packageManager="pnpm"
894
- pnpm intlayer extract
1150
+
895
1151
  ```
896
1152
 
897
1153
  ```bash packageManager="yarn"
898
- yarn intlayer extract
899
- ```
900
1154
 
901
- ```bash packageManager="bun"
902
- bun x intlayer extract
903
1155
  ```
904
1156
 
905
- </Tab>
906
- <Tab value='Babel compiler'>
907
-
908
- > 从 v9 起,`intlayerCompiler` 包含在 `intlayer` 插件中。所以你不需要手动添加它。
1157
+ ```bash packageManager="bun"
909
1158
 
910
- 更新你的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
1159
+ </Tab>
1160
+ </Tabs>
911
1161
 
912
- ```ts fileName="vite.config.ts"
1162
+ bun x intlayer extract
913
1163
  import { defineConfig } from "vite";
914
1164
  import { intlayer, intlayerCompiler } from "vite-intlayer";
915
1165
 
@@ -934,39 +1184,20 @@ yarn build # 或 yarn dev
934
1184
  ```
935
1185
 
936
1186
  ```bash packageManager="bun"
937
- bun run build # 或 bun run dev
938
- ```
939
-
940
- </Tab>
941
- </Tabs>
942
1187
 
943
1188
  ---
944
1189
 
945
- </Step>
946
-
947
- <Step number={16} title="预渲染 & 生成 Sitemap">
948
-
949
- Intlayer 配备了内置的 sitemap 生成器,可以帮助你轻松为应用程序创建 sitemap。它处理本地化路由并为搜索引擎添加必要的元数据。
950
-
951
- > Intlayer 生成的 sitemap 支持 `xhtml:link` 命名空间(Hreflang XML 扩展)。与仅列出原始 URL 的默认 sitemap 生成器不同,Intlayer 自动在页面的所有语言版本之间创建所需的双向链接(例如,`/about`、`/about?lang=fr` 和 `/about?lang=es`)。这确保搜索引擎正确索引并向正确的受众提供正确的语言版本。
1190
+ - **BLOCK 2 of 3**(英文参考):为空
1191
+ - **BLOCK 2 of 3**(中文待审核):为空
952
1192
 
953
- 要使用它,你首先需要配置你的 `vite.config.ts` 以为本地化路由启用预渲染并禁用默认的 TanStack Start sitemap 生成。
1193
+ 请提供:
1194
+ 1. **英文源文件内容**(需要审核的参考版本)
1195
+ 2. **中文现有翻译内容**(需要更新/修正的版本)
954
1196
 
955
- ```typescript fileName="vite.config.ts"
1197
+ bun run build # 或 bun run dev
956
1198
  import { localeFlatMap } from "intlayer";
957
1199
  // ... 其他导入
958
1200
 
959
- export const pathList = ["", "/about", "/404"];
960
-
961
- const localizedPages = localeFlatMap(({ urlPrefix }) =>
962
- pathList.map((path) => ({
963
- path: `${urlPrefix}${path}`,
964
- prerender: {
965
- enabled: true,
966
- },
967
- }))
968
- );
969
-
970
1201
  export default defineConfig({
971
1202
  plugins: [
972
1203
  // ... 其他插件
@@ -988,13 +1219,9 @@ export default defineConfig({
988
1219
 
989
1220
  然后,创建一个 `src/routes/sitemap[.]xml.ts` 路由,使用 `generateSitemap` 函数:
990
1221
 
991
- ```typescript fileName="src/routes/sitemap[.]xml.ts"
992
- import { createFileRoute } from "@tanstack/react-router";
993
- import { generateSitemap } from "intlayer";
1222
+ ````typescript fileName="src/routes/sitemap[.]xml.ts"
994
1223
 
995
- const SITE_URL = (
996
- import.meta.env.VITE_SITE_URL ?? "http://localhost:3000"
997
- ).replace(/\/$/, "");
1224
+ ---
998
1225
 
999
1226
  export const Route = createFileRoute("/sitemap.xml")({
1000
1227
  server: {
@@ -1015,19 +1242,6 @@ export const Route = createFileRoute("/sitemap.xml")({
1015
1242
  },
1016
1243
  },
1017
1244
  });
1018
- ```
1019
-
1020
- ---
1021
-
1022
- </Step>
1023
-
1024
- <Step number={17} title="配置 TypeScript">
1025
-
1026
- Intlayer 使用模块扩展以获得 TypeScript 的好处并使你的 codebase 更强大。
1027
-
1028
- 确保你的 TypeScript 配置包含自动生成的类型:
1029
-
1030
- ```json5 fileName="tsconfig.json"
1031
1245
  {
1032
1246
  // ... 你现有的配置
1033
1247
  include: [
@@ -1035,47 +1249,40 @@ Intlayer 使用模块扩展以获得 TypeScript 的好处并使你的 codebase
1035
1249
  ".intlayer/**/*.ts", // 包含自动生成的类型
1036
1250
  ],
1037
1251
  }
1038
- ```
1039
-
1040
- ---
1041
-
1042
- </Step>
1043
-
1044
- </Steps>
1045
1252
 
1046
1253
  ### Git 配置
1047
1254
 
1048
- 建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。
1255
+ 建议忽略由 Intlayer 生成的文件。这样可以避免将它们提交到 Git 仓库。
1049
1256
 
1050
- 要做到这一点,您可以将以下指令添加到您的 `.gitignore` 文件中:
1257
+ 为此,您可以将以下指令添加到您的 `.gitignore` 文件中:
1051
1258
 
1052
1259
  ```plaintext fileName=".gitignore"
1053
- # 忽略 Intlayer 生成的文件
1260
+ # 忽略由 Intlayer 生成的文件
1054
1261
  .intlayer
1055
- ```
1262
+ ````
1056
1263
 
1057
1264
  ---
1058
1265
 
1059
1266
  ## VS Code 扩展
1060
1267
 
1061
- 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
1268
+ 为了改进你使用 Intlayer 的开发体验,你可以安装官方的 **Intlayer VS Code 扩展**。
1062
1269
 
1063
- [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
1270
+ [从 VS Code 应用市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
1064
1271
 
1065
- 该扩展提供:
1272
+ 此扩展提供以下功能:
1066
1273
 
1067
- - 翻译键的**自动补全**。
1068
- - 缺失翻译的**实时错误检测**。
1069
- - 翻译内容的**内联预览**。
1070
- - 轻松创建和更新翻译的**快速操作**。
1274
+ - **自动完成**翻译密钥。
1275
+ - **实时错误检测**缺失的翻译。
1276
+ - **内联预览**已翻译的内容。
1277
+ - **快速操作**轻松创建和更新翻译。
1071
1278
 
1072
- 有关如何使用该扩展的更多详细信息,请参阅[Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
1279
+ 有关如何使用扩展的更多详细信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
1073
1280
 
1074
1281
  ---
1075
1282
 
1076
- ## 深入探索
1283
+ ## 更进一步
1077
1284
 
1078
- 要进一步使用,您可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用[内容管理系统(CMS)](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)将内容外部化。
1285
+ 要更进一步,您可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用[CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)外部化您的内容。
1079
1286
 
1080
1287
  ---
1081
1288
 
@@ -1083,7 +1290,7 @@ Intlayer 使用模块扩展以获得 TypeScript 的好处并使你的 codebase
1083
1290
 
1084
1291
  - [Intlayer 文档](https://intlayer.org)
1085
1292
  - [Tanstack Start 文档](https://reactrouter.com/)
1086
- - [useIntlayer 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)
1293
+ - [useIntlayer hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)
1087
1294
  - [useLocale hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)
1088
1295
  - [内容声明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)
1089
1296
  - [配置](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)