@intlayer/docs 9.0.0-canary.4 → 9.0.0-canary.6

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 (1505) hide show
  1. package/blog/ar/intlayer_with_i18next.md +4 -0
  2. package/blog/ar/intlayer_with_next-i18next.md +0 -11
  3. package/blog/ar/intlayer_with_next-intl.md +4 -0
  4. package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
  5. package/blog/ar/rag_powered_documentation_assistant.md +13 -0
  6. package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  7. package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
  8. package/blog/de/intlayer_with_i18next.md +4 -0
  9. package/blog/de/intlayer_with_next-i18next.md +0 -11
  10. package/blog/de/intlayer_with_next-intl.md +4 -0
  11. package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
  12. package/blog/de/rag_powered_documentation_assistant.md +0 -193
  13. package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  14. package/blog/de/vue-i18n_vs_intlayer.md +8 -0
  15. package/blog/en-GB/intlayer_with_i18next.md +4 -0
  16. package/blog/en-GB/intlayer_with_next-i18next.md +0 -11
  17. package/blog/en-GB/intlayer_with_next-intl.md +4 -0
  18. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  19. package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
  20. package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
  21. package/blog/es/intlayer_with_i18next.md +4 -0
  22. package/blog/es/intlayer_with_next-i18next.md +0 -11
  23. package/blog/es/intlayer_with_next-intl.md +4 -0
  24. package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  25. package/blog/es/rag_powered_documentation_assistant.md +13 -0
  26. package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  27. package/blog/es/vue-i18n_vs_intlayer.md +8 -0
  28. package/blog/fr/i18n_meaning.md +95 -0
  29. package/blog/fr/intlayer_with_next-i18next.md +0 -11
  30. package/blog/fr/intlayer_with_next-intl.md +4 -0
  31. package/blog/fr/intlayer_with_react-i18next.md +0 -8
  32. package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
  33. package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  34. package/blog/fr/rag_powered_documentation_assistant.md +0 -62
  35. package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  36. package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
  37. package/blog/hi/intlayer_with_i18next.md +4 -0
  38. package/blog/hi/intlayer_with_next-i18next.md +0 -11
  39. package/blog/hi/intlayer_with_next-intl.md +4 -0
  40. package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
  41. package/blog/hi/rag_powered_documentation_assistant.md +13 -0
  42. package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  43. package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
  44. package/blog/id/internationalization_and_SEO.md +0 -91
  45. package/blog/id/intlayer_with_i18next.md +4 -0
  46. package/blog/id/intlayer_with_next-i18next.md +0 -11
  47. package/blog/id/intlayer_with_next-intl.md +4 -0
  48. package/blog/id/rag_powered_documentation_assistant.md +13 -0
  49. package/blog/it/intlayer_with_i18next.md +4 -0
  50. package/blog/it/intlayer_with_next-i18next.md +0 -11
  51. package/blog/it/intlayer_with_next-intl.md +4 -0
  52. package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
  53. package/blog/it/rag_powered_documentation_assistant.md +0 -195
  54. package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  55. package/blog/it/vue-i18n_vs_intlayer.md +8 -0
  56. package/blog/ja/intlayer_with_i18next.md +4 -0
  57. package/blog/ja/intlayer_with_next-i18next.md +0 -11
  58. package/blog/ja/intlayer_with_next-intl.md +4 -0
  59. package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
  60. package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
  61. package/blog/ja/rag_powered_documentation_assistant.md +13 -0
  62. package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  63. package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
  64. package/blog/ko/intlayer_with_i18next.md +4 -0
  65. package/blog/ko/intlayer_with_next-i18next.md +0 -11
  66. package/blog/ko/intlayer_with_next-intl.md +4 -0
  67. package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
  68. package/blog/ko/rag_powered_documentation_assistant.md +0 -194
  69. package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  70. package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
  71. package/blog/ko/what_is_internationalization.md +0 -4
  72. package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
  73. package/blog/pl/internationalization_and_SEO.md +0 -91
  74. package/blog/pl/intlayer_with_i18next.md +4 -0
  75. package/blog/pl/intlayer_with_next-i18next.md +0 -11
  76. package/blog/pl/intlayer_with_next-intl.md +4 -0
  77. package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
  78. package/blog/pl/rag_powered_documentation_assistant.md +13 -0
  79. package/blog/pt/internationalization_and_SEO.md +1 -1
  80. package/blog/pt/intlayer_with_i18next.md +4 -0
  81. package/blog/pt/intlayer_with_next-i18next.md +0 -11
  82. package/blog/pt/intlayer_with_next-intl.md +4 -0
  83. package/blog/pt/intlayer_with_react-intl.md +0 -4
  84. package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
  85. package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  86. package/blog/pt/rag_powered_documentation_assistant.md +0 -195
  87. package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  88. package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
  89. package/blog/ru/intlayer_with_i18next.md +4 -0
  90. package/blog/ru/intlayer_with_next-i18next.md +0 -11
  91. package/blog/ru/intlayer_with_next-intl.md +4 -0
  92. package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
  93. package/blog/ru/rag_powered_documentation_assistant.md +13 -0
  94. package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  95. package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
  96. package/blog/tr/intlayer_with_i18next.md +4 -0
  97. package/blog/tr/intlayer_with_next-i18next.md +0 -11
  98. package/blog/tr/intlayer_with_next-intl.md +4 -0
  99. package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
  100. package/blog/tr/rag_powered_documentation_assistant.md +0 -38
  101. package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
  102. package/blog/uk/rag_powered_documentation_assistant.md +13 -0
  103. package/blog/vi/internationalization_and_SEO.md +0 -91
  104. package/blog/vi/intlayer_with_i18next.md +4 -0
  105. package/blog/vi/intlayer_with_next-i18next.md +0 -11
  106. package/blog/vi/intlayer_with_next-intl.md +4 -0
  107. package/blog/vi/rag_powered_documentation_assistant.md +13 -0
  108. package/blog/zh/intlayer_with_i18next.md +4 -47
  109. package/blog/zh/intlayer_with_next-i18next.md +0 -58
  110. package/blog/zh/intlayer_with_next-intl.md +4 -47
  111. package/blog/zh/intlayer_with_react-i18next.md +0 -47
  112. package/blog/zh/intlayer_with_react-intl.md +0 -47
  113. package/blog/zh/intlayer_with_vue-i18n.md +0 -47
  114. package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
  115. package/blog/zh/nextjs-multilingual-seo-comparison.md +0 -30
  116. package/blog/zh/rag_powered_documentation_assistant.md +0 -191
  117. package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  118. package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
  119. package/docs/ar/CI_CD.md +4 -0
  120. package/docs/ar/autoFill.md +81 -0
  121. package/docs/ar/benchmark/solid.md +22 -0
  122. package/docs/ar/benchmark/svelte.md +22 -0
  123. package/docs/ar/benchmark/tanstack.md +22 -0
  124. package/docs/ar/cli/ci.md +22 -0
  125. package/docs/ar/cli/fill.md +8 -0
  126. package/docs/ar/compat/i18n-js.md +44 -0
  127. package/docs/ar/compat/i18next.md +59 -0
  128. package/docs/ar/compat/index.md +51 -0
  129. package/docs/ar/compat/lingui.md +44 -0
  130. package/docs/ar/compat/next-i18next.md +57 -0
  131. package/docs/ar/compat/next-intl.md +59 -0
  132. package/docs/ar/compat/next-translate.md +45 -0
  133. package/docs/ar/compat/ngx-translate.md +45 -0
  134. package/docs/ar/compat/nuxtjs-i18n.md +46 -0
  135. package/docs/ar/compat/polyglot.md +45 -0
  136. package/docs/ar/compat/react-i18next.md +58 -0
  137. package/docs/ar/compat/react-intl.md +55 -0
  138. package/docs/ar/compat/svelte-i18n.md +47 -0
  139. package/docs/ar/compat/transloco.md +45 -0
  140. package/docs/ar/compat/vue-i18n.md +58 -0
  141. package/docs/ar/compiler.md +3 -1
  142. package/docs/ar/configuration.md +19 -17
  143. package/docs/ar/custom_domains.md +1 -1
  144. package/docs/ar/custom_url_rewrites.md +1 -1
  145. package/docs/ar/dictionary/content_file.md +4 -7
  146. package/docs/ar/dictionary/enumeration.md +0 -187
  147. package/docs/ar/dictionary/file.md +8 -0
  148. package/docs/ar/dictionary/nesting.md +39 -0
  149. package/docs/ar/dictionary/translation.md +0 -61
  150. package/docs/ar/formatters.md +59 -0
  151. package/docs/ar/how_works_intlayer.md +4 -0
  152. package/docs/ar/interest_of_intlayer.md +193 -0
  153. package/docs/ar/intlayer_CMS.md +6 -0
  154. package/docs/ar/intlayer_with_astro.md +129 -2
  155. package/docs/ar/intlayer_with_astro_lit.md +1 -1
  156. package/docs/ar/intlayer_with_astro_preact.md +1 -1
  157. package/docs/ar/intlayer_with_astro_react.md +1 -1
  158. package/docs/ar/intlayer_with_astro_solid.md +1 -1
  159. package/docs/ar/intlayer_with_astro_svelte.md +1 -1
  160. package/docs/ar/intlayer_with_astro_vanilla.md +1 -1
  161. package/docs/ar/intlayer_with_astro_vue.md +1 -1
  162. package/docs/ar/intlayer_with_create_react_app.md +0 -14
  163. package/docs/ar/intlayer_with_express.md +0 -21
  164. package/docs/ar/intlayer_with_nestjs.md +0 -18
  165. package/docs/ar/intlayer_with_nextjs_14.md +30 -7
  166. package/docs/ar/intlayer_with_nextjs_15.md +21 -1
  167. package/docs/ar/intlayer_with_nextjs_16.md +124 -2
  168. package/docs/ar/intlayer_with_nextjs_compiler.md +1 -1
  169. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +1 -1
  170. package/docs/ar/intlayer_with_nextjs_page_router.md +5 -1
  171. package/docs/ar/intlayer_with_react_native+expo.md +91 -78
  172. package/docs/ar/intlayer_with_react_router_v7.md +1 -95
  173. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +20 -96
  174. package/docs/ar/intlayer_with_svelte_kit.md +1 -207
  175. package/docs/ar/intlayer_with_tanstack+solid.md +3 -1
  176. package/docs/ar/intlayer_with_tanstack.md +1 -1
  177. package/docs/ar/intlayer_with_vite+lit.md +1 -1
  178. package/docs/ar/intlayer_with_vite+preact.md +40 -40
  179. package/docs/ar/intlayer_with_vite+react.md +1 -1
  180. package/docs/ar/intlayer_with_vite+react_compiler.md +1 -1
  181. package/docs/ar/intlayer_with_vite+solid.md +25 -25
  182. package/docs/ar/intlayer_with_vite+svelte.md +12 -12
  183. package/docs/ar/intlayer_with_vite+vanilla.md +1 -1
  184. package/docs/ar/intlayer_with_vite+vue.md +44 -114
  185. package/docs/ar/mcp_server.md +22 -0
  186. package/docs/ar/migration_from_i18next_to_intlayer.md +333 -0
  187. package/docs/ar/migration_from_next-i18next_to_intlayer.md +355 -0
  188. package/docs/ar/migration_from_next-intl_to_intlayer.md +364 -0
  189. package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  190. package/docs/ar/migration_from_react-i18next_to_intlayer.md +384 -0
  191. package/docs/ar/migration_from_vue-i18n_to_intlayer.md +359 -0
  192. package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
  193. package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
  194. package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
  195. package/docs/ar/packages/react-intlayer/t.md +0 -13
  196. package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
  197. package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
  198. package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
  199. package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
  200. package/docs/ar/releases/v6.md +28 -0
  201. package/docs/ar/releases/v7.md +128 -0
  202. package/docs/ar/releases/v9.md +37 -1
  203. package/docs/ar/roadmap.md +6 -0
  204. package/docs/de/CI_CD.md +4 -0
  205. package/docs/de/autoFill.md +81 -0
  206. package/docs/de/benchmark/solid.md +22 -0
  207. package/docs/de/benchmark/svelte.md +22 -0
  208. package/docs/de/benchmark/tanstack.md +22 -0
  209. package/docs/de/cli/ci.md +22 -0
  210. package/docs/de/cli/fill.md +8 -0
  211. package/docs/de/cli/init.md +20 -0
  212. package/docs/de/compat/i18n-js.md +44 -0
  213. package/docs/de/compat/i18next.md +59 -0
  214. package/docs/de/compat/index.md +51 -0
  215. package/docs/de/compat/lingui.md +44 -0
  216. package/docs/de/compat/next-i18next.md +57 -0
  217. package/docs/de/compat/next-intl.md +59 -0
  218. package/docs/de/compat/next-translate.md +45 -0
  219. package/docs/de/compat/ngx-translate.md +45 -0
  220. package/docs/de/compat/nuxtjs-i18n.md +46 -0
  221. package/docs/de/compat/polyglot.md +45 -0
  222. package/docs/de/compat/react-i18next.md +58 -0
  223. package/docs/de/compat/react-intl.md +55 -0
  224. package/docs/de/compat/svelte-i18n.md +47 -0
  225. package/docs/de/compat/transloco.md +45 -0
  226. package/docs/de/compat/vue-i18n.md +58 -0
  227. package/docs/de/compiler.md +3 -1
  228. package/docs/de/configuration.md +19 -17
  229. package/docs/de/custom_domains.md +1 -1
  230. package/docs/de/custom_url_rewrites.md +1 -1
  231. package/docs/de/dictionary/content_file.md +4 -0
  232. package/docs/de/dictionary/enumeration.md +0 -199
  233. package/docs/de/dictionary/file.md +8 -0
  234. package/docs/de/dictionary/insertion.md +0 -4
  235. package/docs/de/dictionary/nesting.md +39 -0
  236. package/docs/de/dictionary/translation.md +0 -61
  237. package/docs/de/dynamic_dictionaries/index.md +6 -0
  238. package/docs/de/formatters.md +130 -0
  239. package/docs/de/how_works_intlayer.md +4 -0
  240. package/docs/de/intlayer_CMS.md +6 -0
  241. package/docs/de/intlayer_with_astro.md +129 -2
  242. package/docs/de/intlayer_with_astro_lit.md +1 -1
  243. package/docs/de/intlayer_with_astro_preact.md +1 -1
  244. package/docs/de/intlayer_with_astro_react.md +1 -1
  245. package/docs/de/intlayer_with_astro_solid.md +1 -1
  246. package/docs/de/intlayer_with_astro_svelte.md +1 -1
  247. package/docs/de/intlayer_with_astro_vanilla.md +1 -1
  248. package/docs/de/intlayer_with_astro_vue.md +1 -1
  249. package/docs/de/intlayer_with_create_react_app.md +15 -0
  250. package/docs/de/intlayer_with_express.md +0 -23
  251. package/docs/de/intlayer_with_lynx+react.md +4 -2
  252. package/docs/de/intlayer_with_nestjs.md +0 -8
  253. package/docs/de/intlayer_with_nextjs_14.md +28 -7
  254. package/docs/de/intlayer_with_nextjs_15.md +21 -1
  255. package/docs/de/intlayer_with_nextjs_16.md +1 -1
  256. package/docs/de/intlayer_with_nextjs_compiler.md +49 -1
  257. package/docs/de/intlayer_with_nextjs_no_locale_path.md +1 -1
  258. package/docs/de/intlayer_with_nextjs_page_router.md +5 -1
  259. package/docs/de/intlayer_with_react_native+expo.md +85 -67
  260. package/docs/de/intlayer_with_react_router_v7.md +1 -95
  261. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -91
  262. package/docs/de/intlayer_with_svelte_kit.md +1 -207
  263. package/docs/de/intlayer_with_tanstack+solid.md +3 -1
  264. package/docs/de/intlayer_with_tanstack.md +1 -1
  265. package/docs/de/intlayer_with_vite+lit.md +1 -1
  266. package/docs/de/intlayer_with_vite+preact.md +61 -57
  267. package/docs/de/intlayer_with_vite+react.md +1 -1
  268. package/docs/de/intlayer_with_vite+react_compiler.md +1 -1
  269. package/docs/de/intlayer_with_vite+solid.md +33 -42
  270. package/docs/de/intlayer_with_vite+svelte.md +27 -29
  271. package/docs/de/intlayer_with_vite+vanilla.md +1 -1
  272. package/docs/de/intlayer_with_vite+vue.md +54 -102
  273. package/docs/de/mcp_server.md +22 -0
  274. package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
  275. package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
  276. package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
  277. package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
  278. package/docs/de/packages/react-native-intlayer/exports.md +47 -13
  279. package/docs/de/releases/v6.md +10 -6
  280. package/docs/de/releases/v7.md +128 -0
  281. package/docs/de/releases/v9.md +37 -1
  282. package/docs/de/roadmap.md +6 -16
  283. package/docs/en/bundle_optimization.md +8 -3
  284. package/docs/en/compiler.md +12 -6
  285. package/docs/en/configuration.md +22 -8
  286. package/docs/en/custom_domains.md +2 -0
  287. package/docs/en/custom_url_rewrites.md +2 -0
  288. package/docs/en/intlayer_with_astro.md +2 -0
  289. package/docs/en/intlayer_with_astro_lit.md +2 -0
  290. package/docs/en/intlayer_with_astro_preact.md +2 -0
  291. package/docs/en/intlayer_with_astro_react.md +2 -0
  292. package/docs/en/intlayer_with_astro_solid.md +2 -0
  293. package/docs/en/intlayer_with_astro_svelte.md +2 -0
  294. package/docs/en/intlayer_with_astro_vanilla.md +2 -0
  295. package/docs/en/intlayer_with_astro_vue.md +2 -0
  296. package/docs/en/intlayer_with_nextjs_14.md +2 -0
  297. package/docs/en/intlayer_with_nextjs_15.md +2 -0
  298. package/docs/en/intlayer_with_nextjs_16.md +2 -0
  299. package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
  300. package/docs/en/intlayer_with_nextjs_no_locale_path.md +2 -0
  301. package/docs/en/intlayer_with_nextjs_page_router.md +2 -0
  302. package/docs/en/intlayer_with_react_native+expo.md +22 -18
  303. package/docs/en/intlayer_with_react_router_v7.md +2 -0
  304. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +2 -0
  305. package/docs/en/intlayer_with_svelte_kit.md +4 -0
  306. package/docs/en/intlayer_with_tanstack+solid.md +2 -0
  307. package/docs/en/intlayer_with_tanstack.md +2 -0
  308. package/docs/en/intlayer_with_vite+lit.md +2 -0
  309. package/docs/en/intlayer_with_vite+preact.md +2 -0
  310. package/docs/en/intlayer_with_vite+react.md +2 -0
  311. package/docs/en/intlayer_with_vite+react_compiler.md +2 -0
  312. package/docs/en/intlayer_with_vite+solid.md +2 -0
  313. package/docs/en/intlayer_with_vite+svelte.md +2 -0
  314. package/docs/en/intlayer_with_vite+vanilla.md +4 -0
  315. package/docs/en/intlayer_with_vite+vue.md +2 -0
  316. package/docs/en/packages/react-native-intlayer/exports.md +47 -13
  317. package/docs/en/releases/v9.md +38 -1
  318. package/docs/en-GB/CI_CD.md +4 -0
  319. package/docs/en-GB/autoFill.md +81 -0
  320. package/docs/en-GB/benchmark/solid.md +22 -0
  321. package/docs/en-GB/benchmark/svelte.md +22 -0
  322. package/docs/en-GB/benchmark/tanstack.md +22 -0
  323. package/docs/en-GB/cli/ci.md +22 -0
  324. package/docs/en-GB/cli/fill.md +8 -0
  325. package/docs/en-GB/cli/login.md +0 -36
  326. package/docs/en-GB/cli/test.md +0 -36
  327. package/docs/en-GB/compat/i18n-js.md +44 -0
  328. package/docs/en-GB/compat/i18next.md +59 -0
  329. package/docs/en-GB/compat/index.md +51 -0
  330. package/docs/en-GB/compat/lingui.md +44 -0
  331. package/docs/en-GB/compat/next-i18next.md +57 -0
  332. package/docs/en-GB/compat/next-intl.md +59 -0
  333. package/docs/en-GB/compat/next-translate.md +45 -0
  334. package/docs/en-GB/compat/ngx-translate.md +45 -0
  335. package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
  336. package/docs/en-GB/compat/polyglot.md +45 -0
  337. package/docs/en-GB/compat/react-i18next.md +58 -0
  338. package/docs/en-GB/compat/react-intl.md +55 -0
  339. package/docs/en-GB/compat/svelte-i18n.md +47 -0
  340. package/docs/en-GB/compat/transloco.md +45 -0
  341. package/docs/en-GB/compat/vue-i18n.md +58 -0
  342. package/docs/en-GB/compiler.md +3 -1
  343. package/docs/en-GB/configuration.md +4 -1
  344. package/docs/en-GB/custom_domains.md +1 -1
  345. package/docs/en-GB/custom_url_rewrites.md +1 -1
  346. package/docs/en-GB/dictionary/content_file.md +4 -7
  347. package/docs/en-GB/dictionary/file.md +8 -0
  348. package/docs/en-GB/dictionary/function_fetching.md +0 -4
  349. package/docs/en-GB/dictionary/nesting.md +8 -0
  350. package/docs/en-GB/dictionary/translation.md +0 -61
  351. package/docs/en-GB/formatters.md +59 -0
  352. package/docs/en-GB/how_works_intlayer.md +4 -16
  353. package/docs/en-GB/intlayer_CMS.md +6 -0
  354. package/docs/en-GB/intlayer_with_astro.md +129 -2
  355. package/docs/en-GB/intlayer_with_astro_lit.md +1 -1
  356. package/docs/en-GB/intlayer_with_astro_preact.md +1 -1
  357. package/docs/en-GB/intlayer_with_astro_react.md +1 -1
  358. package/docs/en-GB/intlayer_with_astro_solid.md +1 -1
  359. package/docs/en-GB/intlayer_with_astro_svelte.md +1 -1
  360. package/docs/en-GB/intlayer_with_astro_vanilla.md +1 -1
  361. package/docs/en-GB/intlayer_with_astro_vue.md +1 -1
  362. package/docs/en-GB/intlayer_with_create_react_app.md +0 -46
  363. package/docs/en-GB/intlayer_with_express.md +0 -23
  364. package/docs/en-GB/intlayer_with_nestjs.md +0 -8
  365. package/docs/en-GB/intlayer_with_nextjs_14.md +13 -5
  366. package/docs/en-GB/intlayer_with_nextjs_15.md +23 -1
  367. package/docs/en-GB/intlayer_with_nextjs_16.md +3 -1
  368. package/docs/en-GB/intlayer_with_nextjs_compiler.md +3 -1
  369. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +3 -1
  370. package/docs/en-GB/intlayer_with_nextjs_page_router.md +5 -1
  371. package/docs/en-GB/intlayer_with_react_native+expo.md +74 -92
  372. package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
  373. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +20 -1
  374. package/docs/en-GB/intlayer_with_svelte_kit.md +1 -207
  375. package/docs/en-GB/intlayer_with_tanstack+solid.md +3 -1
  376. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  377. package/docs/en-GB/intlayer_with_vite+lit.md +1 -1
  378. package/docs/en-GB/intlayer_with_vite+preact.md +5 -1
  379. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  380. package/docs/en-GB/intlayer_with_vite+react_compiler.md +1 -1
  381. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  382. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  383. package/docs/en-GB/intlayer_with_vite+vanilla.md +1 -1
  384. package/docs/en-GB/intlayer_with_vite+vue.md +9 -180
  385. package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
  386. package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
  387. package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
  388. package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  389. package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
  390. package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
  391. package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
  392. package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
  393. package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
  394. package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
  395. package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
  396. package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
  397. package/docs/en-GB/plugins/sync-json.md +0 -59
  398. package/docs/en-GB/releases/v6.md +10 -6
  399. package/docs/en-GB/releases/v7.md +128 -0
  400. package/docs/en-GB/releases/v8.md +190 -0
  401. package/docs/en-GB/releases/v9.md +37 -1
  402. package/docs/en-GB/roadmap.md +6 -0
  403. package/docs/es/CI_CD.md +4 -0
  404. package/docs/es/autoFill.md +81 -0
  405. package/docs/es/benchmark/solid.md +22 -0
  406. package/docs/es/benchmark/svelte.md +22 -0
  407. package/docs/es/benchmark/tanstack.md +22 -0
  408. package/docs/es/cli/ci.md +22 -0
  409. package/docs/es/cli/fill.md +8 -0
  410. package/docs/es/cli/login.md +0 -36
  411. package/docs/es/compat/i18n-js.md +44 -0
  412. package/docs/es/compat/i18next.md +59 -0
  413. package/docs/es/compat/index.md +51 -0
  414. package/docs/es/compat/lingui.md +44 -0
  415. package/docs/es/compat/next-i18next.md +57 -0
  416. package/docs/es/compat/next-intl.md +61 -0
  417. package/docs/es/compat/next-translate.md +45 -0
  418. package/docs/es/compat/ngx-translate.md +45 -0
  419. package/docs/es/compat/nuxtjs-i18n.md +46 -0
  420. package/docs/es/compat/polyglot.md +45 -0
  421. package/docs/es/compat/react-i18next.md +58 -0
  422. package/docs/es/compat/react-intl.md +55 -0
  423. package/docs/es/compat/svelte-i18n.md +47 -0
  424. package/docs/es/compat/transloco.md +45 -0
  425. package/docs/es/compat/vue-i18n.md +58 -0
  426. package/docs/es/compiler.md +3 -1
  427. package/docs/es/configuration.md +19 -17
  428. package/docs/es/custom_domains.md +1 -1
  429. package/docs/es/custom_url_rewrites.md +1 -1
  430. package/docs/es/dictionary/content_file.md +4 -0
  431. package/docs/es/dictionary/file.md +8 -0
  432. package/docs/es/dictionary/nesting.md +39 -0
  433. package/docs/es/dictionary/translation.md +0 -61
  434. package/docs/es/formatters.md +82 -0
  435. package/docs/es/how_works_intlayer.md +4 -4
  436. package/docs/es/intlayer_CMS.md +21 -0
  437. package/docs/es/intlayer_visual_editor.md +0 -23
  438. package/docs/es/intlayer_with_astro.md +129 -2
  439. package/docs/es/intlayer_with_astro_lit.md +1 -1
  440. package/docs/es/intlayer_with_astro_preact.md +1 -1
  441. package/docs/es/intlayer_with_astro_react.md +1 -1
  442. package/docs/es/intlayer_with_astro_solid.md +1 -1
  443. package/docs/es/intlayer_with_astro_svelte.md +1 -1
  444. package/docs/es/intlayer_with_astro_vanilla.md +1 -1
  445. package/docs/es/intlayer_with_astro_vue.md +1 -1
  446. package/docs/es/intlayer_with_express.md +0 -4
  447. package/docs/es/intlayer_with_nestjs.md +0 -18
  448. package/docs/es/intlayer_with_nextjs_14.md +10 -4
  449. package/docs/es/intlayer_with_nextjs_15.md +21 -1
  450. package/docs/es/intlayer_with_nextjs_16.md +1 -1
  451. package/docs/es/intlayer_with_nextjs_compiler.md +1 -1
  452. package/docs/es/intlayer_with_nextjs_no_locale_path.md +1 -1
  453. package/docs/es/intlayer_with_nextjs_page_router.md +5 -1
  454. package/docs/es/intlayer_with_react_native+expo.md +78 -79
  455. package/docs/es/intlayer_with_react_router_v7.md +1 -95
  456. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
  457. package/docs/es/intlayer_with_svelte_kit.md +1 -207
  458. package/docs/es/intlayer_with_tanstack+solid.md +3 -1
  459. package/docs/es/intlayer_with_tanstack.md +1 -1
  460. package/docs/es/intlayer_with_vite+lit.md +1 -1
  461. package/docs/es/intlayer_with_vite+preact.md +5 -1
  462. package/docs/es/intlayer_with_vite+react.md +1 -1
  463. package/docs/es/intlayer_with_vite+react_compiler.md +1 -1
  464. package/docs/es/intlayer_with_vite+solid.md +1 -1
  465. package/docs/es/intlayer_with_vite+svelte.md +1 -1
  466. package/docs/es/intlayer_with_vite+vanilla.md +1 -1
  467. package/docs/es/intlayer_with_vite+vue.md +18 -86
  468. package/docs/es/packages/express-intlayer/t.md +0 -9
  469. package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
  470. package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
  471. package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
  472. package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
  473. package/docs/es/packages/react-native-intlayer/exports.md +47 -13
  474. package/docs/es/releases/v6.md +28 -0
  475. package/docs/es/releases/v7.md +128 -0
  476. package/docs/es/releases/v9.md +37 -1
  477. package/docs/es/roadmap.md +6 -0
  478. package/docs/fr/CI_CD.md +4 -0
  479. package/docs/fr/autoFill.md +81 -0
  480. package/docs/fr/benchmark/solid.md +22 -0
  481. package/docs/fr/benchmark/svelte.md +22 -0
  482. package/docs/fr/benchmark/tanstack.md +22 -0
  483. package/docs/fr/cli/ci.md +22 -0
  484. package/docs/fr/cli/fill.md +8 -0
  485. package/docs/fr/cli/login.md +0 -36
  486. package/docs/fr/compat/i18n-js.md +44 -0
  487. package/docs/fr/compat/i18next.md +59 -0
  488. package/docs/fr/compat/index.md +51 -0
  489. package/docs/fr/compat/lingui.md +44 -0
  490. package/docs/fr/compat/next-i18next.md +57 -0
  491. package/docs/fr/compat/next-intl.md +59 -0
  492. package/docs/fr/compat/next-translate.md +45 -0
  493. package/docs/fr/compat/ngx-translate.md +45 -0
  494. package/docs/fr/compat/nuxtjs-i18n.md +46 -0
  495. package/docs/fr/compat/polyglot.md +45 -0
  496. package/docs/fr/compat/react-i18next.md +58 -0
  497. package/docs/fr/compat/react-intl.md +55 -0
  498. package/docs/fr/compat/svelte-i18n.md +47 -0
  499. package/docs/fr/compat/transloco.md +45 -0
  500. package/docs/fr/compat/vue-i18n.md +58 -0
  501. package/docs/fr/compiler.md +3 -1
  502. package/docs/fr/configuration.md +20 -17
  503. package/docs/fr/custom_domains.md +1 -1
  504. package/docs/fr/custom_url_rewrites.md +14 -14
  505. package/docs/fr/dictionary/content_file.md +4 -0
  506. package/docs/fr/dictionary/enumeration.md +0 -187
  507. package/docs/fr/dictionary/file.md +8 -0
  508. package/docs/fr/dictionary/nesting.md +39 -0
  509. package/docs/fr/dictionary/translation.md +0 -61
  510. package/docs/fr/formatters.md +171 -77
  511. package/docs/fr/how_works_intlayer.md +4 -0
  512. package/docs/fr/intlayer_CMS.md +6 -0
  513. package/docs/fr/intlayer_with_astro.md +129 -2
  514. package/docs/fr/intlayer_with_astro_lit.md +1 -1
  515. package/docs/fr/intlayer_with_astro_preact.md +1 -1
  516. package/docs/fr/intlayer_with_astro_react.md +1 -1
  517. package/docs/fr/intlayer_with_astro_solid.md +1 -1
  518. package/docs/fr/intlayer_with_astro_svelte.md +1 -1
  519. package/docs/fr/intlayer_with_astro_vanilla.md +1 -1
  520. package/docs/fr/intlayer_with_astro_vue.md +1 -1
  521. package/docs/fr/intlayer_with_create_react_app.md +0 -14
  522. package/docs/fr/intlayer_with_express.md +0 -4
  523. package/docs/fr/intlayer_with_nestjs.md +0 -18
  524. package/docs/fr/intlayer_with_nextjs_14.md +26 -5
  525. package/docs/fr/intlayer_with_nextjs_15.md +21 -1
  526. package/docs/fr/intlayer_with_nextjs_16.md +1 -1
  527. package/docs/fr/intlayer_with_nextjs_compiler.md +1 -1
  528. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +1 -1
  529. package/docs/fr/intlayer_with_nextjs_page_router.md +5 -1
  530. package/docs/fr/intlayer_with_nuxt.md +0 -27
  531. package/docs/fr/intlayer_with_react_native+expo.md +89 -67
  532. package/docs/fr/intlayer_with_react_router_v7.md +1 -95
  533. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -100
  534. package/docs/fr/intlayer_with_svelte_kit.md +1 -239
  535. package/docs/fr/intlayer_with_tanstack+solid.md +3 -1
  536. package/docs/fr/intlayer_with_tanstack.md +1 -1
  537. package/docs/fr/intlayer_with_vite+lit.md +1 -1
  538. package/docs/fr/intlayer_with_vite+preact.md +5 -1
  539. package/docs/fr/intlayer_with_vite+react.md +1 -1
  540. package/docs/fr/intlayer_with_vite+react_compiler.md +1 -1
  541. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  542. package/docs/fr/intlayer_with_vite+svelte.md +1 -1
  543. package/docs/fr/intlayer_with_vite+vanilla.md +1 -1
  544. package/docs/fr/intlayer_with_vite+vue.md +13 -83
  545. package/docs/fr/packages/express-intlayer/t.md +0 -9
  546. package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
  547. package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
  548. package/docs/fr/packages/next-intlayer/t.md +1 -1
  549. package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
  550. package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
  551. package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
  552. package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
  553. package/docs/fr/plugins/sync-json.md +0 -59
  554. package/docs/fr/releases/v6.md +28 -0
  555. package/docs/fr/releases/v7.md +128 -0
  556. package/docs/fr/releases/v9.md +37 -1
  557. package/docs/fr/roadmap.md +6 -0
  558. package/docs/hi/CI_CD.md +4 -0
  559. package/docs/hi/autoFill.md +81 -0
  560. package/docs/hi/benchmark/solid.md +22 -0
  561. package/docs/hi/benchmark/svelte.md +22 -0
  562. package/docs/hi/benchmark/tanstack.md +22 -0
  563. package/docs/hi/cli/ci.md +22 -0
  564. package/docs/hi/cli/fill.md +8 -0
  565. package/docs/hi/cli/login.md +0 -36
  566. package/docs/hi/compat/i18n-js.md +44 -0
  567. package/docs/hi/compat/i18next.md +59 -0
  568. package/docs/hi/compat/index.md +51 -0
  569. package/docs/hi/compat/lingui.md +44 -0
  570. package/docs/hi/compat/next-i18next.md +57 -0
  571. package/docs/hi/compat/next-intl.md +59 -0
  572. package/docs/hi/compat/next-translate.md +45 -0
  573. package/docs/hi/compat/ngx-translate.md +45 -0
  574. package/docs/hi/compat/nuxtjs-i18n.md +46 -0
  575. package/docs/hi/compat/polyglot.md +45 -0
  576. package/docs/hi/compat/react-i18next.md +58 -0
  577. package/docs/hi/compat/react-intl.md +55 -0
  578. package/docs/hi/compat/svelte-i18n.md +47 -0
  579. package/docs/hi/compat/transloco.md +45 -0
  580. package/docs/hi/compat/vue-i18n.md +58 -0
  581. package/docs/hi/compiler.md +3 -1
  582. package/docs/hi/configuration.md +19 -17
  583. package/docs/hi/custom_domains.md +1 -1
  584. package/docs/hi/custom_url_rewrites.md +1 -1
  585. package/docs/hi/dictionary/enumeration.md +0 -187
  586. package/docs/hi/dictionary/file.md +8 -0
  587. package/docs/hi/dictionary/nesting.md +39 -0
  588. package/docs/hi/dictionary/translation.md +0 -61
  589. package/docs/hi/formatters.md +85 -0
  590. package/docs/hi/how_works_intlayer.md +2 -0
  591. package/docs/hi/interest_of_intlayer.md +194 -0
  592. package/docs/hi/intlayer_CMS.md +6 -0
  593. package/docs/hi/intlayer_with_astro.md +130 -3
  594. package/docs/hi/intlayer_with_astro_lit.md +1 -1
  595. package/docs/hi/intlayer_with_astro_preact.md +1 -1
  596. package/docs/hi/intlayer_with_astro_react.md +1 -1
  597. package/docs/hi/intlayer_with_astro_solid.md +1 -1
  598. package/docs/hi/intlayer_with_astro_svelte.md +1 -1
  599. package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
  600. package/docs/hi/intlayer_with_astro_vue.md +1 -1
  601. package/docs/hi/intlayer_with_create_react_app.md +15 -0
  602. package/docs/hi/intlayer_with_express.md +0 -23
  603. package/docs/hi/intlayer_with_nestjs.md +0 -8
  604. package/docs/hi/intlayer_with_nextjs_14.md +31 -8
  605. package/docs/hi/intlayer_with_nextjs_15.md +21 -1
  606. package/docs/hi/intlayer_with_nextjs_16.md +176 -54
  607. package/docs/hi/intlayer_with_nextjs_compiler.md +1 -1
  608. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1 -1
  609. package/docs/hi/intlayer_with_nextjs_page_router.md +5 -1
  610. package/docs/hi/intlayer_with_nuxt.md +0 -27
  611. package/docs/hi/intlayer_with_react_native+expo.md +125 -86
  612. package/docs/hi/intlayer_with_react_router_v7.md +1 -95
  613. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +20 -96
  614. package/docs/hi/intlayer_with_svelte_kit.md +1 -207
  615. package/docs/hi/intlayer_with_tanstack+solid.md +3 -1
  616. package/docs/hi/intlayer_with_tanstack.md +1 -1
  617. package/docs/hi/intlayer_with_vite+lit.md +1 -1
  618. package/docs/hi/intlayer_with_vite+preact.md +1 -1
  619. package/docs/hi/intlayer_with_vite+react.md +1 -1
  620. package/docs/hi/intlayer_with_vite+react_compiler.md +1 -1
  621. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  622. package/docs/hi/intlayer_with_vite+svelte.md +32 -48
  623. package/docs/hi/intlayer_with_vite+vanilla.md +1 -1
  624. package/docs/hi/intlayer_with_vite+vue.md +23 -71
  625. package/docs/hi/mcp_server.md +22 -0
  626. package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
  627. package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
  628. package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
  629. package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  630. package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
  631. package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
  632. package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
  633. package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
  634. package/docs/hi/packages/next-intlayer/t.md +2 -0
  635. package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
  636. package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
  637. package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
  638. package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
  639. package/docs/hi/releases/v6.md +28 -0
  640. package/docs/hi/releases/v7.md +128 -0
  641. package/docs/hi/releases/v9.md +37 -1
  642. package/docs/hi/roadmap.md +6 -0
  643. package/docs/id/autoFill.md +20 -0
  644. package/docs/id/benchmark/solid.md +22 -0
  645. package/docs/id/benchmark/svelte.md +22 -0
  646. package/docs/id/benchmark/tanstack.md +22 -0
  647. package/docs/id/cli/ci.md +22 -0
  648. package/docs/id/cli/fill.md +8 -0
  649. package/docs/id/compat/i18n-js.md +44 -0
  650. package/docs/id/compat/i18next.md +59 -0
  651. package/docs/id/compat/index.md +51 -0
  652. package/docs/id/compat/lingui.md +44 -0
  653. package/docs/id/compat/next-i18next.md +57 -0
  654. package/docs/id/compat/next-intl.md +59 -0
  655. package/docs/id/compat/next-translate.md +45 -0
  656. package/docs/id/compat/ngx-translate.md +45 -0
  657. package/docs/id/compat/nuxtjs-i18n.md +46 -0
  658. package/docs/id/compat/polyglot.md +45 -0
  659. package/docs/id/compat/react-i18next.md +58 -0
  660. package/docs/id/compat/react-intl.md +55 -0
  661. package/docs/id/compat/svelte-i18n.md +47 -0
  662. package/docs/id/compat/transloco.md +45 -0
  663. package/docs/id/compat/vue-i18n.md +58 -0
  664. package/docs/id/compiler.md +3 -1
  665. package/docs/id/configuration.md +19 -17
  666. package/docs/id/custom_domains.md +1 -1
  667. package/docs/id/custom_url_rewrites.md +14 -16
  668. package/docs/id/dictionary/content_file.md +0 -7
  669. package/docs/id/dictionary/enumeration.md +0 -187
  670. package/docs/id/dictionary/nesting.md +39 -0
  671. package/docs/id/dictionary/translation.md +0 -61
  672. package/docs/id/formatters.md +120 -0
  673. package/docs/id/interest_of_intlayer.md +193 -0
  674. package/docs/id/intlayer_with_astro.md +130 -3
  675. package/docs/id/intlayer_with_astro_lit.md +1 -1
  676. package/docs/id/intlayer_with_astro_preact.md +1 -1
  677. package/docs/id/intlayer_with_astro_react.md +1 -1
  678. package/docs/id/intlayer_with_astro_solid.md +1 -1
  679. package/docs/id/intlayer_with_astro_svelte.md +1 -1
  680. package/docs/id/intlayer_with_astro_vanilla.md +1 -1
  681. package/docs/id/intlayer_with_astro_vue.md +1 -1
  682. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  683. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  684. package/docs/id/intlayer_with_nextjs_16.md +176 -54
  685. package/docs/id/intlayer_with_nextjs_compiler.md +1 -22
  686. package/docs/id/intlayer_with_nextjs_no_locale_path.md +1 -1
  687. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  688. package/docs/id/intlayer_with_react_native+expo.md +31 -72
  689. package/docs/id/intlayer_with_react_router_v7.md +1 -95
  690. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -103
  691. package/docs/id/intlayer_with_svelte_kit.md +1 -207
  692. package/docs/id/intlayer_with_tanstack+solid.md +3 -1
  693. package/docs/id/intlayer_with_tanstack.md +1 -1
  694. package/docs/id/intlayer_with_vite+lit.md +1 -1
  695. package/docs/id/intlayer_with_vite+preact.md +57 -57
  696. package/docs/id/intlayer_with_vite+react.md +49 -49
  697. package/docs/id/intlayer_with_vite+react_compiler.md +1 -1
  698. package/docs/id/intlayer_with_vite+solid.md +33 -42
  699. package/docs/id/intlayer_with_vite+svelte.md +27 -29
  700. package/docs/id/intlayer_with_vite+vanilla.md +1 -1
  701. package/docs/id/intlayer_with_vite+vue.md +49 -101
  702. package/docs/id/mcp_server.md +22 -0
  703. package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
  704. package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
  705. package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
  706. package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  707. package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
  708. package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
  709. package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
  710. package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
  711. package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
  712. package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
  713. package/docs/id/packages/react-native-intlayer/exports.md +47 -13
  714. package/docs/id/releases/v6.md +4 -0
  715. package/docs/id/releases/v7.md +128 -0
  716. package/docs/id/releases/v9.md +37 -1
  717. package/docs/id/roadmap.md +0 -16
  718. package/docs/it/CI_CD.md +4 -0
  719. package/docs/it/autoFill.md +81 -0
  720. package/docs/it/benchmark/solid.md +22 -0
  721. package/docs/it/benchmark/svelte.md +22 -0
  722. package/docs/it/benchmark/tanstack.md +22 -0
  723. package/docs/it/cli/ci.md +22 -0
  724. package/docs/it/cli/fill.md +8 -0
  725. package/docs/it/compat/i18n-js.md +44 -0
  726. package/docs/it/compat/i18next.md +59 -0
  727. package/docs/it/compat/index.md +51 -0
  728. package/docs/it/compat/lingui.md +44 -0
  729. package/docs/it/compat/next-i18next.md +57 -0
  730. package/docs/it/compat/next-intl.md +59 -0
  731. package/docs/it/compat/next-translate.md +45 -0
  732. package/docs/it/compat/ngx-translate.md +45 -0
  733. package/docs/it/compat/nuxtjs-i18n.md +46 -0
  734. package/docs/it/compat/polyglot.md +45 -0
  735. package/docs/it/compat/react-i18next.md +58 -0
  736. package/docs/it/compat/react-intl.md +55 -0
  737. package/docs/it/compat/svelte-i18n.md +47 -0
  738. package/docs/it/compat/transloco.md +45 -0
  739. package/docs/it/compat/vue-i18n.md +58 -0
  740. package/docs/it/compiler.md +3 -1
  741. package/docs/it/configuration.md +19 -17
  742. package/docs/it/custom_domains.md +1 -1
  743. package/docs/it/custom_url_rewrites.md +1 -1
  744. package/docs/it/dictionary/content_file.md +4 -7
  745. package/docs/it/dictionary/enumeration.md +0 -197
  746. package/docs/it/dictionary/file.md +8 -0
  747. package/docs/it/dictionary/nesting.md +39 -0
  748. package/docs/it/dictionary/translation.md +0 -61
  749. package/docs/it/formatters.md +82 -0
  750. package/docs/it/how_works_intlayer.md +4 -4
  751. package/docs/it/intlayer_CMS.md +6 -0
  752. package/docs/it/intlayer_with_astro.md +129 -2
  753. package/docs/it/intlayer_with_astro_lit.md +1 -1
  754. package/docs/it/intlayer_with_astro_preact.md +1 -1
  755. package/docs/it/intlayer_with_astro_react.md +1 -1
  756. package/docs/it/intlayer_with_astro_solid.md +1 -1
  757. package/docs/it/intlayer_with_astro_svelte.md +1 -1
  758. package/docs/it/intlayer_with_astro_vanilla.md +1 -1
  759. package/docs/it/intlayer_with_astro_vue.md +1 -1
  760. package/docs/it/intlayer_with_create_react_app.md +0 -14
  761. package/docs/it/intlayer_with_express.md +0 -4
  762. package/docs/it/intlayer_with_lynx+react.md +11 -0
  763. package/docs/it/intlayer_with_nestjs.md +0 -8
  764. package/docs/it/intlayer_with_nextjs_14.md +30 -9
  765. package/docs/it/intlayer_with_nextjs_15.md +21 -1
  766. package/docs/it/intlayer_with_nextjs_16.md +176 -54
  767. package/docs/it/intlayer_with_nextjs_compiler.md +1 -1
  768. package/docs/it/intlayer_with_nextjs_no_locale_path.md +1 -1
  769. package/docs/it/intlayer_with_nextjs_page_router.md +5 -1
  770. package/docs/it/intlayer_with_react_native+expo.md +67 -71
  771. package/docs/it/intlayer_with_react_router_v7.md +1 -95
  772. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -96
  773. package/docs/it/intlayer_with_svelte_kit.md +1 -239
  774. package/docs/it/intlayer_with_tanstack+solid.md +3 -1
  775. package/docs/it/intlayer_with_tanstack.md +1 -1
  776. package/docs/it/intlayer_with_vite+lit.md +1 -1
  777. package/docs/it/intlayer_with_vite+preact.md +61 -57
  778. package/docs/it/intlayer_with_vite+react.md +49 -1
  779. package/docs/it/intlayer_with_vite+react_compiler.md +1 -1
  780. package/docs/it/intlayer_with_vite+solid.md +33 -42
  781. package/docs/it/intlayer_with_vite+svelte.md +27 -29
  782. package/docs/it/intlayer_with_vite+vanilla.md +1 -1
  783. package/docs/it/intlayer_with_vite+vue.md +53 -123
  784. package/docs/it/mcp_server.md +22 -0
  785. package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
  786. package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
  787. package/docs/it/packages/next-intlayer/t.md +34 -0
  788. package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
  789. package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
  790. package/docs/it/packages/react-native-intlayer/exports.md +47 -13
  791. package/docs/it/releases/v6.md +28 -0
  792. package/docs/it/releases/v7.md +128 -0
  793. package/docs/it/releases/v9.md +37 -1
  794. package/docs/it/roadmap.md +6 -0
  795. package/docs/ja/CI_CD.md +4 -0
  796. package/docs/ja/autoFill.md +81 -0
  797. package/docs/ja/benchmark/solid.md +22 -0
  798. package/docs/ja/benchmark/svelte.md +22 -0
  799. package/docs/ja/benchmark/tanstack.md +22 -0
  800. package/docs/ja/cli/ci.md +22 -0
  801. package/docs/ja/cli/fill.md +8 -0
  802. package/docs/ja/cli/list_projects.md +0 -18
  803. package/docs/ja/compat/i18n-js.md +44 -0
  804. package/docs/ja/compat/i18next.md +59 -0
  805. package/docs/ja/compat/index.md +51 -0
  806. package/docs/ja/compat/lingui.md +44 -0
  807. package/docs/ja/compat/next-i18next.md +57 -0
  808. package/docs/ja/compat/next-intl.md +59 -0
  809. package/docs/ja/compat/next-translate.md +45 -0
  810. package/docs/ja/compat/ngx-translate.md +45 -0
  811. package/docs/ja/compat/nuxtjs-i18n.md +46 -0
  812. package/docs/ja/compat/polyglot.md +45 -0
  813. package/docs/ja/compat/react-i18next.md +58 -0
  814. package/docs/ja/compat/react-intl.md +55 -0
  815. package/docs/ja/compat/svelte-i18n.md +47 -0
  816. package/docs/ja/compat/transloco.md +45 -0
  817. package/docs/ja/compat/vue-i18n.md +58 -0
  818. package/docs/ja/compiler.md +3 -1
  819. package/docs/ja/configuration.md +19 -17
  820. package/docs/ja/custom_domains.md +1 -1
  821. package/docs/ja/custom_url_rewrites.md +1 -1
  822. package/docs/ja/dictionary/content_file.md +4 -0
  823. package/docs/ja/dictionary/enumeration.md +0 -187
  824. package/docs/ja/dictionary/function_fetching.md +0 -27
  825. package/docs/ja/dictionary/markdown.md +1348 -0
  826. package/docs/ja/dictionary/nesting.md +39 -0
  827. package/docs/ja/dictionary/translation.md +0 -119
  828. package/docs/ja/formatters.md +77 -0
  829. package/docs/ja/how_works_intlayer.md +4 -2
  830. package/docs/ja/intlayer_CMS.md +6 -0
  831. package/docs/ja/intlayer_visual_editor.md +0 -4
  832. package/docs/ja/intlayer_with_analog.md +4 -0
  833. package/docs/ja/intlayer_with_astro.md +129 -2
  834. package/docs/ja/intlayer_with_astro_lit.md +1 -1
  835. package/docs/ja/intlayer_with_astro_preact.md +1 -1
  836. package/docs/ja/intlayer_with_astro_react.md +1 -1
  837. package/docs/ja/intlayer_with_astro_solid.md +1 -1
  838. package/docs/ja/intlayer_with_astro_svelte.md +1 -1
  839. package/docs/ja/intlayer_with_astro_vanilla.md +1 -1
  840. package/docs/ja/intlayer_with_astro_vue.md +1 -1
  841. package/docs/ja/intlayer_with_create_react_app.md +0 -16
  842. package/docs/ja/intlayer_with_express.md +0 -4
  843. package/docs/ja/intlayer_with_nestjs.md +0 -8
  844. package/docs/ja/intlayer_with_nextjs_14.md +26 -20
  845. package/docs/ja/intlayer_with_nextjs_15.md +21 -1
  846. package/docs/ja/intlayer_with_nextjs_16.md +176 -54
  847. package/docs/ja/intlayer_with_nextjs_compiler.md +1 -22
  848. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1 -1
  849. package/docs/ja/intlayer_with_nextjs_page_router.md +5 -1
  850. package/docs/ja/intlayer_with_react_native+expo.md +133 -136
  851. package/docs/ja/intlayer_with_react_router_v7.md +1 -23
  852. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -96
  853. package/docs/ja/intlayer_with_svelte_kit.md +12 -1
  854. package/docs/ja/intlayer_with_tanstack+solid.md +3 -1
  855. package/docs/ja/intlayer_with_tanstack.md +3 -1
  856. package/docs/ja/intlayer_with_vite+lit.md +1 -1
  857. package/docs/ja/intlayer_with_vite+preact.md +704 -1
  858. package/docs/ja/intlayer_with_vite+react.md +1 -1
  859. package/docs/ja/intlayer_with_vite+react_compiler.md +1 -1
  860. package/docs/ja/intlayer_with_vite+solid.md +33 -42
  861. package/docs/ja/intlayer_with_vite+svelte.md +29 -29
  862. package/docs/ja/intlayer_with_vite+vanilla.md +1 -1
  863. package/docs/ja/intlayer_with_vite+vue.md +70 -114
  864. package/docs/ja/mcp_server.md +26 -0
  865. package/docs/ja/packages/express-intlayer/t.md +0 -9
  866. package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
  867. package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
  868. package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
  869. package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
  870. package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
  871. package/docs/ja/releases/v6.md +28 -0
  872. package/docs/ja/releases/v7.md +128 -0
  873. package/docs/ja/releases/v9.md +37 -1
  874. package/docs/ja/roadmap.md +6 -0
  875. package/docs/ko/CI_CD.md +4 -0
  876. package/docs/ko/autoFill.md +81 -0
  877. package/docs/ko/benchmark/solid.md +22 -0
  878. package/docs/ko/benchmark/svelte.md +22 -0
  879. package/docs/ko/benchmark/tanstack.md +22 -0
  880. package/docs/ko/cli/ci.md +22 -0
  881. package/docs/ko/cli/fill.md +8 -0
  882. package/docs/ko/cli/login.md +0 -36
  883. package/docs/ko/compat/i18n-js.md +44 -0
  884. package/docs/ko/compat/i18next.md +59 -0
  885. package/docs/ko/compat/index.md +51 -0
  886. package/docs/ko/compat/lingui.md +44 -0
  887. package/docs/ko/compat/next-i18next.md +55 -0
  888. package/docs/ko/compat/next-intl.md +59 -0
  889. package/docs/ko/compat/next-translate.md +45 -0
  890. package/docs/ko/compat/ngx-translate.md +45 -0
  891. package/docs/ko/compat/nuxtjs-i18n.md +46 -0
  892. package/docs/ko/compat/polyglot.md +45 -0
  893. package/docs/ko/compat/react-i18next.md +58 -0
  894. package/docs/ko/compat/react-intl.md +55 -0
  895. package/docs/ko/compat/svelte-i18n.md +47 -0
  896. package/docs/ko/compat/transloco.md +45 -0
  897. package/docs/ko/compat/vue-i18n.md +58 -0
  898. package/docs/ko/compiler.md +3 -1
  899. package/docs/ko/configuration.md +19 -17
  900. package/docs/ko/custom_domains.md +1 -1
  901. package/docs/ko/custom_url_rewrites.md +1 -1
  902. package/docs/ko/dictionary/content_file.md +4 -27
  903. package/docs/ko/dictionary/enumeration.md +0 -187
  904. package/docs/ko/dictionary/insertion.md +0 -6
  905. package/docs/ko/dictionary/nesting.md +39 -0
  906. package/docs/ko/dictionary/translation.md +0 -84
  907. package/docs/ko/formatters.md +71 -0
  908. package/docs/ko/how_works_intlayer.md +4 -0
  909. package/docs/ko/intlayer_CMS.md +6 -0
  910. package/docs/ko/intlayer_visual_editor.md +0 -2
  911. package/docs/ko/intlayer_with_analog.md +4 -0
  912. package/docs/ko/intlayer_with_astro.md +129 -2
  913. package/docs/ko/intlayer_with_astro_lit.md +1 -1
  914. package/docs/ko/intlayer_with_astro_preact.md +1 -1
  915. package/docs/ko/intlayer_with_astro_react.md +1 -1
  916. package/docs/ko/intlayer_with_astro_solid.md +1 -1
  917. package/docs/ko/intlayer_with_astro_svelte.md +1 -1
  918. package/docs/ko/intlayer_with_astro_vanilla.md +1 -1
  919. package/docs/ko/intlayer_with_astro_vue.md +1 -1
  920. package/docs/ko/intlayer_with_create_react_app.md +0 -14
  921. package/docs/ko/intlayer_with_express.md +0 -23
  922. package/docs/ko/intlayer_with_lynx+react.md +0 -124
  923. package/docs/ko/intlayer_with_nestjs.md +0 -18
  924. package/docs/ko/intlayer_with_nextjs_14.md +19 -13
  925. package/docs/ko/intlayer_with_nextjs_15.md +21 -1
  926. package/docs/ko/intlayer_with_nextjs_16.md +175 -56
  927. package/docs/ko/intlayer_with_nextjs_compiler.md +1 -308
  928. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1 -1
  929. package/docs/ko/intlayer_with_nextjs_page_router.md +5 -1
  930. package/docs/ko/intlayer_with_react_native+expo.md +117 -141
  931. package/docs/ko/intlayer_with_react_router_v7.md +1 -95
  932. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +20 -96
  933. package/docs/ko/intlayer_with_svelte_kit.md +1 -207
  934. package/docs/ko/intlayer_with_tanstack+solid.md +3 -1
  935. package/docs/ko/intlayer_with_tanstack.md +1 -1
  936. package/docs/ko/intlayer_with_vite+lit.md +1 -1
  937. package/docs/ko/intlayer_with_vite+preact.md +57 -91
  938. package/docs/ko/intlayer_with_vite+react.md +93 -18
  939. package/docs/ko/intlayer_with_vite+react_compiler.md +1 -1
  940. package/docs/ko/intlayer_with_vite+solid.md +33 -143
  941. package/docs/ko/intlayer_with_vite+svelte.md +27 -29
  942. package/docs/ko/intlayer_with_vite+vanilla.md +1 -1
  943. package/docs/ko/intlayer_with_vite+vue.md +54 -106
  944. package/docs/ko/mcp_server.md +22 -0
  945. package/docs/ko/packages/express-intlayer/t.md +0 -9
  946. package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
  947. package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
  948. package/docs/ko/packages/next-intlayer/t.md +34 -0
  949. package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
  950. package/docs/ko/packages/react-intlayer/t.md +0 -20
  951. package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
  952. package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
  953. package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
  954. package/docs/ko/releases/v6.md +28 -0
  955. package/docs/ko/releases/v7.md +128 -0
  956. package/docs/ko/releases/v9.md +37 -1
  957. package/docs/ko/roadmap.md +6 -0
  958. package/docs/pl/autoFill.md +20 -0
  959. package/docs/pl/benchmark/___NOTE.md +101 -0
  960. package/docs/pl/benchmark/___nextjs.md +198 -0
  961. package/docs/pl/benchmark/___solid.md +36 -0
  962. package/docs/pl/benchmark/___svelte.md +36 -0
  963. package/docs/pl/benchmark/___tanstack.md +36 -0
  964. package/docs/pl/benchmark/___vue.md +36 -0
  965. package/docs/pl/benchmark/solid.md +22 -0
  966. package/docs/pl/benchmark/svelte.md +22 -0
  967. package/docs/pl/benchmark/tanstack.md +22 -0
  968. package/docs/pl/cli/ci.md +22 -0
  969. package/docs/pl/cli/fill.md +8 -0
  970. package/docs/pl/cli/login.md +0 -36
  971. package/docs/pl/compat/i18n-js.md +44 -0
  972. package/docs/pl/compat/i18next.md +59 -0
  973. package/docs/pl/compat/index.md +51 -0
  974. package/docs/pl/compat/lingui.md +44 -0
  975. package/docs/pl/compat/next-i18next.md +57 -0
  976. package/docs/pl/compat/next-intl.md +59 -0
  977. package/docs/pl/compat/next-translate.md +45 -0
  978. package/docs/pl/compat/ngx-translate.md +45 -0
  979. package/docs/pl/compat/nuxtjs-i18n.md +46 -0
  980. package/docs/pl/compat/polyglot.md +45 -0
  981. package/docs/pl/compat/react-i18next.md +58 -0
  982. package/docs/pl/compat/react-intl.md +55 -0
  983. package/docs/pl/compat/svelte-i18n.md +47 -0
  984. package/docs/pl/compat/transloco.md +45 -0
  985. package/docs/pl/compat/vue-i18n.md +58 -0
  986. package/docs/pl/configuration.md +15 -16
  987. package/docs/pl/dictionary/content_file.md +0 -40
  988. package/docs/pl/dictionary/enumeration.md +0 -187
  989. package/docs/pl/dictionary/nesting.md +39 -0
  990. package/docs/pl/dictionary/translation.md +0 -61
  991. package/docs/pl/formatters.md +120 -0
  992. package/docs/pl/intlayer_with_astro.md +179 -0
  993. package/docs/pl/intlayer_with_react_native+expo.md +58 -82
  994. package/docs/pl/intlayer_with_react_router_v7.md +0 -94
  995. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +0 -95
  996. package/docs/pl/intlayer_with_svelte_kit.md +0 -210
  997. package/docs/pl/intlayer_with_vite+preact.md +56 -56
  998. package/docs/pl/intlayer_with_vite+react.md +48 -48
  999. package/docs/pl/intlayer_with_vite+solid.md +32 -41
  1000. package/docs/pl/intlayer_with_vite+svelte.md +28 -28
  1001. package/docs/pl/intlayer_with_vite+vue.md +48 -70
  1002. package/docs/pl/mcp_server.md +22 -0
  1003. package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
  1004. package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
  1005. package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
  1006. package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
  1007. package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
  1008. package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
  1009. package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
  1010. package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
  1011. package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
  1012. package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
  1013. package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
  1014. package/docs/pl/plugins/sync-json.md +0 -59
  1015. package/docs/pl/releases/v6.md +4 -0
  1016. package/docs/pl/releases/v7.md +128 -0
  1017. package/docs/pl/releases/v9.md +36 -0
  1018. package/docs/pl/roadmap.md +0 -16
  1019. package/docs/pt/CI_CD.md +4 -0
  1020. package/docs/pt/autoFill.md +117 -14
  1021. package/docs/pt/benchmark/index.md +5 -5
  1022. package/docs/pt/benchmark/solid.md +22 -0
  1023. package/docs/pt/benchmark/svelte.md +22 -0
  1024. package/docs/pt/benchmark/tanstack.md +22 -0
  1025. package/docs/pt/cli/ci.md +22 -0
  1026. package/docs/pt/cli/fill.md +8 -0
  1027. package/docs/pt/cli/login.md +0 -36
  1028. package/docs/pt/compat/i18n-js.md +44 -0
  1029. package/docs/pt/compat/i18next.md +59 -0
  1030. package/docs/pt/compat/index.md +51 -0
  1031. package/docs/pt/compat/lingui.md +44 -0
  1032. package/docs/pt/compat/next-i18next.md +57 -0
  1033. package/docs/pt/compat/next-intl.md +59 -0
  1034. package/docs/pt/compat/next-translate.md +45 -0
  1035. package/docs/pt/compat/ngx-translate.md +45 -0
  1036. package/docs/pt/compat/nuxtjs-i18n.md +46 -0
  1037. package/docs/pt/compat/polyglot.md +45 -0
  1038. package/docs/pt/compat/react-i18next.md +58 -0
  1039. package/docs/pt/compat/react-intl.md +55 -0
  1040. package/docs/pt/compat/svelte-i18n.md +47 -0
  1041. package/docs/pt/compat/transloco.md +45 -0
  1042. package/docs/pt/compat/vue-i18n.md +58 -0
  1043. package/docs/pt/compiler.md +2 -2
  1044. package/docs/pt/configuration.md +16 -17
  1045. package/docs/pt/custom_domains.md +1 -6
  1046. package/docs/pt/custom_url_rewrites.md +1 -1
  1047. package/docs/pt/dictionary/content_file.md +4 -7
  1048. package/docs/pt/dictionary/enumeration.md +3 -190
  1049. package/docs/pt/dictionary/file.md +8 -0
  1050. package/docs/pt/dictionary/nesting.md +39 -0
  1051. package/docs/pt/dictionary/translation.md +0 -61
  1052. package/docs/pt/formatters.md +86 -0
  1053. package/docs/pt/how_works_intlayer.md +4 -0
  1054. package/docs/pt/intlayer_CMS.md +21 -0
  1055. package/docs/pt/intlayer_with_analog.md +3 -3
  1056. package/docs/pt/intlayer_with_angular_19.md +7 -7
  1057. package/docs/pt/intlayer_with_angular_21.md +3 -3
  1058. package/docs/pt/intlayer_with_astro.md +182 -3
  1059. package/docs/pt/intlayer_with_astro_lit.md +3 -3
  1060. package/docs/pt/intlayer_with_astro_preact.md +3 -3
  1061. package/docs/pt/intlayer_with_astro_react.md +3 -3
  1062. package/docs/pt/intlayer_with_astro_solid.md +3 -3
  1063. package/docs/pt/intlayer_with_astro_svelte.md +3 -3
  1064. package/docs/pt/intlayer_with_astro_vanilla.md +3 -3
  1065. package/docs/pt/intlayer_with_astro_vue.md +3 -3
  1066. package/docs/pt/intlayer_with_create_react_app.md +0 -14
  1067. package/docs/pt/intlayer_with_express.md +0 -23
  1068. package/docs/pt/intlayer_with_lynx+react.md +14 -3
  1069. package/docs/pt/intlayer_with_nestjs.md +0 -18
  1070. package/docs/pt/intlayer_with_nextjs_14.md +26 -7
  1071. package/docs/pt/intlayer_with_nextjs_15.md +27 -7
  1072. package/docs/pt/intlayer_with_nextjs_16.md +6 -6
  1073. package/docs/pt/intlayer_with_nextjs_compiler.md +1 -1
  1074. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +6 -6
  1075. package/docs/pt/intlayer_with_nextjs_page_router.md +10 -6
  1076. package/docs/pt/intlayer_with_nuxt.md +3 -3
  1077. package/docs/pt/intlayer_with_react_native+expo.md +74 -75
  1078. package/docs/pt/intlayer_with_react_router_v7.md +8 -84
  1079. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -98
  1080. package/docs/pt/intlayer_with_storybook.md +3 -3
  1081. package/docs/pt/intlayer_with_svelte_kit.md +3 -245
  1082. package/docs/pt/intlayer_with_tanstack+solid.md +3 -3
  1083. package/docs/pt/intlayer_with_tanstack.md +3 -3
  1084. package/docs/pt/intlayer_with_vanilla.md +3 -3
  1085. package/docs/pt/intlayer_with_vite+lit.md +3 -3
  1086. package/docs/pt/intlayer_with_vite+preact.md +3 -3
  1087. package/docs/pt/intlayer_with_vite+react.md +10 -10
  1088. package/docs/pt/intlayer_with_vite+react_compiler.md +5 -5
  1089. package/docs/pt/intlayer_with_vite+solid.md +3 -3
  1090. package/docs/pt/intlayer_with_vite+svelte.md +31 -31
  1091. package/docs/pt/intlayer_with_vite+vanilla.md +3 -3
  1092. package/docs/pt/intlayer_with_vite+vue.md +7 -3
  1093. package/docs/pt/mcp_server.md +22 -0
  1094. package/docs/pt/packages/hono-intlayer/t.md +1 -1
  1095. package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
  1096. package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
  1097. package/docs/pt/packages/next-intlayer/t.md +34 -0
  1098. package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
  1099. package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
  1100. package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
  1101. package/docs/pt/plugins/sync-po.md +1 -1
  1102. package/docs/pt/readme.md +3 -3
  1103. package/docs/pt/releases/v6.md +28 -0
  1104. package/docs/pt/releases/v7.md +128 -0
  1105. package/docs/pt/releases/v9.md +37 -1
  1106. package/docs/pt/roadmap.md +6 -0
  1107. package/docs/ru/CI_CD.md +4 -0
  1108. package/docs/ru/autoFill.md +81 -0
  1109. package/docs/ru/benchmark/solid.md +22 -0
  1110. package/docs/ru/benchmark/svelte.md +22 -0
  1111. package/docs/ru/benchmark/tanstack.md +22 -0
  1112. package/docs/ru/cli/ci.md +22 -0
  1113. package/docs/ru/cli/fill.md +8 -0
  1114. package/docs/ru/cli/login.md +0 -36
  1115. package/docs/ru/compat/i18n-js.md +44 -0
  1116. package/docs/ru/compat/i18next.md +59 -0
  1117. package/docs/ru/compat/index.md +51 -0
  1118. package/docs/ru/compat/lingui.md +44 -0
  1119. package/docs/ru/compat/next-i18next.md +57 -0
  1120. package/docs/ru/compat/next-intl.md +59 -0
  1121. package/docs/ru/compat/next-translate.md +45 -0
  1122. package/docs/ru/compat/ngx-translate.md +45 -0
  1123. package/docs/ru/compat/nuxtjs-i18n.md +46 -0
  1124. package/docs/ru/compat/polyglot.md +45 -0
  1125. package/docs/ru/compat/react-i18next.md +58 -0
  1126. package/docs/ru/compat/react-intl.md +55 -0
  1127. package/docs/ru/compat/svelte-i18n.md +47 -0
  1128. package/docs/ru/compat/transloco.md +45 -0
  1129. package/docs/ru/compat/vue-i18n.md +58 -0
  1130. package/docs/ru/compiler.md +3 -1
  1131. package/docs/ru/configuration.md +19 -17
  1132. package/docs/ru/custom_domains.md +1 -1
  1133. package/docs/ru/custom_url_rewrites.md +1 -1
  1134. package/docs/ru/dictionary/content_file.md +4 -27
  1135. package/docs/ru/dictionary/enumeration.md +0 -199
  1136. package/docs/ru/dictionary/file.md +8 -0
  1137. package/docs/ru/dictionary/markdown.md +510 -0
  1138. package/docs/ru/dictionary/nesting.md +8 -0
  1139. package/docs/ru/dictionary/translation.md +0 -61
  1140. package/docs/ru/formatters.md +136 -0
  1141. package/docs/ru/how_works_intlayer.md +4 -0
  1142. package/docs/ru/intlayer_CMS.md +6 -0
  1143. package/docs/ru/intlayer_with_astro.md +129 -2
  1144. package/docs/ru/intlayer_with_astro_lit.md +1 -1
  1145. package/docs/ru/intlayer_with_astro_preact.md +1 -1
  1146. package/docs/ru/intlayer_with_astro_react.md +1 -1
  1147. package/docs/ru/intlayer_with_astro_solid.md +1 -1
  1148. package/docs/ru/intlayer_with_astro_svelte.md +1 -1
  1149. package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
  1150. package/docs/ru/intlayer_with_astro_vue.md +1 -1
  1151. package/docs/ru/intlayer_with_express.md +0 -23
  1152. package/docs/ru/intlayer_with_nestjs.md +0 -18
  1153. package/docs/ru/intlayer_with_nextjs_14.md +31 -8
  1154. package/docs/ru/intlayer_with_nextjs_15.md +21 -1
  1155. package/docs/ru/intlayer_with_nextjs_16.md +1 -1
  1156. package/docs/ru/intlayer_with_nextjs_compiler.md +1 -1
  1157. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1 -1
  1158. package/docs/ru/intlayer_with_nextjs_page_router.md +5 -1
  1159. package/docs/ru/intlayer_with_react_native+expo.md +78 -80
  1160. package/docs/ru/intlayer_with_react_router_v7.md +1 -95
  1161. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1162. package/docs/ru/intlayer_with_svelte_kit.md +1 -207
  1163. package/docs/ru/intlayer_with_tanstack+solid.md +3 -1
  1164. package/docs/ru/intlayer_with_tanstack.md +1 -1
  1165. package/docs/ru/intlayer_with_vite+lit.md +1 -1
  1166. package/docs/ru/intlayer_with_vite+preact.md +57 -57
  1167. package/docs/ru/intlayer_with_vite+react.md +3 -1
  1168. package/docs/ru/intlayer_with_vite+react_compiler.md +1 -1
  1169. package/docs/ru/intlayer_with_vite+solid.md +33 -42
  1170. package/docs/ru/intlayer_with_vite+svelte.md +27 -29
  1171. package/docs/ru/intlayer_with_vite+vanilla.md +1 -1
  1172. package/docs/ru/intlayer_with_vite+vue.md +53 -101
  1173. package/docs/ru/mcp_server.md +22 -0
  1174. package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
  1175. package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
  1176. package/docs/ru/packages/next-intlayer/t.md +34 -0
  1177. package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
  1178. package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
  1179. package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
  1180. package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
  1181. package/docs/ru/releases/v6.md +28 -0
  1182. package/docs/ru/releases/v7.md +128 -0
  1183. package/docs/ru/releases/v9.md +37 -1
  1184. package/docs/ru/roadmap.md +6 -0
  1185. package/docs/tr/CI_CD.md +4 -0
  1186. package/docs/tr/autoFill.md +81 -0
  1187. package/docs/tr/benchmark/solid.md +22 -0
  1188. package/docs/tr/benchmark/svelte.md +22 -0
  1189. package/docs/tr/benchmark/tanstack.md +22 -0
  1190. package/docs/tr/cli/ci.md +22 -0
  1191. package/docs/tr/cli/fill.md +8 -0
  1192. package/docs/tr/cli/login.md +0 -10
  1193. package/docs/tr/compat/i18n-js.md +44 -0
  1194. package/docs/tr/compat/i18next.md +59 -0
  1195. package/docs/tr/compat/index.md +51 -0
  1196. package/docs/tr/compat/lingui.md +44 -0
  1197. package/docs/tr/compat/next-i18next.md +57 -0
  1198. package/docs/tr/compat/next-intl.md +59 -0
  1199. package/docs/tr/compat/next-translate.md +45 -0
  1200. package/docs/tr/compat/ngx-translate.md +45 -0
  1201. package/docs/tr/compat/nuxtjs-i18n.md +46 -0
  1202. package/docs/tr/compat/polyglot.md +45 -0
  1203. package/docs/tr/compat/react-i18next.md +58 -0
  1204. package/docs/tr/compat/react-intl.md +55 -0
  1205. package/docs/tr/compat/svelte-i18n.md +47 -0
  1206. package/docs/tr/compat/transloco.md +45 -0
  1207. package/docs/tr/compat/vue-i18n.md +58 -0
  1208. package/docs/tr/compiler.md +3 -1
  1209. package/docs/tr/configuration.md +19 -17
  1210. package/docs/tr/custom_domains.md +1 -1
  1211. package/docs/tr/custom_url_rewrites.md +1 -1
  1212. package/docs/tr/dictionary/content_file.md +4 -27
  1213. package/docs/tr/dictionary/enumeration.md +0 -187
  1214. package/docs/tr/dictionary/file.md +8 -0
  1215. package/docs/tr/dictionary/nesting.md +39 -0
  1216. package/docs/tr/dictionary/translation.md +0 -88
  1217. package/docs/tr/formatters.md +59 -0
  1218. package/docs/tr/how_works_intlayer.md +4 -0
  1219. package/docs/tr/intlayer_CMS.md +6 -0
  1220. package/docs/tr/intlayer_with_analog.md +4 -0
  1221. package/docs/tr/intlayer_with_astro.md +134 -77
  1222. package/docs/tr/intlayer_with_astro_lit.md +1 -1
  1223. package/docs/tr/intlayer_with_astro_preact.md +1 -1
  1224. package/docs/tr/intlayer_with_astro_react.md +1 -1
  1225. package/docs/tr/intlayer_with_astro_solid.md +1 -1
  1226. package/docs/tr/intlayer_with_astro_svelte.md +1 -1
  1227. package/docs/tr/intlayer_with_astro_vanilla.md +1 -1
  1228. package/docs/tr/intlayer_with_astro_vue.md +1 -1
  1229. package/docs/tr/intlayer_with_express.md +0 -4
  1230. package/docs/tr/intlayer_with_nestjs.md +0 -8
  1231. package/docs/tr/intlayer_with_nextjs_14.md +95 -8
  1232. package/docs/tr/intlayer_with_nextjs_15.md +21 -1
  1233. package/docs/tr/intlayer_with_nextjs_16.md +1 -1
  1234. package/docs/tr/intlayer_with_nextjs_compiler.md +1 -22
  1235. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1 -1
  1236. package/docs/tr/intlayer_with_nextjs_page_router.md +5 -1
  1237. package/docs/tr/intlayer_with_react_native+expo.md +65 -101
  1238. package/docs/tr/intlayer_with_react_router_v7.md +1 -95
  1239. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1240. package/docs/tr/intlayer_with_svelte_kit.md +1 -207
  1241. package/docs/tr/intlayer_with_tanstack+solid.md +3 -1
  1242. package/docs/tr/intlayer_with_tanstack.md +1 -1
  1243. package/docs/tr/intlayer_with_vite+lit.md +1 -1
  1244. package/docs/tr/intlayer_with_vite+preact.md +57 -57
  1245. package/docs/tr/intlayer_with_vite+react.md +49 -49
  1246. package/docs/tr/intlayer_with_vite+react_compiler.md +1 -1
  1247. package/docs/tr/intlayer_with_vite+solid.md +33 -42
  1248. package/docs/tr/intlayer_with_vite+svelte.md +27 -29
  1249. package/docs/tr/intlayer_with_vite+vanilla.md +1 -1
  1250. package/docs/tr/intlayer_with_vite+vue.md +54 -102
  1251. package/docs/tr/mcp_server.md +22 -0
  1252. package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
  1253. package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
  1254. package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
  1255. package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
  1256. package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
  1257. package/docs/tr/releases/v6.md +28 -0
  1258. package/docs/tr/releases/v7.md +128 -0
  1259. package/docs/tr/releases/v9.md +37 -1
  1260. package/docs/tr/roadmap.md +6 -0
  1261. package/docs/uk/benchmark/solid.md +22 -0
  1262. package/docs/uk/benchmark/svelte.md +22 -0
  1263. package/docs/uk/benchmark/tanstack.md +22 -0
  1264. package/docs/uk/cli/ci.md +22 -0
  1265. package/docs/uk/cli/fill.md +8 -0
  1266. package/docs/uk/compat/i18n-js.md +44 -0
  1267. package/docs/uk/compat/i18next.md +59 -0
  1268. package/docs/uk/compat/index.md +51 -0
  1269. package/docs/uk/compat/lingui.md +44 -0
  1270. package/docs/uk/compat/next-i18next.md +57 -0
  1271. package/docs/uk/compat/next-intl.md +59 -0
  1272. package/docs/uk/compat/next-translate.md +45 -0
  1273. package/docs/uk/compat/ngx-translate.md +45 -0
  1274. package/docs/uk/compat/nuxtjs-i18n.md +46 -0
  1275. package/docs/uk/compat/polyglot.md +45 -0
  1276. package/docs/uk/compat/react-i18next.md +58 -0
  1277. package/docs/uk/compat/react-intl.md +55 -0
  1278. package/docs/uk/compat/svelte-i18n.md +47 -0
  1279. package/docs/uk/compat/transloco.md +45 -0
  1280. package/docs/uk/compat/vue-i18n.md +58 -0
  1281. package/docs/uk/compiler.md +3 -1
  1282. package/docs/uk/configuration.md +19 -17
  1283. package/docs/uk/custom_domains.md +1 -1
  1284. package/docs/uk/custom_url_rewrites.md +1 -1
  1285. package/docs/uk/dictionary/content_file.md +0 -7
  1286. package/docs/uk/dictionary/enumeration.md +0 -187
  1287. package/docs/uk/dictionary/nesting.md +39 -0
  1288. package/docs/uk/dictionary/translation.md +0 -72
  1289. package/docs/uk/formatters.md +142 -58
  1290. package/docs/uk/interest_of_intlayer.md +194 -0
  1291. package/docs/uk/intlayer_with_analog.md +4 -0
  1292. package/docs/uk/intlayer_with_astro.md +130 -3
  1293. package/docs/uk/intlayer_with_astro_lit.md +1 -1
  1294. package/docs/uk/intlayer_with_astro_preact.md +1 -1
  1295. package/docs/uk/intlayer_with_astro_react.md +1 -1
  1296. package/docs/uk/intlayer_with_astro_solid.md +1 -1
  1297. package/docs/uk/intlayer_with_astro_svelte.md +1 -1
  1298. package/docs/uk/intlayer_with_astro_vanilla.md +1 -1
  1299. package/docs/uk/intlayer_with_astro_vue.md +1 -1
  1300. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  1301. package/docs/uk/intlayer_with_nextjs_15.md +1 -1
  1302. package/docs/uk/intlayer_with_nextjs_16.md +1 -1
  1303. package/docs/uk/intlayer_with_nextjs_compiler.md +1 -22
  1304. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1 -1
  1305. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  1306. package/docs/uk/intlayer_with_nuxt.md +0 -27
  1307. package/docs/uk/intlayer_with_react_native+expo.md +52 -93
  1308. package/docs/uk/intlayer_with_react_router_v7.md +1 -95
  1309. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1310. package/docs/uk/intlayer_with_svelte_kit.md +1 -1
  1311. package/docs/uk/intlayer_with_tanstack+solid.md +3 -1
  1312. package/docs/uk/intlayer_with_tanstack.md +1 -1
  1313. package/docs/uk/intlayer_with_vite+lit.md +1 -1
  1314. package/docs/uk/intlayer_with_vite+preact.md +57 -57
  1315. package/docs/uk/intlayer_with_vite+react.md +49 -49
  1316. package/docs/uk/intlayer_with_vite+react_compiler.md +1 -1
  1317. package/docs/uk/intlayer_with_vite+solid.md +33 -42
  1318. package/docs/uk/intlayer_with_vite+svelte.md +29 -29
  1319. package/docs/uk/intlayer_with_vite+vanilla.md +1 -1
  1320. package/docs/uk/intlayer_with_vite+vue.md +49 -101
  1321. package/docs/uk/mcp_server.md +22 -0
  1322. package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
  1323. package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
  1324. package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
  1325. package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1326. package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
  1327. package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
  1328. package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
  1329. package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
  1330. package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
  1331. package/docs/uk/releases/v6.md +4 -0
  1332. package/docs/uk/releases/v7.md +4 -0
  1333. package/docs/uk/releases/v9.md +37 -1
  1334. package/docs/vi/autoFill.md +20 -0
  1335. package/docs/vi/benchmark/solid.md +22 -0
  1336. package/docs/vi/benchmark/svelte.md +22 -0
  1337. package/docs/vi/benchmark/tanstack.md +22 -0
  1338. package/docs/vi/cli/ci.md +22 -0
  1339. package/docs/vi/cli/fill.md +8 -0
  1340. package/docs/vi/cli/login.md +0 -36
  1341. package/docs/vi/compat/i18n-js.md +44 -0
  1342. package/docs/vi/compat/i18next.md +59 -0
  1343. package/docs/vi/compat/index.md +51 -0
  1344. package/docs/vi/compat/lingui.md +44 -0
  1345. package/docs/vi/compat/next-i18next.md +57 -0
  1346. package/docs/vi/compat/next-intl.md +59 -0
  1347. package/docs/vi/compat/next-translate.md +45 -0
  1348. package/docs/vi/compat/ngx-translate.md +45 -0
  1349. package/docs/vi/compat/nuxtjs-i18n.md +46 -0
  1350. package/docs/vi/compat/polyglot.md +45 -0
  1351. package/docs/vi/compat/react-i18next.md +58 -0
  1352. package/docs/vi/compat/react-intl.md +55 -0
  1353. package/docs/vi/compat/svelte-i18n.md +47 -0
  1354. package/docs/vi/compat/transloco.md +45 -0
  1355. package/docs/vi/compat/vue-i18n.md +58 -0
  1356. package/docs/vi/compiler.md +3 -1
  1357. package/docs/vi/configuration.md +19 -17
  1358. package/docs/vi/custom_domains.md +1 -1
  1359. package/docs/vi/custom_url_rewrites.md +1 -1
  1360. package/docs/vi/dictionary/content_file.md +0 -7
  1361. package/docs/vi/dictionary/enumeration.md +0 -199
  1362. package/docs/vi/dictionary/insertion.md +0 -2
  1363. package/docs/vi/dictionary/nesting.md +39 -0
  1364. package/docs/vi/dictionary/translation.md +0 -61
  1365. package/docs/vi/formatters.md +124 -0
  1366. package/docs/vi/interest_of_intlayer.md +193 -0
  1367. package/docs/vi/intlayer_with_analog.md +4 -0
  1368. package/docs/vi/intlayer_with_astro.md +130 -3
  1369. package/docs/vi/intlayer_with_astro_lit.md +1 -1
  1370. package/docs/vi/intlayer_with_astro_preact.md +1 -1
  1371. package/docs/vi/intlayer_with_astro_react.md +1 -1
  1372. package/docs/vi/intlayer_with_astro_solid.md +1 -1
  1373. package/docs/vi/intlayer_with_astro_svelte.md +1 -1
  1374. package/docs/vi/intlayer_with_astro_vanilla.md +1 -1
  1375. package/docs/vi/intlayer_with_astro_vue.md +1 -1
  1376. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  1377. package/docs/vi/intlayer_with_nextjs_15.md +469 -1
  1378. package/docs/vi/intlayer_with_nextjs_16.md +1 -1
  1379. package/docs/vi/intlayer_with_nextjs_compiler.md +1 -22
  1380. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1 -1
  1381. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  1382. package/docs/vi/intlayer_with_nuxt.md +0 -27
  1383. package/docs/vi/intlayer_with_react_native+expo.md +32 -74
  1384. package/docs/vi/intlayer_with_react_router_v7.md +1 -95
  1385. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -103
  1386. package/docs/vi/intlayer_with_svelte_kit.md +1 -207
  1387. package/docs/vi/intlayer_with_tanstack+solid.md +3 -1
  1388. package/docs/vi/intlayer_with_tanstack.md +1 -1
  1389. package/docs/vi/intlayer_with_vite+lit.md +1 -1
  1390. package/docs/vi/intlayer_with_vite+preact.md +57 -57
  1391. package/docs/vi/intlayer_with_vite+react.md +49 -49
  1392. package/docs/vi/intlayer_with_vite+react_compiler.md +1 -1
  1393. package/docs/vi/intlayer_with_vite+solid.md +33 -42
  1394. package/docs/vi/intlayer_with_vite+svelte.md +29 -31
  1395. package/docs/vi/intlayer_with_vite+vanilla.md +1 -1
  1396. package/docs/vi/intlayer_with_vite+vue.md +49 -101
  1397. package/docs/vi/mcp_server.md +22 -0
  1398. package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
  1399. package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
  1400. package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
  1401. package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1402. package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
  1403. package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
  1404. package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
  1405. package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
  1406. package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
  1407. package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
  1408. package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
  1409. package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
  1410. package/docs/vi/releases/v6.md +4 -0
  1411. package/docs/vi/releases/v7.md +128 -0
  1412. package/docs/vi/releases/v9.md +37 -1
  1413. package/docs/zh/CI_CD.md +1 -1
  1414. package/docs/zh/autoFill.md +81 -0
  1415. package/docs/zh/benchmark/solid.md +22 -0
  1416. package/docs/zh/benchmark/svelte.md +22 -0
  1417. package/docs/zh/benchmark/tanstack.md +22 -0
  1418. package/docs/zh/cli/ci.md +22 -0
  1419. package/docs/zh/cli/fill.md +8 -0
  1420. package/docs/zh/cli/login.md +0 -36
  1421. package/docs/zh/compat/i18n-js.md +44 -0
  1422. package/docs/zh/compat/i18next.md +59 -0
  1423. package/docs/zh/compat/index.md +51 -0
  1424. package/docs/zh/compat/lingui.md +44 -0
  1425. package/docs/zh/compat/next-i18next.md +57 -0
  1426. package/docs/zh/compat/next-intl.md +59 -0
  1427. package/docs/zh/compat/next-translate.md +45 -0
  1428. package/docs/zh/compat/ngx-translate.md +45 -0
  1429. package/docs/zh/compat/nuxtjs-i18n.md +46 -0
  1430. package/docs/zh/compat/polyglot.md +45 -0
  1431. package/docs/zh/compat/react-i18next.md +58 -0
  1432. package/docs/zh/compat/react-intl.md +55 -0
  1433. package/docs/zh/compat/svelte-i18n.md +47 -0
  1434. package/docs/zh/compat/transloco.md +45 -0
  1435. package/docs/zh/compat/vue-i18n.md +58 -0
  1436. package/docs/zh/compiler.md +3 -1
  1437. package/docs/zh/configuration.md +19 -17
  1438. package/docs/zh/custom_domains.md +1 -1
  1439. package/docs/zh/custom_url_rewrites.md +14 -16
  1440. package/docs/zh/dictionary/content_file.md +16 -20
  1441. package/docs/zh/dictionary/enumeration.md +0 -187
  1442. package/docs/zh/dictionary/function_fetching.md +0 -27
  1443. package/docs/zh/dictionary/insertion.md +0 -64
  1444. package/docs/zh/dictionary/nesting.md +39 -0
  1445. package/docs/zh/dictionary/translation.md +0 -84
  1446. package/docs/zh/formatters.md +77 -0
  1447. package/docs/zh/how_works_intlayer.md +4 -4
  1448. package/docs/zh/intlayer_CMS.md +21 -0
  1449. package/docs/zh/intlayer_with_analog.md +4 -170
  1450. package/docs/zh/intlayer_with_angular_19.md +0 -248
  1451. package/docs/zh/intlayer_with_astro.md +242 -60
  1452. package/docs/zh/intlayer_with_astro_lit.md +108 -74
  1453. package/docs/zh/intlayer_with_astro_preact.md +102 -68
  1454. package/docs/zh/intlayer_with_astro_react.md +104 -70
  1455. package/docs/zh/intlayer_with_astro_solid.md +104 -70
  1456. package/docs/zh/intlayer_with_astro_svelte.md +104 -70
  1457. package/docs/zh/intlayer_with_astro_vanilla.md +101 -69
  1458. package/docs/zh/intlayer_with_astro_vue.md +96 -62
  1459. package/docs/zh/intlayer_with_create_react_app.md +0 -305
  1460. package/docs/zh/intlayer_with_express.md +0 -23
  1461. package/docs/zh/intlayer_with_lynx+react.md +0 -275
  1462. package/docs/zh/intlayer_with_nestjs.md +0 -18
  1463. package/docs/zh/intlayer_with_nextjs_14.md +63 -25
  1464. package/docs/zh/intlayer_with_nextjs_15.md +64 -14
  1465. package/docs/zh/intlayer_with_nextjs_16.md +129 -87
  1466. package/docs/zh/intlayer_with_nextjs_compiler.md +152 -140
  1467. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1 -1
  1468. package/docs/zh/intlayer_with_nextjs_page_router.md +51 -15
  1469. package/docs/zh/intlayer_with_nuxt.md +0 -162
  1470. package/docs/zh/intlayer_with_react_native+expo.md +134 -151
  1471. package/docs/zh/intlayer_with_react_router_v7.md +1 -342
  1472. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -332
  1473. package/docs/zh/intlayer_with_storybook.md +0 -240
  1474. package/docs/zh/intlayer_with_svelte_kit.md +1 -549
  1475. package/docs/zh/intlayer_with_tanstack+solid.md +1 -646
  1476. package/docs/zh/intlayer_with_tanstack.md +1 -644
  1477. package/docs/zh/intlayer_with_vanilla.md +0 -283
  1478. package/docs/zh/intlayer_with_vite+lit.md +1 -411
  1479. package/docs/zh/intlayer_with_vite+preact.md +1 -241
  1480. package/docs/zh/intlayer_with_vite+react.md +2 -2
  1481. package/docs/zh/intlayer_with_vite+react_compiler.md +1 -192
  1482. package/docs/zh/intlayer_with_vite+solid.md +1 -306
  1483. package/docs/zh/intlayer_with_vite+svelte.md +104 -78
  1484. package/docs/zh/intlayer_with_vite+vanilla.md +1 -442
  1485. package/docs/zh/intlayer_with_vite+vue.md +95 -136
  1486. package/docs/zh/mcp_server.md +26 -0
  1487. package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
  1488. package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
  1489. package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
  1490. package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1491. package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
  1492. package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
  1493. package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
  1494. package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
  1495. package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
  1496. package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
  1497. package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
  1498. package/docs/zh/releases/v6.md +28 -0
  1499. package/docs/zh/releases/v7.md +128 -0
  1500. package/docs/zh/releases/v8.md +190 -0
  1501. package/docs/zh/releases/v9.md +37 -1
  1502. package/docs/zh/roadmap.md +6 -0
  1503. package/docs/zh/vs_code_extension.md +0 -7
  1504. package/frequent_questions/pt/translated_path_url.md +1 -1
  1505. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-09-09
3
- updatedAt: 2026-05-31
3
+ updatedAt: 2026-06-23
4
4
  title: "TanStack Start i18n - 翻译你的应用的完整指南"
5
5
  description: "告别 i18next。2026 年构建多语言 (i18n) TanStack Start 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
@@ -90,291 +90,6 @@ Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的
90
90
 
91
91
  ---
92
92
 
93
- ## 在 Tanstack Start 应用中设置 Intlayer 的分步指南
94
-
95
- <Tabs defaultTab="video">
96
- <Tab label="视频" value="video">
97
-
98
- <iframe title="Tanstack Start 的最佳 i18n 解决方案?发现 Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/_XTdKVWaeqg?autoplay=0&amp;origin=https://intlayer.org&amp;controls=0&amp;rel=1"/>
99
-
100
- </Tab>
101
- <Tab label="代码" value="code">
102
-
103
- <iframe
104
- src="https://ide.intlayer.org/aymericzip/intlayer-tanstack-start-template?file=intlayer.config.ts"
105
- className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
106
- title="演示 CodeSandbox - 如何使用 Intlayer 国际化您的应用程序"
107
- sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
108
- loading="lazy"
109
- />
110
-
111
- </Tab>
112
- <Tab label="演示" value="demo">
113
-
114
- <iframe
115
- src="https://intlayer-tanstack-start-template.vercel.app"
116
- className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
117
- title="演示 - intlayer-tanstack-start-template"
118
- sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
119
- loading="lazy"
120
- />
121
-
122
- </Tab>
123
- </Tabs>
124
-
125
- 在 GitHub 上查看[应用程序模板](https://github.com/aymericzip/intlayer-tanstack-start-template)。
126
-
127
- ### 第一步:创建项目
128
-
129
- 首先,按照 TanStack Start 网站上的[新建项目](https://tanstack.com/start/latest/docs/framework/react/quick-start)指南创建一个新的 TanStack Start 项目。
130
-
131
- ### 第二步:安装 Intlayer 包
132
-
133
- 使用您喜欢的包管理器安装所需的包:
134
-
135
- ```bash packageManager="npm"
136
- npx intlayer-cli init --interactive
137
- ```
138
-
139
- ```bash packageManager="pnpm"
140
- pnpm dlx intlayer-cli init --interactive
141
- ```
142
-
143
- ```bash packageManager="yarn"
144
- yarn dlx intlayer-cli init --interactive
145
- ```
146
-
147
- ```bash packageManager="bun"
148
- bunx intlayer-cli init --interactive
149
- ```
150
-
151
- > `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
152
-
153
- > 该命令将检测您的环境并安装所需的软件包。例如:
154
-
155
- ```bash packageManager="npm"
156
- npm install intlayer react-intlayer
157
- npm install vite-intlayer --save-dev
158
- ```
159
-
160
- ```bash packageManager="pnpm"
161
- pnpm add intlayer react-intlayer
162
- pnpm add vite-intlayer --save-dev
163
- ```
164
-
165
- ```bash packageManager="yarn"
166
- yarn add intlayer react-intlayer
167
- yarn add vite-intlayer --save-dev
168
- ```
169
-
170
- ```bash packageManager="bun"
171
- bun add intlayer react-intlayer
172
- bun add vite-intlayer --dev
173
- ```
174
-
175
- - **intlayer**
176
-
177
- 核心包,提供用于配置管理、翻译、[内容声明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md),转译以及[命令行工具](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/index.md)的国际化工具。
178
-
179
- - **react-intlayer**
180
- 将 Intlayer 集成到 React 应用中的包。它为 React 国际化提供上下文提供者和钩子。
181
-
182
- - **vite-intlayer**
183
- 包含用于将 Intlayer 集成到[Vite 打包器](https://vite.dev/guide/why.html#why-bundle-for-production)的 Vite 插件,以及用于检测用户首选语言、管理 Cookie 和处理 URL 重定向的中间件。
184
-
185
- ### 第三步:项目配置
186
-
187
- 创建一个配置文件来配置您的应用程序语言:
188
-
189
- ```typescript fileName="intlayer.config.ts"
190
- import type { IntlayerConfig } from "intlayer";
191
-
192
- import { Locales } from "intlayer";
193
-
194
- const config: IntlayerConfig = {
195
- internationalization: {
196
- defaultLocale: Locales.ENGLISH,
197
- locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
198
- },
199
- };
200
-
201
- export default config;
202
- ```
203
-
204
- > 通过此配置文件,您可以设置本地化 URL、中间件重定向、cookie 名称、内容声明的位置和扩展名、禁用控制台中的 Intlayer 日志等。有关可用参数的完整列表,请参阅[配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
205
-
206
- ### 第四步:在您的 Vite 配置中集成 Intlayer
207
-
208
- 将 intlayer 插件添加到您的配置中:
209
-
210
- ```typescript fileName="vite.config.ts"
211
- import { tanstackStart } from "@tanstack/react-start/plugin/vite";
212
- import viteReact from "@vitejs/plugin-react";
213
- import { nitro } from "nitro/vite";
214
- import { defineConfig } from "vite";
215
- import { intlayer } from "vite-intlayer";
216
-
217
- const config = defineConfig({
218
- plugins: [
219
- nitro(),
220
- intlayer(),
221
- tanstackStart({
222
- router: {
223
- routeFileIgnorePattern:
224
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
225
- },
226
- }),
227
- viteReact(),
228
- ],
229
- });
230
-
231
- export default config;
232
- ```
233
-
234
- > `intlayer()` Vite 插件用于将 Intlayer 集成到 Vite 中。它确保构建内容声明文件并在开发模式下监视它们。它在 Vite 应用中定义了 Intlayer 环境变量。此外,它还提供别名以优化性能。
235
-
236
- ### 第五步:创建根布局
237
-
238
- 配置您的根布局以支持国际化,使用 `useParams` 检测当前 locale 并在 `html` 标签上设置 `lang` 和 `dir` 属性。
239
-
240
- ```tsx fileName="src/routes/__root.tsx"
241
- import {
242
- createRootRouteWithContext,
243
- HeadContent,
244
- Scripts,
245
- } from "@tanstack/react-router";
246
- import { defaultLocale, getHTMLTextDir } from "intlayer";
247
- import { type ReactNode } from "react";
248
- import { IntlayerProvider } from "react-intlayer";
249
- import { Route as LocaleRoute } from "./{-$locale}/route";
250
-
251
- export const Route = createRootRouteWithContext<{}>()({
252
- head: () => ({
253
- meta: [
254
- {
255
- charSet: "utf-8",
256
- },
257
- {
258
- content: "width=device-width, initial-scale=1",
259
- name: "viewport",
260
- },
261
- {
262
- title: "TanStack Start Starter",
263
- },
264
- ],
265
- }),
266
-
267
- shellComponent: RootDocument,
268
- });
269
-
270
- function RootDocument({ children }: { children: ReactNode }) {
271
- const params = LocaleRoute.useParams();
272
- const locale = params?.locale ?? defaultLocale;
273
-
274
- return (
275
- <html dir={getHTMLTextDir(locale)} lang={locale}>
276
- <head>
277
- <HeadContent />
278
- </head>
279
- <body>
280
- <IntlayerProvider locale={locale}>{children}</IntlayerProvider>
281
- <Scripts />
282
- </body>
283
- </html>
284
- );
285
- }
286
- ```
287
-
288
- > 如果您想在字符串属性中使用内容,比如 `alt`、`title`、`href`、`aria-label` 等,可以使用函数的值,例如:
289
-
290
- > ```html
291
- > <img src="{content.image.src.value}" alt="{content.image.value}" />
292
- > <img src="{content.image.src.toString()}" alt="{content.image.toString()}" />
293
- > <img src="{String(content.image.src)}" alt="{String(content.image)}" />
294
- > ```
295
-
296
- ### 第六步:创建 Locale 布局
297
-
298
- 创建一个处理 locale 前缀并执行验证的布局。
299
-
300
- ```tsx fileName="src/routes/{-$locale}/route.tsx"
301
- import { createFileRoute, Outlet, redirect } from "@tanstack/react-router";
302
- import { validatePrefix } from "intlayer";
303
-
304
- export const Route = createFileRoute("/{-$locale}")({
305
- beforeLoad: ({ params }) => {
306
- const localeParam = params.locale;
307
-
308
- // 验证 locale 前缀
309
- const { isValid, localePrefix } = validatePrefix(localeParam);
310
-
311
- if (!isValid) {
312
- throw redirect({
313
- to: "/{-$locale}/404",
314
- params: { locale: localePrefix },
315
- });
316
- }
317
- },
318
- component: Outlet,
319
- });
320
- ```
321
-
322
- > 这里,`{-$locale}` 是一个动态路由参数,会被当前 locale 替换。此表示法使插槽可选,允许它与 `'prefix-no-default'` 等路由模式一起工作。
323
-
324
- > 请注意,如果您在同一路由中使用多个动态段(例如,`/{-$locale}/other-path/$anotherDynamicPath/...`),此插槽可能会导致问题。
325
- > 对于 `'prefix-all'` 模式,您可能更喜欢将插槽切换为 `$locale`。
326
- > 对于 `'no-prefix'` 或 `'search-params'` 模式,您可以完全删除插槽。
327
-
328
- ### 第七步:声明您的内容
329
-
330
- 创建并管理您的内容声明以存储翻译:
331
-
332
- ```tsx fileName="src/contents/page.content.ts"
333
- import type { Dictionary } from "intlayer";
334
-
335
- import { t } from "intlayer";
336
-
337
- const appContent = {
338
- content: {
339
- links: {
340
- about: t({
341
- zh: "关于",
342
- en: "About",
343
- es: "Acerca de",
344
- fr: "À propos",
345
- }),
346
- home: t({
347
- zh: "首页",
348
- en: "Home",
349
- es: "Inicio",
350
- fr: "Accueil",
351
- }),
352
- },
353
- meta: {
354
- title: t({
355
- zh: "欢迎使用 Intlayer + TanStack Router",
356
- en: "Welcome to Intlayer + TanStack Router",
357
- es: "Bienvenido a Intlayer + TanStack Router",
358
- fr: "Bienvenue à Intlayer + TanStack Router",
359
- }),
360
- description: t({
361
- zh: "这是一个使用 Intlayer 和 TanStack Router 的示例",
362
- en: "This is an example of using Intlayer with TanStack Router",
363
- es: "Este es un ejemplo de uso de Intlayer con TanStack Router",
364
- fr: "Ceci est un exemple d'utilisation d'Intlayer avec TanStack Router",
365
- }),
366
- },
367
- },
368
- key: "app",
369
- } satisfies Dictionary;
370
-
371
- export default appContent;
372
- ```
373
-
374
- > 您的内容声明可以在应用程序中的任何位置定义,只要它们被包含在 `contentDir` 目录中(默认是 `./app`)。并且文件扩展名需匹配内容声明文件扩展名(默认是 `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)。
375
-
376
- > 更多详情,请参阅[内容声明文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
377
-
378
93
  ### 第八步:创建支持多语言的组件和钩子
379
94
 
380
95
  创建一个用于多语言导航的 `LocalizedLink` 组件:
@@ -479,54 +194,6 @@ export const useLocalizedNavigate = () => {
479
194
  };
480
195
  ```
481
196
 
482
- ### 第九步:在您的页面中使用 Intlayer
483
-
484
- 在整个应用程序中访问您的内容字典:
485
-
486
- #### 本地化首页
487
-
488
- ```tsx fileName="src/routes/{-$locale}/index.tsx"
489
- import { createFileRoute } from "@tanstack/react-router";
490
- import { getIntlayer } from "intlayer";
491
- import { useIntlayer } from "react-intlayer";
492
-
493
- import LocaleSwitcher from "@/components/locale-switcher";
494
- import { LocalizedLink } from "@/components/localized-link";
495
- import { useLocalizedNavigate } from "@/hooks/useLocalizedNavigate";
496
-
497
- export const Route = createFileRoute("/{-$locale}/")({
498
- component: RouteComponent,
499
- });
500
-
501
- function RouteComponent() {
502
- const content = useIntlayer("app");
503
- const navigate = useLocalizedNavigate();
504
-
505
- return (
506
- <div>
507
- <div>
508
- {content.title}
509
- <LocaleSwitcher />
510
- <div>
511
- <LocalizedLink to="/">{content.links.home}</LocalizedLink>
512
- <LocalizedLink to="/about">{content.links.about}</LocalizedLink>
513
- </div>
514
- <div>
515
- <button onClick={() => navigate({ to: "/" })}>
516
- {content.links.home}
517
- </button>
518
- <button onClick={() => navigate({ to: "/about" })}>
519
- {content.links.about}
520
- </button>
521
- </div>
522
- </div>
523
- </div>
524
- );
525
- }
526
- ```
527
-
528
- > 要了解更多关于 `useIntlayer` 钩子的内容,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)。
529
-
530
197
  ### 第十步:创建语言切换组件
531
198
 
532
199
  创建一个组件,允许用户切换语言:
@@ -588,298 +255,6 @@ export const LocaleSwitcher: FC = () => {
588
255
 
589
256
  > 要了解有关 `useLocale` 钩子的更多信息,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
590
257
 
591
- ### 第十一步:HTML 属性管理
592
-
593
- 如第5步所示,您可以在根组件中使用 `useParams` 管理 `html` 标签的 `lang` 和 `dir` 属性。这确保在服务器和客户端上正确设置属性。
594
-
595
- ```tsx fileName="src/routes/__root.tsx"
596
- function RootDocument({ children }: { children: ReactNode }) {
597
- const params = LocaleRoute.useParams();
598
- const locale = params?.locale ?? defaultLocale;
599
-
600
- return (
601
- <html dir={getHTMLTextDir(locale)} lang={locale}>
602
- {/* ... */}
603
- </html>
604
- );
605
- }
606
- ```
607
-
608
- ---
609
-
610
- ### 第十二步:添加中间件(可选)
611
-
612
- 您还可以使用 `intlayerProxy` 为您的应用程序添加服务器端路由。该插件将根据 URL 自动检测当前语言环境,并设置相应的语言环境 Cookie。如果未指定语言环境,插件将根据用户浏览器的语言偏好确定最合适的语言环境。如果未检测到语言环境,它将重定向到默认语言环境。
613
-
614
- > 注意,要在生产环境中使用 `intlayerProxy`,您需要将 `vite-intlayer` 包从 `devDependencies` 切换到 `dependencies`。
615
-
616
- ```typescript {7,14-17} fileName="vite.config.ts"
617
- import { tanstackStart } from "@tanstack/react-start/plugin/vite";
618
- import viteReact from "@vitejs/plugin-react";
619
- import { nitro } from "nitro/vite";
620
- import { defineConfig } from "vite";
621
- import { intlayer, intlayerProxy } from "vite-intlayer";
622
-
623
- export default defineConfig({
624
- plugins: [
625
- intlayerProxy(), // 如果使用 Nitro,代理应放在服务器之前
626
- nitro(),
627
- intlayer(),
628
- tanstackStart({
629
- router: {
630
- routeFileIgnorePattern:
631
- ".content.(ts|tsx|js|mjs|cjs|jsx|json|jsonc|json5)$",
632
- },
633
- }),
634
- viteReact(),
635
- ],
636
- });
637
- ```
638
-
639
- ---
640
-
641
- ### 第十二步:国际化您的元数据(可选)
642
-
643
- 您还可以使用 `getIntlayer` 钩子在整个应用程序中访问您的内容字典:
644
-
645
- ```tsx fileName="src/routes/{-$locale}/index.tsx"
646
- import { createFileRoute } from "@tanstack/react-router";
647
- import { getIntlayer } from "intlayer";
648
-
649
- export const Route = createFileRoute("/{-$locale}/")({
650
- component: RouteComponent,
651
- head: ({ params }) => {
652
- const { locale } = params;
653
- const path = "/"; // The path for this route
654
-
655
- const metaContent = getIntlayer("app", locale);
656
-
657
- return {
658
- links: [
659
- // Canonical link: Points to the current localized page
660
- { rel: "canonical", href: getLocalizedUrl(path, locale) },
661
-
662
- // Hreflang: Tell Google about all localized versions
663
- ...localeMap(({ locale: mapLocale }) => ({
664
- rel: "alternate",
665
- hrefLang: mapLocale,
666
- href: getLocalizedUrl(path, mapLocale),
667
- })),
668
-
669
- // x-default: For users in unmatched languages
670
- // Define the default fallback locale (usually your primary language)
671
- {
672
- rel: "alternate",
673
- hrefLang: "x-default",
674
- href: getLocalizedUrl(path, defaultLocale),
675
- },
676
- ],
677
- meta: [
678
- { title: metaContent.title },
679
- { name: "description", content: metaContent.meta.description },
680
- ],
681
- };
682
- },
683
- });
684
- ```
685
-
686
- ---
687
-
688
- ### 第十三步:在您的 server actions 中获取 locale(可选)
689
-
690
- 您可能希望从 server actions 或 API 端点内部访问当前 locale。
691
- 您可以使用 `intlayer` 中的 `getLocale` 辅助函数来实现这一点。
692
-
693
- 以下是使用 TanStack Start 的 server functions 的示例:
694
-
695
- ```tsx fileName="src/routes/{-$locale}/index.tsx"
696
- import { createServerFn } from "@tanstack/react-start";
697
- import {
698
- getRequestHeader,
699
- getRequestHeaders,
700
- } from "@tanstack/react-start/server";
701
- import { getCookie, getIntlayer, getLocale } from "intlayer";
702
-
703
- export const getLocaleServer = createServerFn().handler(async () => {
704
- const locale = await getLocale({
705
- // 从请求中获取 cookie(默认:'INTLAYER_LOCALE')
706
- getCookie: (name) => {
707
- const cookieString = getRequestHeader("cookie");
708
-
709
- return getCookie(name, cookieString);
710
- },
711
- // 从请求中获取 header(默认:'x-intlayer-locale')
712
- // 使用 Accept-Language 协商作为后备
713
- getHeader: (name) => getRequestHeader(name),
714
- });
715
-
716
- // 使用 getIntlayer() 检索一些内容
717
- const content = getIntlayer("app", locale);
718
-
719
- return { locale, content };
720
- });
721
- ```
722
-
723
- ---
724
-
725
- ### 第十四步:管理未找到的页面(可选)
726
-
727
- 当用户访问不存在的页面时,您可以显示自定义的未找到页面,并且区域设置前缀可能会影响未找到页面的触发方式。
728
-
729
- #### 了解 TanStack Router 使用区域设置前缀的 404 处理
730
-
731
- 在 TanStack Router 中,使用本地化路由处理 404 页面需要采用多层方法:
732
-
733
- 1. **专用 404 路由**:用于显示 404 UI 的特定路由
734
- 2. **路由级验证**:验证区域设置前缀并将无效的前缀重定向到 404
735
- 3. **捕获所有路由**:捕获区域设置段内任何不匹配的路径
736
-
737
- ```tsx fileName="src/routes/{-$locale}/404.tsx"
738
- import { createFileRoute } from "@tanstack/react-router";
739
-
740
- // 这将创建一个专用的 /[locale]/404 路由
741
- // 它既作为直接路由使用,也可以在其他文件中作为组件导入
742
- export const Route = createFileRoute("/{-$locale}/404")({
743
- component: NotFoundComponent,
744
- });
745
-
746
- // 单独导出,以便可以在 notFoundComponent 和 catch-all 路由中重用
747
- export function NotFoundComponent() {
748
- return (
749
- <div>
750
- <h1>404</h1>
751
- </div>
752
- );
753
- }
754
- ```
755
-
756
- ```tsx fileName="src/routes/{-$locale}/route.tsx"
757
- import { createFileRoute, Outlet, redirect } from "@tanstack/react-router";
758
- import { validatePrefix } from "intlayer";
759
- import { NotFoundComponent } from "./404";
760
-
761
- export const Route = createFileRoute("/{-$locale}")({
762
- // beforeLoad 在路由渲染之前运行(在服务器和客户端上)
763
- // 这是验证 locale 前缀的理想位置
764
- beforeLoad: ({ params }) => {
765
- const localeParam = params.locale;
766
-
767
- // validatePrefix 检查 locale 是否根据您的 intlayer 配置有效
768
- const { isValid, localePrefix } = validatePrefix(localeParam);
769
-
770
- if (!isValid) {
771
- // 无效的 locale 前缀 - 重定向到具有有效 locale 前缀的 404 页面
772
- throw redirect({
773
- to: "/{-$locale}/404",
774
- params: { locale: localePrefix },
775
- });
776
- }
777
- },
778
- component: Outlet,
779
- // notFoundComponent 在子路由不存在时被调用
780
- // 例如,/en/不存在的页面 在 /en 布局内触发此操作
781
- notFoundComponent: NotFoundComponent,
782
- });
783
- ```
784
-
785
- ```tsx fileName="src/routes/{-$locale}/$.tsx"
786
- import { createFileRoute } from "@tanstack/react-router";
787
-
788
- import { NotFoundComponent } from "./404";
789
-
790
- // $ (splat/catch-all) 路由匹配任何与其他路由不匹配的路径
791
- // 例如,/en/某个/深度/嵌套/无效/路径
792
- // 这确保区域设置内所有不匹配的路径都显示 404 页面
793
- // 没有这个,不匹配的深层路径可能会显示空白页面或错误
794
- export const Route = createFileRoute("/{-$locale}/$")({
795
- component: NotFoundComponent,
796
- });
797
- ```
798
-
799
- ---
800
-
801
- ### 第十五步:提取组件中的内容(可选)
802
-
803
- 如果您有现有的代码库,转换数千个文件可能会非常耗时。
804
-
805
- 为了简化此过程,Intlayer 提供了 [编译器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/compiler.md) / [提取器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/cli/extract.md) 来转换您的组件并提取内容。
806
-
807
- 要进行设置,您可以在 `intlayer.config.ts` 文件中添加 `compiler` 部分:
808
-
809
- ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
810
- import { type IntlayerConfig } from "intlayer";
811
-
812
- const config: IntlayerConfig = {
813
- // ... 您的其他配置
814
- compiler: {
815
- /**
816
- * 指示是否应启用编译器。
817
- */
818
- enabled: true,
819
-
820
- /**
821
- * 定义输出文件路径
822
- */
823
- output: ({ fileName, extension }) => `./${fileName}${extension}`,
824
-
825
- /**
826
- * 指示在转换后是否应保存组件。这样,编译器只需运行一次即可转换应用程序,然后即可将其删除。
827
- */
828
- saveComponents: false,
829
-
830
- /**
831
- * 字典键前缀
832
- */
833
- dictionaryKeyPrefix: "",
834
- },
835
- };
836
-
837
- export default config;
838
- ```
839
-
840
- <Tabs>
841
- <Tab value='提取命令'>
842
-
843
- 运行提取器以转换组件并提取内容
844
-
845
- ```bash packageManager="npm"
846
- npx intlayer extract
847
- ```
848
-
849
- ```bash packageManager="pnpm"
850
- pnpm intlayer extract
851
- ```
852
-
853
- ```bash packageManager="yarn"
854
- yarn intlayer extract
855
- ```
856
-
857
- ```bash packageManager="bun"
858
- bun x intlayer extract
859
- ```
860
-
861
- </Tab>
862
- <Tab value='Babel 编译器'>
863
-
864
- 更新您的 `vite.config.ts` 以包含 `intlayerCompiler` 插件:
865
-
866
- ```ts fileName="vite.config.ts"
867
- import { defineConfig } from "vite";
868
- import { intlayer, intlayerCompiler } from "vite-intlayer";
869
-
870
- export default defineConfig({
871
- plugins: [
872
- intlayer(),
873
- intlayerCompiler(), // 添加编译器插件
874
- ],
875
- });
876
- ```
877
-
878
- </Tab>
879
- </Tabs>
880
-
881
- ---
882
-
883
258
  ### 第十六步:生成站点地图 (Sitemap)(可选)
884
259
 
885
260
  Intlayer 附带一个内置的站点地图生成器,可帮助您轻松为应用程序创建站点地图。它能够处理本地化路由,并为搜索引擎添加必要的元数据。
@@ -955,24 +330,6 @@ export const Route = createFileRoute("/sitemap.xml")({
955
330
 
956
331
  ---
957
332
 
958
- ### 第十七步:TypeScript 配置 (可选)
959
-
960
- Intlayer 通过模块扩充来利用 TypeScript 的优势,增强您的代码库。
961
-
962
- 确保自动生成的类型已包含在您的 TypeScript 配置中。
963
-
964
- ```json5 fileName="tsconfig.json"
965
- {
966
- // ... 现有配置
967
- include: [
968
- // ... 现有包含
969
- ".intlayer/**/*.ts", // 包含自动生成的类型
970
- ],
971
- }
972
- ```
973
-
974
- ---
975
-
976
333
  ### Git 配置
977
334
 
978
335
  建议忽略 Intlayer 生成的文件。这样可以避免将它们提交到您的 Git 仓库中。