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

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 (1487) 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 +36 -0
  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/releases/v6.md +28 -0
  200. package/docs/ar/releases/v7.md +128 -0
  201. package/docs/ar/releases/v9.md +37 -1
  202. package/docs/ar/roadmap.md +6 -0
  203. package/docs/de/CI_CD.md +4 -0
  204. package/docs/de/autoFill.md +81 -0
  205. package/docs/de/benchmark/solid.md +22 -0
  206. package/docs/de/benchmark/svelte.md +22 -0
  207. package/docs/de/benchmark/tanstack.md +22 -0
  208. package/docs/de/cli/ci.md +22 -0
  209. package/docs/de/cli/fill.md +8 -0
  210. package/docs/de/cli/init.md +20 -0
  211. package/docs/de/compat/i18n-js.md +44 -0
  212. package/docs/de/compat/i18next.md +59 -0
  213. package/docs/de/compat/index.md +51 -0
  214. package/docs/de/compat/lingui.md +44 -0
  215. package/docs/de/compat/next-i18next.md +57 -0
  216. package/docs/de/compat/next-intl.md +59 -0
  217. package/docs/de/compat/next-translate.md +45 -0
  218. package/docs/de/compat/ngx-translate.md +45 -0
  219. package/docs/de/compat/nuxtjs-i18n.md +46 -0
  220. package/docs/de/compat/polyglot.md +45 -0
  221. package/docs/de/compat/react-i18next.md +58 -0
  222. package/docs/de/compat/react-intl.md +55 -0
  223. package/docs/de/compat/svelte-i18n.md +47 -0
  224. package/docs/de/compat/transloco.md +45 -0
  225. package/docs/de/compat/vue-i18n.md +58 -0
  226. package/docs/de/compiler.md +3 -1
  227. package/docs/de/configuration.md +19 -17
  228. package/docs/de/custom_domains.md +1 -1
  229. package/docs/de/custom_url_rewrites.md +1 -1
  230. package/docs/de/dictionary/content_file.md +4 -0
  231. package/docs/de/dictionary/enumeration.md +0 -199
  232. package/docs/de/dictionary/file.md +8 -0
  233. package/docs/de/dictionary/insertion.md +0 -4
  234. package/docs/de/dictionary/nesting.md +39 -0
  235. package/docs/de/dictionary/translation.md +0 -61
  236. package/docs/de/dynamic_dictionaries/index.md +6 -0
  237. package/docs/de/formatters.md +130 -0
  238. package/docs/de/how_works_intlayer.md +4 -0
  239. package/docs/de/intlayer_CMS.md +6 -0
  240. package/docs/de/intlayer_with_astro.md +129 -2
  241. package/docs/de/intlayer_with_astro_lit.md +1 -1
  242. package/docs/de/intlayer_with_astro_preact.md +1 -1
  243. package/docs/de/intlayer_with_astro_react.md +1 -1
  244. package/docs/de/intlayer_with_astro_solid.md +1 -1
  245. package/docs/de/intlayer_with_astro_svelte.md +1 -1
  246. package/docs/de/intlayer_with_astro_vanilla.md +1 -1
  247. package/docs/de/intlayer_with_astro_vue.md +1 -1
  248. package/docs/de/intlayer_with_create_react_app.md +15 -0
  249. package/docs/de/intlayer_with_express.md +0 -23
  250. package/docs/de/intlayer_with_lynx+react.md +4 -2
  251. package/docs/de/intlayer_with_nestjs.md +0 -8
  252. package/docs/de/intlayer_with_nextjs_14.md +28 -7
  253. package/docs/de/intlayer_with_nextjs_15.md +21 -1
  254. package/docs/de/intlayer_with_nextjs_16.md +1 -1
  255. package/docs/de/intlayer_with_nextjs_compiler.md +49 -1
  256. package/docs/de/intlayer_with_nextjs_no_locale_path.md +1 -1
  257. package/docs/de/intlayer_with_nextjs_page_router.md +5 -1
  258. package/docs/de/intlayer_with_react_native+expo.md +36 -0
  259. package/docs/de/intlayer_with_react_router_v7.md +1 -95
  260. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -91
  261. package/docs/de/intlayer_with_svelte_kit.md +1 -207
  262. package/docs/de/intlayer_with_tanstack+solid.md +3 -1
  263. package/docs/de/intlayer_with_tanstack.md +1 -1
  264. package/docs/de/intlayer_with_vite+lit.md +1 -1
  265. package/docs/de/intlayer_with_vite+preact.md +61 -57
  266. package/docs/de/intlayer_with_vite+react.md +1 -1
  267. package/docs/de/intlayer_with_vite+react_compiler.md +1 -1
  268. package/docs/de/intlayer_with_vite+solid.md +33 -42
  269. package/docs/de/intlayer_with_vite+svelte.md +27 -29
  270. package/docs/de/intlayer_with_vite+vanilla.md +1 -1
  271. package/docs/de/intlayer_with_vite+vue.md +54 -102
  272. package/docs/de/mcp_server.md +22 -0
  273. package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
  274. package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
  275. package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
  276. package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
  277. package/docs/de/releases/v6.md +10 -6
  278. package/docs/de/releases/v7.md +128 -0
  279. package/docs/de/releases/v9.md +37 -1
  280. package/docs/de/roadmap.md +6 -16
  281. package/docs/en/bundle_optimization.md +8 -3
  282. package/docs/en/compiler.md +12 -6
  283. package/docs/en/configuration.md +22 -8
  284. package/docs/en/custom_domains.md +2 -0
  285. package/docs/en/custom_url_rewrites.md +2 -0
  286. package/docs/en/intlayer_with_astro.md +2 -0
  287. package/docs/en/intlayer_with_astro_lit.md +2 -0
  288. package/docs/en/intlayer_with_astro_preact.md +2 -0
  289. package/docs/en/intlayer_with_astro_react.md +2 -0
  290. package/docs/en/intlayer_with_astro_solid.md +2 -0
  291. package/docs/en/intlayer_with_astro_svelte.md +2 -0
  292. package/docs/en/intlayer_with_astro_vanilla.md +2 -0
  293. package/docs/en/intlayer_with_astro_vue.md +2 -0
  294. package/docs/en/intlayer_with_nextjs_14.md +2 -0
  295. package/docs/en/intlayer_with_nextjs_15.md +2 -0
  296. package/docs/en/intlayer_with_nextjs_16.md +2 -0
  297. package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
  298. package/docs/en/intlayer_with_nextjs_no_locale_path.md +2 -0
  299. package/docs/en/intlayer_with_nextjs_page_router.md +2 -0
  300. package/docs/en/intlayer_with_react_native+expo.md +8 -0
  301. package/docs/en/intlayer_with_react_router_v7.md +2 -0
  302. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +2 -0
  303. package/docs/en/intlayer_with_svelte_kit.md +4 -0
  304. package/docs/en/intlayer_with_tanstack+solid.md +2 -0
  305. package/docs/en/intlayer_with_tanstack.md +2 -0
  306. package/docs/en/intlayer_with_vite+lit.md +2 -0
  307. package/docs/en/intlayer_with_vite+preact.md +2 -0
  308. package/docs/en/intlayer_with_vite+react.md +2 -0
  309. package/docs/en/intlayer_with_vite+react_compiler.md +2 -0
  310. package/docs/en/intlayer_with_vite+solid.md +2 -0
  311. package/docs/en/intlayer_with_vite+svelte.md +2 -0
  312. package/docs/en/intlayer_with_vite+vanilla.md +4 -0
  313. package/docs/en/intlayer_with_vite+vue.md +2 -0
  314. package/docs/en/releases/v9.md +38 -1
  315. package/docs/en-GB/CI_CD.md +4 -0
  316. package/docs/en-GB/autoFill.md +81 -0
  317. package/docs/en-GB/benchmark/solid.md +22 -0
  318. package/docs/en-GB/benchmark/svelte.md +22 -0
  319. package/docs/en-GB/benchmark/tanstack.md +22 -0
  320. package/docs/en-GB/cli/ci.md +22 -0
  321. package/docs/en-GB/cli/fill.md +8 -0
  322. package/docs/en-GB/cli/login.md +0 -36
  323. package/docs/en-GB/cli/test.md +0 -36
  324. package/docs/en-GB/compat/i18n-js.md +44 -0
  325. package/docs/en-GB/compat/i18next.md +59 -0
  326. package/docs/en-GB/compat/index.md +51 -0
  327. package/docs/en-GB/compat/lingui.md +44 -0
  328. package/docs/en-GB/compat/next-i18next.md +57 -0
  329. package/docs/en-GB/compat/next-intl.md +59 -0
  330. package/docs/en-GB/compat/next-translate.md +45 -0
  331. package/docs/en-GB/compat/ngx-translate.md +45 -0
  332. package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
  333. package/docs/en-GB/compat/polyglot.md +45 -0
  334. package/docs/en-GB/compat/react-i18next.md +58 -0
  335. package/docs/en-GB/compat/react-intl.md +55 -0
  336. package/docs/en-GB/compat/svelte-i18n.md +47 -0
  337. package/docs/en-GB/compat/transloco.md +45 -0
  338. package/docs/en-GB/compat/vue-i18n.md +58 -0
  339. package/docs/en-GB/compiler.md +3 -1
  340. package/docs/en-GB/configuration.md +4 -1
  341. package/docs/en-GB/custom_domains.md +1 -1
  342. package/docs/en-GB/custom_url_rewrites.md +1 -1
  343. package/docs/en-GB/dictionary/content_file.md +4 -7
  344. package/docs/en-GB/dictionary/file.md +8 -0
  345. package/docs/en-GB/dictionary/function_fetching.md +0 -4
  346. package/docs/en-GB/dictionary/nesting.md +8 -0
  347. package/docs/en-GB/dictionary/translation.md +0 -61
  348. package/docs/en-GB/formatters.md +59 -0
  349. package/docs/en-GB/how_works_intlayer.md +4 -16
  350. package/docs/en-GB/intlayer_CMS.md +6 -0
  351. package/docs/en-GB/intlayer_with_astro.md +129 -2
  352. package/docs/en-GB/intlayer_with_astro_lit.md +1 -1
  353. package/docs/en-GB/intlayer_with_astro_preact.md +1 -1
  354. package/docs/en-GB/intlayer_with_astro_react.md +1 -1
  355. package/docs/en-GB/intlayer_with_astro_solid.md +1 -1
  356. package/docs/en-GB/intlayer_with_astro_svelte.md +1 -1
  357. package/docs/en-GB/intlayer_with_astro_vanilla.md +1 -1
  358. package/docs/en-GB/intlayer_with_astro_vue.md +1 -1
  359. package/docs/en-GB/intlayer_with_create_react_app.md +0 -46
  360. package/docs/en-GB/intlayer_with_express.md +0 -23
  361. package/docs/en-GB/intlayer_with_nestjs.md +0 -8
  362. package/docs/en-GB/intlayer_with_nextjs_14.md +13 -5
  363. package/docs/en-GB/intlayer_with_nextjs_15.md +23 -1
  364. package/docs/en-GB/intlayer_with_nextjs_16.md +3 -1
  365. package/docs/en-GB/intlayer_with_nextjs_compiler.md +3 -1
  366. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +3 -1
  367. package/docs/en-GB/intlayer_with_nextjs_page_router.md +5 -1
  368. package/docs/en-GB/intlayer_with_react_native+expo.md +36 -0
  369. package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
  370. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +20 -1
  371. package/docs/en-GB/intlayer_with_svelte_kit.md +1 -207
  372. package/docs/en-GB/intlayer_with_tanstack+solid.md +3 -1
  373. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  374. package/docs/en-GB/intlayer_with_vite+lit.md +1 -1
  375. package/docs/en-GB/intlayer_with_vite+preact.md +5 -1
  376. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  377. package/docs/en-GB/intlayer_with_vite+react_compiler.md +1 -1
  378. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  379. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  380. package/docs/en-GB/intlayer_with_vite+vanilla.md +1 -1
  381. package/docs/en-GB/intlayer_with_vite+vue.md +9 -180
  382. package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
  383. package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
  384. package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
  385. package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  386. package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
  387. package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
  388. package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
  389. package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
  390. package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
  391. package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
  392. package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
  393. package/docs/en-GB/plugins/sync-json.md +0 -59
  394. package/docs/en-GB/releases/v6.md +10 -6
  395. package/docs/en-GB/releases/v7.md +128 -0
  396. package/docs/en-GB/releases/v8.md +190 -0
  397. package/docs/en-GB/releases/v9.md +37 -1
  398. package/docs/en-GB/roadmap.md +6 -0
  399. package/docs/es/CI_CD.md +4 -0
  400. package/docs/es/autoFill.md +81 -0
  401. package/docs/es/benchmark/solid.md +22 -0
  402. package/docs/es/benchmark/svelte.md +22 -0
  403. package/docs/es/benchmark/tanstack.md +22 -0
  404. package/docs/es/cli/ci.md +22 -0
  405. package/docs/es/cli/fill.md +8 -0
  406. package/docs/es/cli/login.md +0 -36
  407. package/docs/es/compat/i18n-js.md +44 -0
  408. package/docs/es/compat/i18next.md +59 -0
  409. package/docs/es/compat/index.md +51 -0
  410. package/docs/es/compat/lingui.md +44 -0
  411. package/docs/es/compat/next-i18next.md +57 -0
  412. package/docs/es/compat/next-intl.md +61 -0
  413. package/docs/es/compat/next-translate.md +45 -0
  414. package/docs/es/compat/ngx-translate.md +45 -0
  415. package/docs/es/compat/nuxtjs-i18n.md +46 -0
  416. package/docs/es/compat/polyglot.md +45 -0
  417. package/docs/es/compat/react-i18next.md +58 -0
  418. package/docs/es/compat/react-intl.md +55 -0
  419. package/docs/es/compat/svelte-i18n.md +47 -0
  420. package/docs/es/compat/transloco.md +45 -0
  421. package/docs/es/compat/vue-i18n.md +58 -0
  422. package/docs/es/compiler.md +3 -1
  423. package/docs/es/configuration.md +19 -17
  424. package/docs/es/custom_domains.md +1 -1
  425. package/docs/es/custom_url_rewrites.md +1 -1
  426. package/docs/es/dictionary/content_file.md +4 -0
  427. package/docs/es/dictionary/file.md +8 -0
  428. package/docs/es/dictionary/nesting.md +39 -0
  429. package/docs/es/dictionary/translation.md +0 -61
  430. package/docs/es/formatters.md +82 -0
  431. package/docs/es/how_works_intlayer.md +4 -4
  432. package/docs/es/intlayer_CMS.md +21 -0
  433. package/docs/es/intlayer_visual_editor.md +0 -23
  434. package/docs/es/intlayer_with_astro.md +129 -2
  435. package/docs/es/intlayer_with_astro_lit.md +1 -1
  436. package/docs/es/intlayer_with_astro_preact.md +1 -1
  437. package/docs/es/intlayer_with_astro_react.md +1 -1
  438. package/docs/es/intlayer_with_astro_solid.md +1 -1
  439. package/docs/es/intlayer_with_astro_svelte.md +1 -1
  440. package/docs/es/intlayer_with_astro_vanilla.md +1 -1
  441. package/docs/es/intlayer_with_astro_vue.md +1 -1
  442. package/docs/es/intlayer_with_express.md +0 -4
  443. package/docs/es/intlayer_with_nestjs.md +0 -18
  444. package/docs/es/intlayer_with_nextjs_14.md +10 -4
  445. package/docs/es/intlayer_with_nextjs_15.md +21 -1
  446. package/docs/es/intlayer_with_nextjs_16.md +1 -1
  447. package/docs/es/intlayer_with_nextjs_compiler.md +1 -1
  448. package/docs/es/intlayer_with_nextjs_no_locale_path.md +1 -1
  449. package/docs/es/intlayer_with_nextjs_page_router.md +5 -1
  450. package/docs/es/intlayer_with_react_native+expo.md +36 -0
  451. package/docs/es/intlayer_with_react_router_v7.md +1 -95
  452. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
  453. package/docs/es/intlayer_with_svelte_kit.md +1 -207
  454. package/docs/es/intlayer_with_tanstack+solid.md +3 -1
  455. package/docs/es/intlayer_with_tanstack.md +1 -1
  456. package/docs/es/intlayer_with_vite+lit.md +1 -1
  457. package/docs/es/intlayer_with_vite+preact.md +5 -1
  458. package/docs/es/intlayer_with_vite+react.md +1 -1
  459. package/docs/es/intlayer_with_vite+react_compiler.md +1 -1
  460. package/docs/es/intlayer_with_vite+solid.md +1 -1
  461. package/docs/es/intlayer_with_vite+svelte.md +1 -1
  462. package/docs/es/intlayer_with_vite+vanilla.md +1 -1
  463. package/docs/es/intlayer_with_vite+vue.md +18 -86
  464. package/docs/es/packages/express-intlayer/t.md +0 -9
  465. package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
  466. package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
  467. package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
  468. package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
  469. package/docs/es/releases/v6.md +28 -0
  470. package/docs/es/releases/v7.md +128 -0
  471. package/docs/es/releases/v9.md +37 -1
  472. package/docs/es/roadmap.md +6 -0
  473. package/docs/fr/CI_CD.md +4 -0
  474. package/docs/fr/autoFill.md +81 -0
  475. package/docs/fr/benchmark/solid.md +22 -0
  476. package/docs/fr/benchmark/svelte.md +22 -0
  477. package/docs/fr/benchmark/tanstack.md +22 -0
  478. package/docs/fr/cli/ci.md +22 -0
  479. package/docs/fr/cli/fill.md +8 -0
  480. package/docs/fr/cli/login.md +0 -36
  481. package/docs/fr/compat/i18n-js.md +44 -0
  482. package/docs/fr/compat/i18next.md +59 -0
  483. package/docs/fr/compat/index.md +51 -0
  484. package/docs/fr/compat/lingui.md +44 -0
  485. package/docs/fr/compat/next-i18next.md +57 -0
  486. package/docs/fr/compat/next-intl.md +59 -0
  487. package/docs/fr/compat/next-translate.md +45 -0
  488. package/docs/fr/compat/ngx-translate.md +45 -0
  489. package/docs/fr/compat/nuxtjs-i18n.md +46 -0
  490. package/docs/fr/compat/polyglot.md +45 -0
  491. package/docs/fr/compat/react-i18next.md +58 -0
  492. package/docs/fr/compat/react-intl.md +55 -0
  493. package/docs/fr/compat/svelte-i18n.md +47 -0
  494. package/docs/fr/compat/transloco.md +45 -0
  495. package/docs/fr/compat/vue-i18n.md +58 -0
  496. package/docs/fr/compiler.md +3 -1
  497. package/docs/fr/configuration.md +20 -17
  498. package/docs/fr/custom_domains.md +1 -1
  499. package/docs/fr/custom_url_rewrites.md +14 -14
  500. package/docs/fr/dictionary/content_file.md +4 -0
  501. package/docs/fr/dictionary/enumeration.md +0 -187
  502. package/docs/fr/dictionary/file.md +8 -0
  503. package/docs/fr/dictionary/nesting.md +39 -0
  504. package/docs/fr/dictionary/translation.md +0 -61
  505. package/docs/fr/formatters.md +171 -77
  506. package/docs/fr/how_works_intlayer.md +4 -0
  507. package/docs/fr/intlayer_CMS.md +6 -0
  508. package/docs/fr/intlayer_with_astro.md +129 -2
  509. package/docs/fr/intlayer_with_astro_lit.md +1 -1
  510. package/docs/fr/intlayer_with_astro_preact.md +1 -1
  511. package/docs/fr/intlayer_with_astro_react.md +1 -1
  512. package/docs/fr/intlayer_with_astro_solid.md +1 -1
  513. package/docs/fr/intlayer_with_astro_svelte.md +1 -1
  514. package/docs/fr/intlayer_with_astro_vanilla.md +1 -1
  515. package/docs/fr/intlayer_with_astro_vue.md +1 -1
  516. package/docs/fr/intlayer_with_create_react_app.md +0 -14
  517. package/docs/fr/intlayer_with_express.md +0 -4
  518. package/docs/fr/intlayer_with_nestjs.md +0 -18
  519. package/docs/fr/intlayer_with_nextjs_14.md +26 -5
  520. package/docs/fr/intlayer_with_nextjs_15.md +21 -1
  521. package/docs/fr/intlayer_with_nextjs_16.md +1 -1
  522. package/docs/fr/intlayer_with_nextjs_compiler.md +1 -1
  523. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +1 -1
  524. package/docs/fr/intlayer_with_nextjs_page_router.md +5 -1
  525. package/docs/fr/intlayer_with_nuxt.md +0 -27
  526. package/docs/fr/intlayer_with_react_native+expo.md +36 -0
  527. package/docs/fr/intlayer_with_react_router_v7.md +1 -95
  528. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -100
  529. package/docs/fr/intlayer_with_svelte_kit.md +1 -239
  530. package/docs/fr/intlayer_with_tanstack+solid.md +3 -1
  531. package/docs/fr/intlayer_with_tanstack.md +1 -1
  532. package/docs/fr/intlayer_with_vite+lit.md +1 -1
  533. package/docs/fr/intlayer_with_vite+preact.md +5 -1
  534. package/docs/fr/intlayer_with_vite+react.md +1 -1
  535. package/docs/fr/intlayer_with_vite+react_compiler.md +1 -1
  536. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  537. package/docs/fr/intlayer_with_vite+svelte.md +1 -1
  538. package/docs/fr/intlayer_with_vite+vanilla.md +1 -1
  539. package/docs/fr/intlayer_with_vite+vue.md +13 -83
  540. package/docs/fr/packages/express-intlayer/t.md +0 -9
  541. package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
  542. package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
  543. package/docs/fr/packages/next-intlayer/t.md +1 -1
  544. package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
  545. package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
  546. package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
  547. package/docs/fr/plugins/sync-json.md +0 -59
  548. package/docs/fr/releases/v6.md +28 -0
  549. package/docs/fr/releases/v7.md +128 -0
  550. package/docs/fr/releases/v9.md +37 -1
  551. package/docs/fr/roadmap.md +6 -0
  552. package/docs/hi/CI_CD.md +4 -0
  553. package/docs/hi/autoFill.md +81 -0
  554. package/docs/hi/benchmark/solid.md +22 -0
  555. package/docs/hi/benchmark/svelte.md +22 -0
  556. package/docs/hi/benchmark/tanstack.md +22 -0
  557. package/docs/hi/cli/ci.md +22 -0
  558. package/docs/hi/cli/fill.md +8 -0
  559. package/docs/hi/cli/login.md +0 -36
  560. package/docs/hi/compat/i18n-js.md +44 -0
  561. package/docs/hi/compat/i18next.md +59 -0
  562. package/docs/hi/compat/index.md +51 -0
  563. package/docs/hi/compat/lingui.md +44 -0
  564. package/docs/hi/compat/next-i18next.md +57 -0
  565. package/docs/hi/compat/next-intl.md +59 -0
  566. package/docs/hi/compat/next-translate.md +45 -0
  567. package/docs/hi/compat/ngx-translate.md +45 -0
  568. package/docs/hi/compat/nuxtjs-i18n.md +46 -0
  569. package/docs/hi/compat/polyglot.md +45 -0
  570. package/docs/hi/compat/react-i18next.md +58 -0
  571. package/docs/hi/compat/react-intl.md +55 -0
  572. package/docs/hi/compat/svelte-i18n.md +47 -0
  573. package/docs/hi/compat/transloco.md +45 -0
  574. package/docs/hi/compat/vue-i18n.md +58 -0
  575. package/docs/hi/compiler.md +3 -1
  576. package/docs/hi/configuration.md +19 -17
  577. package/docs/hi/custom_domains.md +1 -1
  578. package/docs/hi/custom_url_rewrites.md +1 -1
  579. package/docs/hi/dictionary/enumeration.md +0 -187
  580. package/docs/hi/dictionary/file.md +8 -0
  581. package/docs/hi/dictionary/nesting.md +39 -0
  582. package/docs/hi/dictionary/translation.md +0 -61
  583. package/docs/hi/formatters.md +85 -0
  584. package/docs/hi/how_works_intlayer.md +2 -0
  585. package/docs/hi/interest_of_intlayer.md +194 -0
  586. package/docs/hi/intlayer_CMS.md +6 -0
  587. package/docs/hi/intlayer_with_astro.md +130 -3
  588. package/docs/hi/intlayer_with_astro_lit.md +1 -1
  589. package/docs/hi/intlayer_with_astro_preact.md +1 -1
  590. package/docs/hi/intlayer_with_astro_react.md +1 -1
  591. package/docs/hi/intlayer_with_astro_solid.md +1 -1
  592. package/docs/hi/intlayer_with_astro_svelte.md +1 -1
  593. package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
  594. package/docs/hi/intlayer_with_astro_vue.md +1 -1
  595. package/docs/hi/intlayer_with_create_react_app.md +15 -0
  596. package/docs/hi/intlayer_with_express.md +0 -23
  597. package/docs/hi/intlayer_with_nestjs.md +0 -8
  598. package/docs/hi/intlayer_with_nextjs_14.md +31 -8
  599. package/docs/hi/intlayer_with_nextjs_15.md +21 -1
  600. package/docs/hi/intlayer_with_nextjs_16.md +176 -54
  601. package/docs/hi/intlayer_with_nextjs_compiler.md +1 -1
  602. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1 -1
  603. package/docs/hi/intlayer_with_nextjs_page_router.md +5 -1
  604. package/docs/hi/intlayer_with_nuxt.md +0 -27
  605. package/docs/hi/intlayer_with_react_native+expo.md +36 -0
  606. package/docs/hi/intlayer_with_react_router_v7.md +1 -95
  607. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +20 -96
  608. package/docs/hi/intlayer_with_svelte_kit.md +1 -207
  609. package/docs/hi/intlayer_with_tanstack+solid.md +3 -1
  610. package/docs/hi/intlayer_with_tanstack.md +1 -1
  611. package/docs/hi/intlayer_with_vite+lit.md +1 -1
  612. package/docs/hi/intlayer_with_vite+preact.md +1 -1
  613. package/docs/hi/intlayer_with_vite+react.md +1 -1
  614. package/docs/hi/intlayer_with_vite+react_compiler.md +1 -1
  615. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  616. package/docs/hi/intlayer_with_vite+svelte.md +32 -48
  617. package/docs/hi/intlayer_with_vite+vanilla.md +1 -1
  618. package/docs/hi/intlayer_with_vite+vue.md +23 -71
  619. package/docs/hi/mcp_server.md +22 -0
  620. package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
  621. package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
  622. package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
  623. package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  624. package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
  625. package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
  626. package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
  627. package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
  628. package/docs/hi/packages/next-intlayer/t.md +2 -0
  629. package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
  630. package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
  631. package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
  632. package/docs/hi/releases/v6.md +28 -0
  633. package/docs/hi/releases/v7.md +128 -0
  634. package/docs/hi/releases/v9.md +37 -1
  635. package/docs/hi/roadmap.md +6 -0
  636. package/docs/id/autoFill.md +20 -0
  637. package/docs/id/benchmark/solid.md +22 -0
  638. package/docs/id/benchmark/svelte.md +22 -0
  639. package/docs/id/benchmark/tanstack.md +22 -0
  640. package/docs/id/cli/ci.md +22 -0
  641. package/docs/id/cli/fill.md +8 -0
  642. package/docs/id/compat/i18n-js.md +44 -0
  643. package/docs/id/compat/i18next.md +59 -0
  644. package/docs/id/compat/index.md +51 -0
  645. package/docs/id/compat/lingui.md +44 -0
  646. package/docs/id/compat/next-i18next.md +57 -0
  647. package/docs/id/compat/next-intl.md +59 -0
  648. package/docs/id/compat/next-translate.md +45 -0
  649. package/docs/id/compat/ngx-translate.md +45 -0
  650. package/docs/id/compat/nuxtjs-i18n.md +46 -0
  651. package/docs/id/compat/polyglot.md +45 -0
  652. package/docs/id/compat/react-i18next.md +58 -0
  653. package/docs/id/compat/react-intl.md +55 -0
  654. package/docs/id/compat/svelte-i18n.md +47 -0
  655. package/docs/id/compat/transloco.md +45 -0
  656. package/docs/id/compat/vue-i18n.md +58 -0
  657. package/docs/id/compiler.md +3 -1
  658. package/docs/id/configuration.md +19 -17
  659. package/docs/id/custom_domains.md +1 -1
  660. package/docs/id/custom_url_rewrites.md +14 -16
  661. package/docs/id/dictionary/content_file.md +0 -7
  662. package/docs/id/dictionary/enumeration.md +0 -187
  663. package/docs/id/dictionary/nesting.md +39 -0
  664. package/docs/id/dictionary/translation.md +0 -61
  665. package/docs/id/formatters.md +120 -0
  666. package/docs/id/interest_of_intlayer.md +193 -0
  667. package/docs/id/intlayer_with_astro.md +130 -3
  668. package/docs/id/intlayer_with_astro_lit.md +1 -1
  669. package/docs/id/intlayer_with_astro_preact.md +1 -1
  670. package/docs/id/intlayer_with_astro_react.md +1 -1
  671. package/docs/id/intlayer_with_astro_solid.md +1 -1
  672. package/docs/id/intlayer_with_astro_svelte.md +1 -1
  673. package/docs/id/intlayer_with_astro_vanilla.md +1 -1
  674. package/docs/id/intlayer_with_astro_vue.md +1 -1
  675. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  676. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  677. package/docs/id/intlayer_with_nextjs_16.md +176 -54
  678. package/docs/id/intlayer_with_nextjs_compiler.md +1 -22
  679. package/docs/id/intlayer_with_nextjs_no_locale_path.md +1 -1
  680. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  681. package/docs/id/intlayer_with_react_native+expo.md +8 -61
  682. package/docs/id/intlayer_with_react_router_v7.md +1 -95
  683. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -103
  684. package/docs/id/intlayer_with_svelte_kit.md +1 -207
  685. package/docs/id/intlayer_with_tanstack+solid.md +3 -1
  686. package/docs/id/intlayer_with_tanstack.md +1 -1
  687. package/docs/id/intlayer_with_vite+lit.md +1 -1
  688. package/docs/id/intlayer_with_vite+preact.md +57 -57
  689. package/docs/id/intlayer_with_vite+react.md +49 -49
  690. package/docs/id/intlayer_with_vite+react_compiler.md +1 -1
  691. package/docs/id/intlayer_with_vite+solid.md +33 -42
  692. package/docs/id/intlayer_with_vite+svelte.md +27 -29
  693. package/docs/id/intlayer_with_vite+vanilla.md +1 -1
  694. package/docs/id/intlayer_with_vite+vue.md +49 -101
  695. package/docs/id/mcp_server.md +22 -0
  696. package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
  697. package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
  698. package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
  699. package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  700. package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
  701. package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
  702. package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
  703. package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
  704. package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
  705. package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
  706. package/docs/id/releases/v6.md +4 -0
  707. package/docs/id/releases/v7.md +128 -0
  708. package/docs/id/releases/v9.md +37 -1
  709. package/docs/id/roadmap.md +0 -16
  710. package/docs/it/CI_CD.md +4 -0
  711. package/docs/it/autoFill.md +81 -0
  712. package/docs/it/benchmark/solid.md +22 -0
  713. package/docs/it/benchmark/svelte.md +22 -0
  714. package/docs/it/benchmark/tanstack.md +22 -0
  715. package/docs/it/cli/ci.md +22 -0
  716. package/docs/it/cli/fill.md +8 -0
  717. package/docs/it/compat/i18n-js.md +44 -0
  718. package/docs/it/compat/i18next.md +59 -0
  719. package/docs/it/compat/index.md +51 -0
  720. package/docs/it/compat/lingui.md +44 -0
  721. package/docs/it/compat/next-i18next.md +57 -0
  722. package/docs/it/compat/next-intl.md +59 -0
  723. package/docs/it/compat/next-translate.md +45 -0
  724. package/docs/it/compat/ngx-translate.md +45 -0
  725. package/docs/it/compat/nuxtjs-i18n.md +46 -0
  726. package/docs/it/compat/polyglot.md +45 -0
  727. package/docs/it/compat/react-i18next.md +58 -0
  728. package/docs/it/compat/react-intl.md +55 -0
  729. package/docs/it/compat/svelte-i18n.md +47 -0
  730. package/docs/it/compat/transloco.md +45 -0
  731. package/docs/it/compat/vue-i18n.md +58 -0
  732. package/docs/it/compiler.md +3 -1
  733. package/docs/it/configuration.md +19 -17
  734. package/docs/it/custom_domains.md +1 -1
  735. package/docs/it/custom_url_rewrites.md +1 -1
  736. package/docs/it/dictionary/content_file.md +4 -7
  737. package/docs/it/dictionary/enumeration.md +0 -197
  738. package/docs/it/dictionary/file.md +8 -0
  739. package/docs/it/dictionary/nesting.md +39 -0
  740. package/docs/it/dictionary/translation.md +0 -61
  741. package/docs/it/formatters.md +82 -0
  742. package/docs/it/how_works_intlayer.md +4 -4
  743. package/docs/it/intlayer_CMS.md +6 -0
  744. package/docs/it/intlayer_with_astro.md +129 -2
  745. package/docs/it/intlayer_with_astro_lit.md +1 -1
  746. package/docs/it/intlayer_with_astro_preact.md +1 -1
  747. package/docs/it/intlayer_with_astro_react.md +1 -1
  748. package/docs/it/intlayer_with_astro_solid.md +1 -1
  749. package/docs/it/intlayer_with_astro_svelte.md +1 -1
  750. package/docs/it/intlayer_with_astro_vanilla.md +1 -1
  751. package/docs/it/intlayer_with_astro_vue.md +1 -1
  752. package/docs/it/intlayer_with_create_react_app.md +0 -14
  753. package/docs/it/intlayer_with_express.md +0 -4
  754. package/docs/it/intlayer_with_lynx+react.md +11 -0
  755. package/docs/it/intlayer_with_nestjs.md +0 -8
  756. package/docs/it/intlayer_with_nextjs_14.md +30 -9
  757. package/docs/it/intlayer_with_nextjs_15.md +21 -1
  758. package/docs/it/intlayer_with_nextjs_16.md +176 -54
  759. package/docs/it/intlayer_with_nextjs_compiler.md +1 -1
  760. package/docs/it/intlayer_with_nextjs_no_locale_path.md +1 -1
  761. package/docs/it/intlayer_with_nextjs_page_router.md +5 -1
  762. package/docs/it/intlayer_with_react_native+expo.md +36 -0
  763. package/docs/it/intlayer_with_react_router_v7.md +1 -95
  764. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -96
  765. package/docs/it/intlayer_with_svelte_kit.md +1 -239
  766. package/docs/it/intlayer_with_tanstack+solid.md +3 -1
  767. package/docs/it/intlayer_with_tanstack.md +1 -1
  768. package/docs/it/intlayer_with_vite+lit.md +1 -1
  769. package/docs/it/intlayer_with_vite+preact.md +61 -57
  770. package/docs/it/intlayer_with_vite+react.md +49 -1
  771. package/docs/it/intlayer_with_vite+react_compiler.md +1 -1
  772. package/docs/it/intlayer_with_vite+solid.md +33 -42
  773. package/docs/it/intlayer_with_vite+svelte.md +27 -29
  774. package/docs/it/intlayer_with_vite+vanilla.md +1 -1
  775. package/docs/it/intlayer_with_vite+vue.md +53 -123
  776. package/docs/it/mcp_server.md +22 -0
  777. package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
  778. package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
  779. package/docs/it/packages/next-intlayer/t.md +34 -0
  780. package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
  781. package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
  782. package/docs/it/releases/v6.md +28 -0
  783. package/docs/it/releases/v7.md +128 -0
  784. package/docs/it/releases/v9.md +37 -1
  785. package/docs/it/roadmap.md +6 -0
  786. package/docs/ja/CI_CD.md +4 -0
  787. package/docs/ja/autoFill.md +81 -0
  788. package/docs/ja/benchmark/solid.md +22 -0
  789. package/docs/ja/benchmark/svelte.md +22 -0
  790. package/docs/ja/benchmark/tanstack.md +22 -0
  791. package/docs/ja/cli/ci.md +22 -0
  792. package/docs/ja/cli/fill.md +8 -0
  793. package/docs/ja/cli/list_projects.md +0 -18
  794. package/docs/ja/compat/i18n-js.md +44 -0
  795. package/docs/ja/compat/i18next.md +59 -0
  796. package/docs/ja/compat/index.md +51 -0
  797. package/docs/ja/compat/lingui.md +44 -0
  798. package/docs/ja/compat/next-i18next.md +57 -0
  799. package/docs/ja/compat/next-intl.md +59 -0
  800. package/docs/ja/compat/next-translate.md +45 -0
  801. package/docs/ja/compat/ngx-translate.md +45 -0
  802. package/docs/ja/compat/nuxtjs-i18n.md +46 -0
  803. package/docs/ja/compat/polyglot.md +45 -0
  804. package/docs/ja/compat/react-i18next.md +58 -0
  805. package/docs/ja/compat/react-intl.md +55 -0
  806. package/docs/ja/compat/svelte-i18n.md +47 -0
  807. package/docs/ja/compat/transloco.md +45 -0
  808. package/docs/ja/compat/vue-i18n.md +58 -0
  809. package/docs/ja/compiler.md +3 -1
  810. package/docs/ja/configuration.md +19 -17
  811. package/docs/ja/custom_domains.md +1 -1
  812. package/docs/ja/custom_url_rewrites.md +1 -1
  813. package/docs/ja/dictionary/content_file.md +4 -0
  814. package/docs/ja/dictionary/enumeration.md +0 -187
  815. package/docs/ja/dictionary/function_fetching.md +0 -27
  816. package/docs/ja/dictionary/markdown.md +1348 -0
  817. package/docs/ja/dictionary/nesting.md +39 -0
  818. package/docs/ja/dictionary/translation.md +0 -119
  819. package/docs/ja/formatters.md +77 -0
  820. package/docs/ja/how_works_intlayer.md +4 -2
  821. package/docs/ja/intlayer_CMS.md +6 -0
  822. package/docs/ja/intlayer_visual_editor.md +0 -4
  823. package/docs/ja/intlayer_with_analog.md +4 -0
  824. package/docs/ja/intlayer_with_astro.md +129 -2
  825. package/docs/ja/intlayer_with_astro_lit.md +1 -1
  826. package/docs/ja/intlayer_with_astro_preact.md +1 -1
  827. package/docs/ja/intlayer_with_astro_react.md +1 -1
  828. package/docs/ja/intlayer_with_astro_solid.md +1 -1
  829. package/docs/ja/intlayer_with_astro_svelte.md +1 -1
  830. package/docs/ja/intlayer_with_astro_vanilla.md +1 -1
  831. package/docs/ja/intlayer_with_astro_vue.md +1 -1
  832. package/docs/ja/intlayer_with_create_react_app.md +0 -16
  833. package/docs/ja/intlayer_with_express.md +0 -4
  834. package/docs/ja/intlayer_with_nestjs.md +0 -8
  835. package/docs/ja/intlayer_with_nextjs_14.md +26 -20
  836. package/docs/ja/intlayer_with_nextjs_15.md +21 -1
  837. package/docs/ja/intlayer_with_nextjs_16.md +176 -54
  838. package/docs/ja/intlayer_with_nextjs_compiler.md +1 -22
  839. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1 -1
  840. package/docs/ja/intlayer_with_nextjs_page_router.md +5 -1
  841. package/docs/ja/intlayer_with_react_native+expo.md +36 -0
  842. package/docs/ja/intlayer_with_react_router_v7.md +1 -23
  843. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -96
  844. package/docs/ja/intlayer_with_svelte_kit.md +12 -1
  845. package/docs/ja/intlayer_with_tanstack+solid.md +3 -1
  846. package/docs/ja/intlayer_with_tanstack.md +3 -1
  847. package/docs/ja/intlayer_with_vite+lit.md +1 -1
  848. package/docs/ja/intlayer_with_vite+preact.md +704 -1
  849. package/docs/ja/intlayer_with_vite+react.md +1 -1
  850. package/docs/ja/intlayer_with_vite+react_compiler.md +1 -1
  851. package/docs/ja/intlayer_with_vite+solid.md +33 -42
  852. package/docs/ja/intlayer_with_vite+svelte.md +29 -29
  853. package/docs/ja/intlayer_with_vite+vanilla.md +1 -1
  854. package/docs/ja/intlayer_with_vite+vue.md +70 -114
  855. package/docs/ja/mcp_server.md +26 -0
  856. package/docs/ja/packages/express-intlayer/t.md +0 -9
  857. package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
  858. package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
  859. package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
  860. package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
  861. package/docs/ja/releases/v6.md +28 -0
  862. package/docs/ja/releases/v7.md +128 -0
  863. package/docs/ja/releases/v9.md +37 -1
  864. package/docs/ja/roadmap.md +6 -0
  865. package/docs/ko/CI_CD.md +4 -0
  866. package/docs/ko/autoFill.md +81 -0
  867. package/docs/ko/benchmark/solid.md +22 -0
  868. package/docs/ko/benchmark/svelte.md +22 -0
  869. package/docs/ko/benchmark/tanstack.md +22 -0
  870. package/docs/ko/cli/ci.md +22 -0
  871. package/docs/ko/cli/fill.md +8 -0
  872. package/docs/ko/cli/login.md +0 -36
  873. package/docs/ko/compat/i18n-js.md +44 -0
  874. package/docs/ko/compat/i18next.md +59 -0
  875. package/docs/ko/compat/index.md +51 -0
  876. package/docs/ko/compat/lingui.md +44 -0
  877. package/docs/ko/compat/next-i18next.md +55 -0
  878. package/docs/ko/compat/next-intl.md +59 -0
  879. package/docs/ko/compat/next-translate.md +45 -0
  880. package/docs/ko/compat/ngx-translate.md +45 -0
  881. package/docs/ko/compat/nuxtjs-i18n.md +46 -0
  882. package/docs/ko/compat/polyglot.md +45 -0
  883. package/docs/ko/compat/react-i18next.md +58 -0
  884. package/docs/ko/compat/react-intl.md +55 -0
  885. package/docs/ko/compat/svelte-i18n.md +47 -0
  886. package/docs/ko/compat/transloco.md +45 -0
  887. package/docs/ko/compat/vue-i18n.md +58 -0
  888. package/docs/ko/compiler.md +3 -1
  889. package/docs/ko/configuration.md +19 -17
  890. package/docs/ko/custom_domains.md +1 -1
  891. package/docs/ko/custom_url_rewrites.md +1 -1
  892. package/docs/ko/dictionary/content_file.md +4 -27
  893. package/docs/ko/dictionary/enumeration.md +0 -187
  894. package/docs/ko/dictionary/insertion.md +0 -6
  895. package/docs/ko/dictionary/nesting.md +39 -0
  896. package/docs/ko/dictionary/translation.md +0 -84
  897. package/docs/ko/formatters.md +71 -0
  898. package/docs/ko/how_works_intlayer.md +4 -0
  899. package/docs/ko/intlayer_CMS.md +6 -0
  900. package/docs/ko/intlayer_visual_editor.md +0 -2
  901. package/docs/ko/intlayer_with_analog.md +4 -0
  902. package/docs/ko/intlayer_with_astro.md +129 -2
  903. package/docs/ko/intlayer_with_astro_lit.md +1 -1
  904. package/docs/ko/intlayer_with_astro_preact.md +1 -1
  905. package/docs/ko/intlayer_with_astro_react.md +1 -1
  906. package/docs/ko/intlayer_with_astro_solid.md +1 -1
  907. package/docs/ko/intlayer_with_astro_svelte.md +1 -1
  908. package/docs/ko/intlayer_with_astro_vanilla.md +1 -1
  909. package/docs/ko/intlayer_with_astro_vue.md +1 -1
  910. package/docs/ko/intlayer_with_create_react_app.md +0 -14
  911. package/docs/ko/intlayer_with_express.md +0 -23
  912. package/docs/ko/intlayer_with_lynx+react.md +0 -124
  913. package/docs/ko/intlayer_with_nestjs.md +0 -18
  914. package/docs/ko/intlayer_with_nextjs_14.md +19 -13
  915. package/docs/ko/intlayer_with_nextjs_15.md +21 -1
  916. package/docs/ko/intlayer_with_nextjs_16.md +175 -56
  917. package/docs/ko/intlayer_with_nextjs_compiler.md +1 -308
  918. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1 -1
  919. package/docs/ko/intlayer_with_nextjs_page_router.md +5 -1
  920. package/docs/ko/intlayer_with_react_native+expo.md +36 -262
  921. package/docs/ko/intlayer_with_react_router_v7.md +1 -95
  922. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +20 -96
  923. package/docs/ko/intlayer_with_svelte_kit.md +1 -207
  924. package/docs/ko/intlayer_with_tanstack+solid.md +3 -1
  925. package/docs/ko/intlayer_with_tanstack.md +1 -1
  926. package/docs/ko/intlayer_with_vite+lit.md +1 -1
  927. package/docs/ko/intlayer_with_vite+preact.md +57 -91
  928. package/docs/ko/intlayer_with_vite+react.md +93 -18
  929. package/docs/ko/intlayer_with_vite+react_compiler.md +1 -1
  930. package/docs/ko/intlayer_with_vite+solid.md +33 -143
  931. package/docs/ko/intlayer_with_vite+svelte.md +27 -29
  932. package/docs/ko/intlayer_with_vite+vanilla.md +1 -1
  933. package/docs/ko/intlayer_with_vite+vue.md +54 -106
  934. package/docs/ko/mcp_server.md +22 -0
  935. package/docs/ko/packages/express-intlayer/t.md +0 -9
  936. package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
  937. package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
  938. package/docs/ko/packages/next-intlayer/t.md +34 -0
  939. package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
  940. package/docs/ko/packages/react-intlayer/t.md +0 -20
  941. package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
  942. package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
  943. package/docs/ko/releases/v6.md +28 -0
  944. package/docs/ko/releases/v7.md +128 -0
  945. package/docs/ko/releases/v9.md +37 -1
  946. package/docs/ko/roadmap.md +6 -0
  947. package/docs/pl/autoFill.md +20 -0
  948. package/docs/pl/benchmark/___NOTE.md +101 -0
  949. package/docs/pl/benchmark/___nextjs.md +198 -0
  950. package/docs/pl/benchmark/___solid.md +36 -0
  951. package/docs/pl/benchmark/___svelte.md +36 -0
  952. package/docs/pl/benchmark/___tanstack.md +36 -0
  953. package/docs/pl/benchmark/___vue.md +36 -0
  954. package/docs/pl/benchmark/solid.md +22 -0
  955. package/docs/pl/benchmark/svelte.md +22 -0
  956. package/docs/pl/benchmark/tanstack.md +22 -0
  957. package/docs/pl/cli/ci.md +22 -0
  958. package/docs/pl/cli/fill.md +8 -0
  959. package/docs/pl/cli/login.md +0 -36
  960. package/docs/pl/compat/i18n-js.md +44 -0
  961. package/docs/pl/compat/i18next.md +59 -0
  962. package/docs/pl/compat/index.md +51 -0
  963. package/docs/pl/compat/lingui.md +44 -0
  964. package/docs/pl/compat/next-i18next.md +57 -0
  965. package/docs/pl/compat/next-intl.md +59 -0
  966. package/docs/pl/compat/next-translate.md +45 -0
  967. package/docs/pl/compat/ngx-translate.md +45 -0
  968. package/docs/pl/compat/nuxtjs-i18n.md +46 -0
  969. package/docs/pl/compat/polyglot.md +45 -0
  970. package/docs/pl/compat/react-i18next.md +58 -0
  971. package/docs/pl/compat/react-intl.md +55 -0
  972. package/docs/pl/compat/svelte-i18n.md +47 -0
  973. package/docs/pl/compat/transloco.md +45 -0
  974. package/docs/pl/compat/vue-i18n.md +58 -0
  975. package/docs/pl/configuration.md +15 -16
  976. package/docs/pl/dictionary/content_file.md +0 -40
  977. package/docs/pl/dictionary/enumeration.md +0 -187
  978. package/docs/pl/dictionary/nesting.md +39 -0
  979. package/docs/pl/dictionary/translation.md +0 -61
  980. package/docs/pl/formatters.md +120 -0
  981. package/docs/pl/intlayer_with_astro.md +179 -0
  982. package/docs/pl/intlayer_with_react_native+expo.md +8 -61
  983. package/docs/pl/intlayer_with_react_router_v7.md +0 -94
  984. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +0 -95
  985. package/docs/pl/intlayer_with_svelte_kit.md +0 -210
  986. package/docs/pl/intlayer_with_vite+preact.md +56 -56
  987. package/docs/pl/intlayer_with_vite+react.md +48 -48
  988. package/docs/pl/intlayer_with_vite+solid.md +32 -41
  989. package/docs/pl/intlayer_with_vite+svelte.md +28 -28
  990. package/docs/pl/intlayer_with_vite+vue.md +48 -70
  991. package/docs/pl/mcp_server.md +22 -0
  992. package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
  993. package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
  994. package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
  995. package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
  996. package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
  997. package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
  998. package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
  999. package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
  1000. package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
  1001. package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
  1002. package/docs/pl/plugins/sync-json.md +0 -59
  1003. package/docs/pl/releases/v6.md +4 -0
  1004. package/docs/pl/releases/v7.md +128 -0
  1005. package/docs/pl/releases/v9.md +36 -0
  1006. package/docs/pl/roadmap.md +0 -16
  1007. package/docs/pt/CI_CD.md +4 -0
  1008. package/docs/pt/autoFill.md +117 -14
  1009. package/docs/pt/benchmark/index.md +5 -5
  1010. package/docs/pt/benchmark/solid.md +22 -0
  1011. package/docs/pt/benchmark/svelte.md +22 -0
  1012. package/docs/pt/benchmark/tanstack.md +22 -0
  1013. package/docs/pt/cli/ci.md +22 -0
  1014. package/docs/pt/cli/fill.md +8 -0
  1015. package/docs/pt/cli/login.md +0 -36
  1016. package/docs/pt/compat/i18n-js.md +44 -0
  1017. package/docs/pt/compat/i18next.md +59 -0
  1018. package/docs/pt/compat/index.md +51 -0
  1019. package/docs/pt/compat/lingui.md +44 -0
  1020. package/docs/pt/compat/next-i18next.md +57 -0
  1021. package/docs/pt/compat/next-intl.md +59 -0
  1022. package/docs/pt/compat/next-translate.md +45 -0
  1023. package/docs/pt/compat/ngx-translate.md +45 -0
  1024. package/docs/pt/compat/nuxtjs-i18n.md +46 -0
  1025. package/docs/pt/compat/polyglot.md +45 -0
  1026. package/docs/pt/compat/react-i18next.md +58 -0
  1027. package/docs/pt/compat/react-intl.md +55 -0
  1028. package/docs/pt/compat/svelte-i18n.md +47 -0
  1029. package/docs/pt/compat/transloco.md +45 -0
  1030. package/docs/pt/compat/vue-i18n.md +58 -0
  1031. package/docs/pt/compiler.md +2 -2
  1032. package/docs/pt/configuration.md +16 -17
  1033. package/docs/pt/custom_domains.md +1 -6
  1034. package/docs/pt/custom_url_rewrites.md +1 -1
  1035. package/docs/pt/dictionary/content_file.md +4 -7
  1036. package/docs/pt/dictionary/enumeration.md +3 -190
  1037. package/docs/pt/dictionary/file.md +8 -0
  1038. package/docs/pt/dictionary/nesting.md +39 -0
  1039. package/docs/pt/dictionary/translation.md +0 -61
  1040. package/docs/pt/formatters.md +86 -0
  1041. package/docs/pt/how_works_intlayer.md +4 -0
  1042. package/docs/pt/intlayer_CMS.md +21 -0
  1043. package/docs/pt/intlayer_with_analog.md +3 -3
  1044. package/docs/pt/intlayer_with_angular_19.md +7 -7
  1045. package/docs/pt/intlayer_with_angular_21.md +3 -3
  1046. package/docs/pt/intlayer_with_astro.md +182 -3
  1047. package/docs/pt/intlayer_with_astro_lit.md +3 -3
  1048. package/docs/pt/intlayer_with_astro_preact.md +3 -3
  1049. package/docs/pt/intlayer_with_astro_react.md +3 -3
  1050. package/docs/pt/intlayer_with_astro_solid.md +3 -3
  1051. package/docs/pt/intlayer_with_astro_svelte.md +3 -3
  1052. package/docs/pt/intlayer_with_astro_vanilla.md +3 -3
  1053. package/docs/pt/intlayer_with_astro_vue.md +3 -3
  1054. package/docs/pt/intlayer_with_create_react_app.md +0 -14
  1055. package/docs/pt/intlayer_with_express.md +0 -23
  1056. package/docs/pt/intlayer_with_lynx+react.md +14 -3
  1057. package/docs/pt/intlayer_with_nestjs.md +0 -18
  1058. package/docs/pt/intlayer_with_nextjs_14.md +26 -7
  1059. package/docs/pt/intlayer_with_nextjs_15.md +27 -7
  1060. package/docs/pt/intlayer_with_nextjs_16.md +6 -6
  1061. package/docs/pt/intlayer_with_nextjs_compiler.md +1 -1
  1062. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +6 -6
  1063. package/docs/pt/intlayer_with_nextjs_page_router.md +10 -6
  1064. package/docs/pt/intlayer_with_nuxt.md +3 -3
  1065. package/docs/pt/intlayer_with_react_native+expo.md +39 -3
  1066. package/docs/pt/intlayer_with_react_router_v7.md +8 -84
  1067. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -98
  1068. package/docs/pt/intlayer_with_storybook.md +3 -3
  1069. package/docs/pt/intlayer_with_svelte_kit.md +3 -245
  1070. package/docs/pt/intlayer_with_tanstack+solid.md +3 -3
  1071. package/docs/pt/intlayer_with_tanstack.md +3 -3
  1072. package/docs/pt/intlayer_with_vanilla.md +3 -3
  1073. package/docs/pt/intlayer_with_vite+lit.md +3 -3
  1074. package/docs/pt/intlayer_with_vite+preact.md +3 -3
  1075. package/docs/pt/intlayer_with_vite+react.md +10 -10
  1076. package/docs/pt/intlayer_with_vite+react_compiler.md +5 -5
  1077. package/docs/pt/intlayer_with_vite+solid.md +3 -3
  1078. package/docs/pt/intlayer_with_vite+svelte.md +31 -31
  1079. package/docs/pt/intlayer_with_vite+vanilla.md +3 -3
  1080. package/docs/pt/intlayer_with_vite+vue.md +7 -3
  1081. package/docs/pt/mcp_server.md +22 -0
  1082. package/docs/pt/packages/hono-intlayer/t.md +1 -1
  1083. package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
  1084. package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
  1085. package/docs/pt/packages/next-intlayer/t.md +34 -0
  1086. package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
  1087. package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
  1088. package/docs/pt/plugins/sync-po.md +1 -1
  1089. package/docs/pt/readme.md +3 -3
  1090. package/docs/pt/releases/v6.md +28 -0
  1091. package/docs/pt/releases/v7.md +128 -0
  1092. package/docs/pt/releases/v9.md +37 -1
  1093. package/docs/pt/roadmap.md +6 -0
  1094. package/docs/ru/CI_CD.md +4 -0
  1095. package/docs/ru/autoFill.md +81 -0
  1096. package/docs/ru/benchmark/solid.md +22 -0
  1097. package/docs/ru/benchmark/svelte.md +22 -0
  1098. package/docs/ru/benchmark/tanstack.md +22 -0
  1099. package/docs/ru/cli/ci.md +22 -0
  1100. package/docs/ru/cli/fill.md +8 -0
  1101. package/docs/ru/cli/login.md +0 -36
  1102. package/docs/ru/compat/i18n-js.md +44 -0
  1103. package/docs/ru/compat/i18next.md +59 -0
  1104. package/docs/ru/compat/index.md +51 -0
  1105. package/docs/ru/compat/lingui.md +44 -0
  1106. package/docs/ru/compat/next-i18next.md +57 -0
  1107. package/docs/ru/compat/next-intl.md +59 -0
  1108. package/docs/ru/compat/next-translate.md +45 -0
  1109. package/docs/ru/compat/ngx-translate.md +45 -0
  1110. package/docs/ru/compat/nuxtjs-i18n.md +46 -0
  1111. package/docs/ru/compat/polyglot.md +45 -0
  1112. package/docs/ru/compat/react-i18next.md +58 -0
  1113. package/docs/ru/compat/react-intl.md +55 -0
  1114. package/docs/ru/compat/svelte-i18n.md +47 -0
  1115. package/docs/ru/compat/transloco.md +45 -0
  1116. package/docs/ru/compat/vue-i18n.md +58 -0
  1117. package/docs/ru/compiler.md +3 -1
  1118. package/docs/ru/configuration.md +19 -17
  1119. package/docs/ru/custom_domains.md +1 -1
  1120. package/docs/ru/custom_url_rewrites.md +1 -1
  1121. package/docs/ru/dictionary/content_file.md +4 -27
  1122. package/docs/ru/dictionary/enumeration.md +0 -199
  1123. package/docs/ru/dictionary/file.md +8 -0
  1124. package/docs/ru/dictionary/markdown.md +510 -0
  1125. package/docs/ru/dictionary/nesting.md +8 -0
  1126. package/docs/ru/dictionary/translation.md +0 -61
  1127. package/docs/ru/formatters.md +136 -0
  1128. package/docs/ru/how_works_intlayer.md +4 -0
  1129. package/docs/ru/intlayer_CMS.md +6 -0
  1130. package/docs/ru/intlayer_with_astro.md +129 -2
  1131. package/docs/ru/intlayer_with_astro_lit.md +1 -1
  1132. package/docs/ru/intlayer_with_astro_preact.md +1 -1
  1133. package/docs/ru/intlayer_with_astro_react.md +1 -1
  1134. package/docs/ru/intlayer_with_astro_solid.md +1 -1
  1135. package/docs/ru/intlayer_with_astro_svelte.md +1 -1
  1136. package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
  1137. package/docs/ru/intlayer_with_astro_vue.md +1 -1
  1138. package/docs/ru/intlayer_with_express.md +0 -23
  1139. package/docs/ru/intlayer_with_nestjs.md +0 -18
  1140. package/docs/ru/intlayer_with_nextjs_14.md +31 -8
  1141. package/docs/ru/intlayer_with_nextjs_15.md +21 -1
  1142. package/docs/ru/intlayer_with_nextjs_16.md +1 -1
  1143. package/docs/ru/intlayer_with_nextjs_compiler.md +1 -1
  1144. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1 -1
  1145. package/docs/ru/intlayer_with_nextjs_page_router.md +5 -1
  1146. package/docs/ru/intlayer_with_react_native+expo.md +36 -49
  1147. package/docs/ru/intlayer_with_react_router_v7.md +1 -95
  1148. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1149. package/docs/ru/intlayer_with_svelte_kit.md +1 -207
  1150. package/docs/ru/intlayer_with_tanstack+solid.md +3 -1
  1151. package/docs/ru/intlayer_with_tanstack.md +1 -1
  1152. package/docs/ru/intlayer_with_vite+lit.md +1 -1
  1153. package/docs/ru/intlayer_with_vite+preact.md +57 -57
  1154. package/docs/ru/intlayer_with_vite+react.md +3 -1
  1155. package/docs/ru/intlayer_with_vite+react_compiler.md +1 -1
  1156. package/docs/ru/intlayer_with_vite+solid.md +33 -42
  1157. package/docs/ru/intlayer_with_vite+svelte.md +27 -29
  1158. package/docs/ru/intlayer_with_vite+vanilla.md +1 -1
  1159. package/docs/ru/intlayer_with_vite+vue.md +53 -101
  1160. package/docs/ru/mcp_server.md +22 -0
  1161. package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
  1162. package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
  1163. package/docs/ru/packages/next-intlayer/t.md +34 -0
  1164. package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
  1165. package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
  1166. package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
  1167. package/docs/ru/releases/v6.md +28 -0
  1168. package/docs/ru/releases/v7.md +128 -0
  1169. package/docs/ru/releases/v9.md +37 -1
  1170. package/docs/ru/roadmap.md +6 -0
  1171. package/docs/tr/CI_CD.md +4 -0
  1172. package/docs/tr/autoFill.md +81 -0
  1173. package/docs/tr/benchmark/solid.md +22 -0
  1174. package/docs/tr/benchmark/svelte.md +22 -0
  1175. package/docs/tr/benchmark/tanstack.md +22 -0
  1176. package/docs/tr/cli/ci.md +22 -0
  1177. package/docs/tr/cli/fill.md +8 -0
  1178. package/docs/tr/cli/login.md +0 -10
  1179. package/docs/tr/compat/i18n-js.md +44 -0
  1180. package/docs/tr/compat/i18next.md +59 -0
  1181. package/docs/tr/compat/index.md +51 -0
  1182. package/docs/tr/compat/lingui.md +44 -0
  1183. package/docs/tr/compat/next-i18next.md +57 -0
  1184. package/docs/tr/compat/next-intl.md +59 -0
  1185. package/docs/tr/compat/next-translate.md +45 -0
  1186. package/docs/tr/compat/ngx-translate.md +45 -0
  1187. package/docs/tr/compat/nuxtjs-i18n.md +46 -0
  1188. package/docs/tr/compat/polyglot.md +45 -0
  1189. package/docs/tr/compat/react-i18next.md +58 -0
  1190. package/docs/tr/compat/react-intl.md +55 -0
  1191. package/docs/tr/compat/svelte-i18n.md +47 -0
  1192. package/docs/tr/compat/transloco.md +45 -0
  1193. package/docs/tr/compat/vue-i18n.md +58 -0
  1194. package/docs/tr/compiler.md +3 -1
  1195. package/docs/tr/configuration.md +19 -17
  1196. package/docs/tr/custom_domains.md +1 -1
  1197. package/docs/tr/custom_url_rewrites.md +1 -1
  1198. package/docs/tr/dictionary/content_file.md +4 -27
  1199. package/docs/tr/dictionary/enumeration.md +0 -187
  1200. package/docs/tr/dictionary/file.md +8 -0
  1201. package/docs/tr/dictionary/nesting.md +39 -0
  1202. package/docs/tr/dictionary/translation.md +0 -88
  1203. package/docs/tr/formatters.md +59 -0
  1204. package/docs/tr/how_works_intlayer.md +4 -0
  1205. package/docs/tr/intlayer_CMS.md +6 -0
  1206. package/docs/tr/intlayer_with_analog.md +4 -0
  1207. package/docs/tr/intlayer_with_astro.md +134 -77
  1208. package/docs/tr/intlayer_with_astro_lit.md +1 -1
  1209. package/docs/tr/intlayer_with_astro_preact.md +1 -1
  1210. package/docs/tr/intlayer_with_astro_react.md +1 -1
  1211. package/docs/tr/intlayer_with_astro_solid.md +1 -1
  1212. package/docs/tr/intlayer_with_astro_svelte.md +1 -1
  1213. package/docs/tr/intlayer_with_astro_vanilla.md +1 -1
  1214. package/docs/tr/intlayer_with_astro_vue.md +1 -1
  1215. package/docs/tr/intlayer_with_express.md +0 -4
  1216. package/docs/tr/intlayer_with_nestjs.md +0 -8
  1217. package/docs/tr/intlayer_with_nextjs_14.md +95 -8
  1218. package/docs/tr/intlayer_with_nextjs_15.md +21 -1
  1219. package/docs/tr/intlayer_with_nextjs_16.md +1 -1
  1220. package/docs/tr/intlayer_with_nextjs_compiler.md +1 -22
  1221. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1 -1
  1222. package/docs/tr/intlayer_with_nextjs_page_router.md +5 -1
  1223. package/docs/tr/intlayer_with_react_native+expo.md +36 -46
  1224. package/docs/tr/intlayer_with_react_router_v7.md +1 -95
  1225. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1226. package/docs/tr/intlayer_with_svelte_kit.md +1 -207
  1227. package/docs/tr/intlayer_with_tanstack+solid.md +3 -1
  1228. package/docs/tr/intlayer_with_tanstack.md +1 -1
  1229. package/docs/tr/intlayer_with_vite+lit.md +1 -1
  1230. package/docs/tr/intlayer_with_vite+preact.md +57 -57
  1231. package/docs/tr/intlayer_with_vite+react.md +49 -49
  1232. package/docs/tr/intlayer_with_vite+react_compiler.md +1 -1
  1233. package/docs/tr/intlayer_with_vite+solid.md +33 -42
  1234. package/docs/tr/intlayer_with_vite+svelte.md +27 -29
  1235. package/docs/tr/intlayer_with_vite+vanilla.md +1 -1
  1236. package/docs/tr/intlayer_with_vite+vue.md +54 -102
  1237. package/docs/tr/mcp_server.md +22 -0
  1238. package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
  1239. package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
  1240. package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
  1241. package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
  1242. package/docs/tr/releases/v6.md +28 -0
  1243. package/docs/tr/releases/v7.md +128 -0
  1244. package/docs/tr/releases/v9.md +37 -1
  1245. package/docs/tr/roadmap.md +6 -0
  1246. package/docs/uk/benchmark/solid.md +22 -0
  1247. package/docs/uk/benchmark/svelte.md +22 -0
  1248. package/docs/uk/benchmark/tanstack.md +22 -0
  1249. package/docs/uk/cli/ci.md +22 -0
  1250. package/docs/uk/cli/fill.md +8 -0
  1251. package/docs/uk/compat/i18n-js.md +44 -0
  1252. package/docs/uk/compat/i18next.md +59 -0
  1253. package/docs/uk/compat/index.md +51 -0
  1254. package/docs/uk/compat/lingui.md +44 -0
  1255. package/docs/uk/compat/next-i18next.md +57 -0
  1256. package/docs/uk/compat/next-intl.md +59 -0
  1257. package/docs/uk/compat/next-translate.md +45 -0
  1258. package/docs/uk/compat/ngx-translate.md +45 -0
  1259. package/docs/uk/compat/nuxtjs-i18n.md +46 -0
  1260. package/docs/uk/compat/polyglot.md +45 -0
  1261. package/docs/uk/compat/react-i18next.md +58 -0
  1262. package/docs/uk/compat/react-intl.md +55 -0
  1263. package/docs/uk/compat/svelte-i18n.md +47 -0
  1264. package/docs/uk/compat/transloco.md +45 -0
  1265. package/docs/uk/compat/vue-i18n.md +58 -0
  1266. package/docs/uk/compiler.md +3 -1
  1267. package/docs/uk/configuration.md +19 -17
  1268. package/docs/uk/custom_domains.md +1 -1
  1269. package/docs/uk/custom_url_rewrites.md +1 -1
  1270. package/docs/uk/dictionary/content_file.md +0 -7
  1271. package/docs/uk/dictionary/enumeration.md +0 -187
  1272. package/docs/uk/dictionary/nesting.md +39 -0
  1273. package/docs/uk/dictionary/translation.md +0 -72
  1274. package/docs/uk/formatters.md +142 -58
  1275. package/docs/uk/interest_of_intlayer.md +194 -0
  1276. package/docs/uk/intlayer_with_analog.md +4 -0
  1277. package/docs/uk/intlayer_with_astro.md +130 -3
  1278. package/docs/uk/intlayer_with_astro_lit.md +1 -1
  1279. package/docs/uk/intlayer_with_astro_preact.md +1 -1
  1280. package/docs/uk/intlayer_with_astro_react.md +1 -1
  1281. package/docs/uk/intlayer_with_astro_solid.md +1 -1
  1282. package/docs/uk/intlayer_with_astro_svelte.md +1 -1
  1283. package/docs/uk/intlayer_with_astro_vanilla.md +1 -1
  1284. package/docs/uk/intlayer_with_astro_vue.md +1 -1
  1285. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  1286. package/docs/uk/intlayer_with_nextjs_15.md +1 -1
  1287. package/docs/uk/intlayer_with_nextjs_16.md +1 -1
  1288. package/docs/uk/intlayer_with_nextjs_compiler.md +1 -22
  1289. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1 -1
  1290. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  1291. package/docs/uk/intlayer_with_nuxt.md +0 -27
  1292. package/docs/uk/intlayer_with_react_native+expo.md +8 -61
  1293. package/docs/uk/intlayer_with_react_router_v7.md +1 -95
  1294. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1295. package/docs/uk/intlayer_with_svelte_kit.md +1 -1
  1296. package/docs/uk/intlayer_with_tanstack+solid.md +3 -1
  1297. package/docs/uk/intlayer_with_tanstack.md +1 -1
  1298. package/docs/uk/intlayer_with_vite+lit.md +1 -1
  1299. package/docs/uk/intlayer_with_vite+preact.md +57 -57
  1300. package/docs/uk/intlayer_with_vite+react.md +49 -49
  1301. package/docs/uk/intlayer_with_vite+react_compiler.md +1 -1
  1302. package/docs/uk/intlayer_with_vite+solid.md +33 -42
  1303. package/docs/uk/intlayer_with_vite+svelte.md +29 -29
  1304. package/docs/uk/intlayer_with_vite+vanilla.md +1 -1
  1305. package/docs/uk/intlayer_with_vite+vue.md +49 -101
  1306. package/docs/uk/mcp_server.md +22 -0
  1307. package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
  1308. package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
  1309. package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
  1310. package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1311. package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
  1312. package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
  1313. package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
  1314. package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
  1315. package/docs/uk/releases/v6.md +4 -0
  1316. package/docs/uk/releases/v7.md +4 -0
  1317. package/docs/uk/releases/v9.md +37 -1
  1318. package/docs/vi/autoFill.md +20 -0
  1319. package/docs/vi/benchmark/solid.md +22 -0
  1320. package/docs/vi/benchmark/svelte.md +22 -0
  1321. package/docs/vi/benchmark/tanstack.md +22 -0
  1322. package/docs/vi/cli/ci.md +22 -0
  1323. package/docs/vi/cli/fill.md +8 -0
  1324. package/docs/vi/cli/login.md +0 -36
  1325. package/docs/vi/compat/i18n-js.md +44 -0
  1326. package/docs/vi/compat/i18next.md +59 -0
  1327. package/docs/vi/compat/index.md +51 -0
  1328. package/docs/vi/compat/lingui.md +44 -0
  1329. package/docs/vi/compat/next-i18next.md +57 -0
  1330. package/docs/vi/compat/next-intl.md +59 -0
  1331. package/docs/vi/compat/next-translate.md +45 -0
  1332. package/docs/vi/compat/ngx-translate.md +45 -0
  1333. package/docs/vi/compat/nuxtjs-i18n.md +46 -0
  1334. package/docs/vi/compat/polyglot.md +45 -0
  1335. package/docs/vi/compat/react-i18next.md +58 -0
  1336. package/docs/vi/compat/react-intl.md +55 -0
  1337. package/docs/vi/compat/svelte-i18n.md +47 -0
  1338. package/docs/vi/compat/transloco.md +45 -0
  1339. package/docs/vi/compat/vue-i18n.md +58 -0
  1340. package/docs/vi/compiler.md +3 -1
  1341. package/docs/vi/configuration.md +19 -17
  1342. package/docs/vi/custom_domains.md +1 -1
  1343. package/docs/vi/custom_url_rewrites.md +1 -1
  1344. package/docs/vi/dictionary/content_file.md +0 -7
  1345. package/docs/vi/dictionary/enumeration.md +0 -199
  1346. package/docs/vi/dictionary/insertion.md +0 -2
  1347. package/docs/vi/dictionary/nesting.md +39 -0
  1348. package/docs/vi/dictionary/translation.md +0 -61
  1349. package/docs/vi/formatters.md +124 -0
  1350. package/docs/vi/interest_of_intlayer.md +193 -0
  1351. package/docs/vi/intlayer_with_analog.md +4 -0
  1352. package/docs/vi/intlayer_with_astro.md +130 -3
  1353. package/docs/vi/intlayer_with_astro_lit.md +1 -1
  1354. package/docs/vi/intlayer_with_astro_preact.md +1 -1
  1355. package/docs/vi/intlayer_with_astro_react.md +1 -1
  1356. package/docs/vi/intlayer_with_astro_solid.md +1 -1
  1357. package/docs/vi/intlayer_with_astro_svelte.md +1 -1
  1358. package/docs/vi/intlayer_with_astro_vanilla.md +1 -1
  1359. package/docs/vi/intlayer_with_astro_vue.md +1 -1
  1360. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  1361. package/docs/vi/intlayer_with_nextjs_15.md +469 -1
  1362. package/docs/vi/intlayer_with_nextjs_16.md +1 -1
  1363. package/docs/vi/intlayer_with_nextjs_compiler.md +1 -22
  1364. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1 -1
  1365. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  1366. package/docs/vi/intlayer_with_nuxt.md +0 -27
  1367. package/docs/vi/intlayer_with_react_native+expo.md +8 -61
  1368. package/docs/vi/intlayer_with_react_router_v7.md +1 -95
  1369. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -103
  1370. package/docs/vi/intlayer_with_svelte_kit.md +1 -207
  1371. package/docs/vi/intlayer_with_tanstack+solid.md +3 -1
  1372. package/docs/vi/intlayer_with_tanstack.md +1 -1
  1373. package/docs/vi/intlayer_with_vite+lit.md +1 -1
  1374. package/docs/vi/intlayer_with_vite+preact.md +57 -57
  1375. package/docs/vi/intlayer_with_vite+react.md +49 -49
  1376. package/docs/vi/intlayer_with_vite+react_compiler.md +1 -1
  1377. package/docs/vi/intlayer_with_vite+solid.md +33 -42
  1378. package/docs/vi/intlayer_with_vite+svelte.md +29 -31
  1379. package/docs/vi/intlayer_with_vite+vanilla.md +1 -1
  1380. package/docs/vi/intlayer_with_vite+vue.md +49 -101
  1381. package/docs/vi/mcp_server.md +22 -0
  1382. package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
  1383. package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
  1384. package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
  1385. package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1386. package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
  1387. package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
  1388. package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
  1389. package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
  1390. package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
  1391. package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
  1392. package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
  1393. package/docs/vi/releases/v6.md +4 -0
  1394. package/docs/vi/releases/v7.md +128 -0
  1395. package/docs/vi/releases/v9.md +37 -1
  1396. package/docs/zh/CI_CD.md +1 -1
  1397. package/docs/zh/autoFill.md +81 -0
  1398. package/docs/zh/benchmark/solid.md +22 -0
  1399. package/docs/zh/benchmark/svelte.md +22 -0
  1400. package/docs/zh/benchmark/tanstack.md +22 -0
  1401. package/docs/zh/cli/ci.md +22 -0
  1402. package/docs/zh/cli/fill.md +8 -0
  1403. package/docs/zh/cli/login.md +0 -36
  1404. package/docs/zh/compat/i18n-js.md +44 -0
  1405. package/docs/zh/compat/i18next.md +59 -0
  1406. package/docs/zh/compat/index.md +51 -0
  1407. package/docs/zh/compat/lingui.md +44 -0
  1408. package/docs/zh/compat/next-i18next.md +57 -0
  1409. package/docs/zh/compat/next-intl.md +59 -0
  1410. package/docs/zh/compat/next-translate.md +45 -0
  1411. package/docs/zh/compat/ngx-translate.md +45 -0
  1412. package/docs/zh/compat/nuxtjs-i18n.md +46 -0
  1413. package/docs/zh/compat/polyglot.md +45 -0
  1414. package/docs/zh/compat/react-i18next.md +58 -0
  1415. package/docs/zh/compat/react-intl.md +55 -0
  1416. package/docs/zh/compat/svelte-i18n.md +47 -0
  1417. package/docs/zh/compat/transloco.md +45 -0
  1418. package/docs/zh/compat/vue-i18n.md +58 -0
  1419. package/docs/zh/compiler.md +3 -1
  1420. package/docs/zh/configuration.md +19 -17
  1421. package/docs/zh/custom_domains.md +1 -1
  1422. package/docs/zh/custom_url_rewrites.md +14 -16
  1423. package/docs/zh/dictionary/content_file.md +16 -20
  1424. package/docs/zh/dictionary/enumeration.md +0 -187
  1425. package/docs/zh/dictionary/function_fetching.md +0 -27
  1426. package/docs/zh/dictionary/insertion.md +0 -64
  1427. package/docs/zh/dictionary/nesting.md +39 -0
  1428. package/docs/zh/dictionary/translation.md +0 -84
  1429. package/docs/zh/formatters.md +77 -0
  1430. package/docs/zh/how_works_intlayer.md +4 -4
  1431. package/docs/zh/intlayer_CMS.md +21 -0
  1432. package/docs/zh/intlayer_with_analog.md +4 -170
  1433. package/docs/zh/intlayer_with_angular_19.md +0 -248
  1434. package/docs/zh/intlayer_with_astro.md +242 -60
  1435. package/docs/zh/intlayer_with_astro_lit.md +108 -74
  1436. package/docs/zh/intlayer_with_astro_preact.md +102 -68
  1437. package/docs/zh/intlayer_with_astro_react.md +104 -70
  1438. package/docs/zh/intlayer_with_astro_solid.md +104 -70
  1439. package/docs/zh/intlayer_with_astro_svelte.md +104 -70
  1440. package/docs/zh/intlayer_with_astro_vanilla.md +101 -69
  1441. package/docs/zh/intlayer_with_astro_vue.md +96 -62
  1442. package/docs/zh/intlayer_with_create_react_app.md +0 -305
  1443. package/docs/zh/intlayer_with_express.md +0 -23
  1444. package/docs/zh/intlayer_with_lynx+react.md +0 -275
  1445. package/docs/zh/intlayer_with_nestjs.md +0 -18
  1446. package/docs/zh/intlayer_with_nextjs_14.md +63 -25
  1447. package/docs/zh/intlayer_with_nextjs_15.md +64 -14
  1448. package/docs/zh/intlayer_with_nextjs_16.md +129 -87
  1449. package/docs/zh/intlayer_with_nextjs_compiler.md +152 -140
  1450. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1 -1
  1451. package/docs/zh/intlayer_with_nextjs_page_router.md +51 -15
  1452. package/docs/zh/intlayer_with_nuxt.md +0 -162
  1453. package/docs/zh/intlayer_with_react_native+expo.md +36 -187
  1454. package/docs/zh/intlayer_with_react_router_v7.md +1 -342
  1455. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -332
  1456. package/docs/zh/intlayer_with_storybook.md +0 -240
  1457. package/docs/zh/intlayer_with_svelte_kit.md +1 -549
  1458. package/docs/zh/intlayer_with_tanstack+solid.md +1 -646
  1459. package/docs/zh/intlayer_with_tanstack.md +1 -644
  1460. package/docs/zh/intlayer_with_vanilla.md +0 -283
  1461. package/docs/zh/intlayer_with_vite+lit.md +1 -411
  1462. package/docs/zh/intlayer_with_vite+preact.md +1 -241
  1463. package/docs/zh/intlayer_with_vite+react.md +2 -2
  1464. package/docs/zh/intlayer_with_vite+react_compiler.md +1 -192
  1465. package/docs/zh/intlayer_with_vite+solid.md +1 -306
  1466. package/docs/zh/intlayer_with_vite+svelte.md +104 -78
  1467. package/docs/zh/intlayer_with_vite+vanilla.md +1 -442
  1468. package/docs/zh/intlayer_with_vite+vue.md +95 -136
  1469. package/docs/zh/mcp_server.md +26 -0
  1470. package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
  1471. package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
  1472. package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
  1473. package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1474. package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
  1475. package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
  1476. package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
  1477. package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
  1478. package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
  1479. package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
  1480. package/docs/zh/releases/v6.md +28 -0
  1481. package/docs/zh/releases/v7.md +128 -0
  1482. package/docs/zh/releases/v8.md +190 -0
  1483. package/docs/zh/releases/v9.md +37 -1
  1484. package/docs/zh/roadmap.md +6 -0
  1485. package/docs/zh/vs_code_extension.md +0 -7
  1486. package/frequent_questions/pt/translated_path_url.md +1 -1
  1487. package/package.json +6 -6
@@ -58,68 +58,6 @@ author: aymericzip
58
58
 
59
59
  请参阅 GitHub 上的[应用模板](https://github.com/aymericzip/intlayer-react-native-template)。
60
60
 
61
- ## 为什么选择 Inlayer 而不是替代品?
62
-
63
- 与“react-native-localize”或“i18next”等主要解决方案相比,Intlayer 是一个具有集成优化的解决方案,例如:
64
-
65
- **完整的 React Native 覆盖**
66
-
67
- Intlayer 经过优化,可与 React Native 和 Expo 完美配合,提供**组件级内容范围**、**TypeScript 支持**以及移动应用中扩展国际化 (i18n) 所需的所有功能。
68
-
69
- **可维护性**
70
-
71
- 确定应用程序内容的范围**有利于大型应用程序的维护**。您可以复制或删除单个功能文件夹,而无需承担检查整个内容代码库的精神负担。此外,Intlayer 具有**完全类型化 (fully typed)**,以确保您的内容的准确性。
72
-
73
- **人工智能代理**
74
-
75
- 共置内容**减少大型语言模型 (LLM) 所需的上下文**。 Intlayer 还附带了一套工具,例如用于测试缺失翻译的 **CLI**、**[LSP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/lsp.md)**、**[MCP](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/mcp_server.md)** 和 **[agent技能](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/agent_skills.md)**,使 AI 代理的开发者体验 (DX) 更加流畅。
76
-
77
- **自动化**
78
-
79
- 使用您选择的法学硕士,通过自动化在 CI/CD 管道中进行翻译,而费用由您的 AI 提供商承担。 Intlayer 还提供了一个**编译器**来自动提取内容,以及一个[网络平台](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)来帮助**在后台翻译**。
80
-
81
- **表现**
82
-
83
- 将大量 JSON 文件连接到组件可能会导致性能和反应性问题。 Intlayer 可在构建时 (build time)优化您的内容加载。
84
-
85
- **无需开发即可扩展**
86
-
87
- Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_visual_editor.md)**和一个**[完整的 CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_CMS.md)** 来帮助您管理多语言内容**实时**,与译员、文案人员和其他团队成员无缝协作。内容可以本地和/或远程存储。
88
-
89
- **捆绑尺寸**
90
-
91
- 不要将大量 JSON 文件加载到页面中,而只需加载必要的内容。 Intlayer 有助于**将捆绑包和视图大小减少多达 50%**。
92
-
93
- ## 第 1 步:安装依赖项
94
-
95
- 请参阅 GitHub 上的[应用程序模板](https://github.com/aymericzip/intlayer-react-native-template)。
96
-
97
- 从您的 React Native 项目中,安装以下软件包:
98
-
99
- ```bash packageManager =“npm”
100
- npm install intlayer React-intlayer
101
- npm install --save-dev react-native-intlayer
102
- npx 层初始化
103
- ```
104
-
105
- ```bash packageManager="pnpm"
106
- pnpm 添加 intlayer 反应 inlayer
107
- pnpm add --save-dev react-native-intlayer
108
- pnpm 内层初始化
109
- ```
110
-
111
- ```bash packageManager =“纱线”
112
- 纱线添加内层反应内层
113
- 纱线添加--save-dev反应-native-intlayer
114
- 纱线内层初始化
115
- ```
116
-
117
- ```bash packageManager =“bun”
118
- 面包添加内层反应内层
119
- Bun 添加 --dev React-Native-intlayer
120
- 面包x内层初始化
121
- ```
122
-
123
61
  ### 套餐
124
62
 
125
63
  - **内层**
@@ -177,66 +115,6 @@ bun add intlayer react-intlayer
177
115
  bun add --dev react-native-intlayer
178
116
  ```
179
117
 
180
- ### 包说明
181
-
182
- - **intlayer**
183
- 核心的国际化工具包,用于配置、词典内容、类型生成和命令行工具。
184
-
185
- - **react-intlayer**
186
- React 集成,提供上下文提供者和 React 钩子,供你在 React Native 中获取和切换语言环境。
187
-
188
- - **react-native-intlayer**
189
- React Native 集成,提供 Metro 插件,用于将 Intlayer 集成到 React Native 打包工具中。
190
-
191
- ---
192
-
193
- ## 第二步:创建 Intlayer 配置文件
194
-
195
- 在你的项目根目录(或任何方便的位置),创建一个 **Intlayer 配置** 文件。它可能看起来像这样:
196
-
197
- ```ts fileName="intlayer.config.ts" codeFormat={["typescript", "esm", "commonjs"]}
198
- /**
199
- * 如果 Locales 类型不可用,尝试在你的 tsconfig.json 中将 moduleResolution 设置为 "bundler"
200
- */
201
- import { Locales, type IntlayerConfig } from "intlayer";
202
-
203
- const config: IntlayerConfig = {
204
- internationalization: {
205
- locales: [
206
- Locales.ENGLISH,
207
- Locales.FRENCH,
208
- Locales.SPANISH,
209
- // ... 添加你需要的其他语言环境
210
- ],
211
- defaultLocale: Locales.ENGLISH,
212
- },
213
- };
214
-
215
- export default config;
216
- ```
217
-
218
- 在此配置中,您可以:
219
-
220
- - 配置您的**支持语言列表**。
221
- - 设置一个**默认**语言环境。
222
- - 以后,您可以添加更高级的选项(例如,日志、自定义内容目录等)。
223
- - 更多信息请参见[Intlayer 配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
224
-
225
- ## 第3步:添加 Metro 插件
226
-
227
- Metro 是 React Native 的打包工具。它是通过 `react-native init` 命令创建的 React Native 项目的默认打包工具。要在 Metro 中使用 Intlayer,您需要将插件添加到您的 `metro.config.js` 文件中:
228
-
229
- ```js fileName="metro.config.js"
230
- const { getDefaultConfig } = require("expo/metro-config");
231
- const { configMetroIntlayer } = require("react-native-intlayer/metro");
232
-
233
- module.exports = (async () => {
234
- const defaultConfig = getDefaultConfig(__dirname);
235
-
236
- return await configMetroIntlayer(defaultConfig);
237
- })();
238
- ```
239
-
240
118
  ## 第4步:添加 Intlayer 提供者
241
119
 
242
120
  为了在您的应用程序中保持用户语言的同步,您需要使用来自 `react-intlayer-native` 的 `IntlayerProvider` 组件包裹您的根组件。
@@ -284,6 +162,14 @@ export default RootLayout;
284
162
 
285
163
  ## 第5步:声明您的内容
286
164
 
165
+ > **Expo Router (web): 请将 `.content.*` 文件保留在 `app/` 目录之外。** Expo Router 会将 `app/` 内的每个 JavaScript/TypeScript 文件视为一个路由。在 web 上,它的路由发现会直接扫描文件系统,并且 **不** 遵循 Metro 的 `resolver.blockList`,因此同位置的 `*.content.ts` 会被注册为一个路由。像 `app/(tabs)/_layout.content.ts` 这样的文件甚至会被解析为布局(`.content` 部分被读取为平台后缀),这会与实际的 `_layout.tsx` 发生冲突并抛出错误:
166
+ >
167
+ > ```
168
+ > The layouts "./(tabs)/_layout.content.ts" and "./(tabs)/_layout.tsx" conflict on the route "/(tabs)/_layout.content". Remove or rename one of these files.
169
+ > ```
170
+ >
171
+ > 请将您的声明放置在 `app/` 之外的目录中(例如 `content/` 或 `src/content/`)。Intlayer 会发现项目中任意位置的 `.content.*` 文件,字典通过它们的 `key` 进行引用,因此不需要进行任何导入更改。在原生端这不是必需的(Metro 的 `blockList` 已经隐藏了它们),但使用非 `app/` 目录可确保这两个平台都能正常工作。
172
+
287
173
  ````
288
174
 
289
175
  ```jsx fileName="app/_layout.cjx" codeFormat="commonjs"
@@ -308,71 +194,6 @@ const RootLayout = () => {
308
194
  module.exports = RootLayout;
309
195
  ````
310
196
 
311
- ## 第5步:声明您的内容
312
-
313
- 在项目中的任意位置(通常在 `src/` 目录下)创建**内容声明**文件,使用 Intlayer 支持的任何扩展名格式:
314
-
315
- - `.content.json`
316
- - `.content.ts`
317
- - `.content.tsx`
318
- - `.content.js`
319
- - `.content.jsx`
320
- - `.content.mjs`
321
- - `.content.mjx`
322
- - `.content.cjs`
323
- - `.content.cjx`
324
- - 等等。
325
-
326
- 示例(使用带有 React Native TSX 节点的 TypeScript):
327
-
328
- ```tsx fileName="src/app.content.tsx" contentDeclarationFormat={["typescript", "esm", "commonjs"]}
329
- import { t, type Dictionary } from "intlayer";
330
- import type { ReactNode } from "react";
331
-
332
- /**
333
- * 我们的 "app" 域的内容字典
334
- */
335
- import { t, type Dictionary } from "intlayer";
336
-
337
- const homeScreenContent = {
338
- key: "home-screen",
339
- content: {
340
- title: t({
341
- en: "Welcome!",
342
- fr: "Bienvenue!",
343
- es: "¡Bienvenido!",
344
- }),
345
- },
346
- } satisfies Dictionary;
347
-
348
- export default homeScreenContent;
349
- ```
350
-
351
- ```json fileName="src/app.content.json" contentDeclarationFormat="json"
352
- {
353
- "$schema": "https://intlayer.org/schema.json",
354
- "key": "app",
355
- "content": {
356
- "title": {
357
- "nodeType": "translation",
358
- "translation": {
359
- "en": "Welcome!",
360
- "fr": "Bienvenue!",
361
- "es": "¡Bienvenido!"
362
- }
363
- }
364
- }
365
- }
366
- ```
367
-
368
- > 有关内容声明的详细信息,请参阅 [Intlayer 内容文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
369
-
370
- ---
371
-
372
- ## 第4步:在组件中使用 Intlayer
373
-
374
- 在子组件中使用 `useIntlayer` 钩子以获取本地化内容。
375
-
376
197
  ### 示例
377
198
 
378
199
  ```tsx fileName="app/(tabs)/index.tsx" codeFormat={["typescript", "esm"]}
@@ -541,3 +362,31 @@ Intlayer 会在一个隐藏文件夹中(默认是 `.intlayer`)生成类型
541
362
  享受通过 **Intlayer** 为您的 **React Native** 应用构建强大国际化支持的乐趣!
542
363
 
543
364
  ---
365
+
366
+ ### 调试
367
+
368
+ React Native 的稳定性不如 React Web,因此要特别注意版本对齐。
369
+
370
+ Intlayer 主要针对 Web Intl API;在 React Native 上,你必须包含适当的 polyfills。
371
+
372
+ 检查清单:
373
+
374
+ - 使用最新版本的 `intlayer`、`react-intlayer` 和 `react-native-intlayer`。
375
+ - 启用 Intlayer polyfill。
376
+ - 如果你使用 `getLocaleName` 或其他基于 Intl-API 的工具,请提前导入这些 polyfills(例如在 `index.js` 或 `App.tsx` 中):
377
+
378
+ ```ts
379
+ import "intl";
380
+ import "@formatjs/intl-getcanonicallocales/polyfill";
381
+ import "@formatjs/intl-locale/polyfill";
382
+ import "@formatjs/intl-pluralrules/polyfill";
383
+ import "@formatjs/intl-displaynames/polyfill";
384
+ import "@formatjs/intl-listformat/polyfill";
385
+ import "@formatjs/intl-numberformat/polyfill";
386
+ import "@formatjs/intl-relativetimeformat/polyfill";
387
+ import "@formatjs/intl-datetimeformat/polyfill";
388
+ ```
389
+
390
+ - 如果模块无法解析,请验证你的 Metro 配置(resolver 别名、asset 插件、`tsconfig` 路径)。
391
+
392
+ ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-09-04
3
- updatedAt: 2026-05-31
3
+ updatedAt: 2026-06-23
4
4
  title: "React Router v7 i18n - 翻译你的应用的完整指南"
5
5
  description: "告别 i18next。2026 年构建多语言 (i18n) React Router v7 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
@@ -81,8 +81,6 @@ Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的
81
81
 
82
82
  ---
83
83
 
84
- ## 在 React Router v7 应用中设置 Intlayer 的分步指南
85
-
86
84
  ### 第一步:安装依赖
87
85
 
88
86
  使用您喜欢的包管理器安装必要的包:
@@ -137,8 +135,6 @@ bun add vite-intlayer --dev
137
135
  - **vite-intlayer**
138
136
  包含用于将 Intlayer 集成到 [Vite 打包工具](https://vite.dev/guide/why.html#why-bundle-for-production) 的 Vite 插件,以及用于检测用户首选语言、管理 Cookie 和处理 URL 重定向的中间件。
139
137
 
140
- ### 第 2 步:项目配置
141
-
142
138
  ## 在 React Router v7 应用程序中使用基于文件系统的路由设置 Intlayer 的分步指南
143
139
 
144
140
  <Tabs defaultTab="video">
@@ -190,39 +186,6 @@ export default config;
190
186
 
191
187
  > 通过此配置文件,您可以设置本地化的 URL、中间件重定向、cookie 名称、内容声明的位置和扩展名,禁用控制台中的 Intlayer 日志等。有关可用参数的完整列表,请参阅[配置文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)。
192
188
 
193
- ### 第三步:在您的 Vite 配置中集成 Intlayer
194
-
195
- 将 intlayer 插件添加到您的配置中:
196
-
197
- ```typescript fileName="vite.config.ts"
198
- import { reactRouter } from "@react-router/dev/vite";
199
- import { defineConfig } from "vite";
200
- import { intlayer } from "vite-intlayer";
201
-
202
- export default defineConfig({
203
- plugins: [reactRouter(), intlayer()],
204
- });
205
- ```
206
-
207
- > `intlayer()` Vite 插件用于将 Intlayer 集成到 Vite 中。它确保内容声明文件的构建,并在开发模式下监视这些文件。它在 Vite 应用中定义了 Intlayer 的环境变量。此外,它还提供别名以优化性能。
208
-
209
- ### 第4步:配置 React Router v7 路由
210
-
211
- 设置支持多语言的路由配置:
212
-
213
- ```typescript fileName="app/routes.ts"
214
- import { layout, route, type RouteConfig } from "@react-router/dev/routes";
215
-
216
- export default [
217
- route("/:lang?", "routes/page.tsx"), // 本地化主页
218
- route("/:lang?/about", "routes/about/page.tsx"), // 本地化关于页面
219
- ] satisfies RouteConfig;
220
- ```
221
-
222
- ### 第5步:创建布局组件
223
-
224
- 设置根布局和特定语言环境的布局:
225
-
226
189
  #### 根布局
227
190
 
228
191
  ```tsx fileName="app/root.tsx"
@@ -273,222 +236,6 @@ export function Layout({
273
236
  }
274
237
  ```
275
238
 
276
- ### 第6步:声明您的内容
277
-
278
- 创建并管理您的内容声明以存储翻译:
279
-
280
- ```tsx fileName="app/routes/[lang]/page.content.ts"
281
- import { t, type Dictionary } from "intlayer";
282
-
283
- const pageContent = {
284
- key: "page",
285
- content: {
286
- title: t({
287
- en: "Welcome to React Router v7 + Intlayer",
288
- es: "Bienvenido a React Router v7 + Intlayer",
289
- fr: "Bienvenue sur React Router v7 + Intlayer",
290
- }),
291
- description: t({
292
- en: "Build multilingual applications with ease using React Router v7 and Intlayer.",
293
- es: "Cree aplicaciones multilingües fácilmente usando React Router v7 y Intlayer.",
294
- fr: "Créez des applications multilingues facilement avec React Router v7 et Intlayer.",
295
- }),
296
- aboutLink: t({
297
- en: "了解我们",
298
- es: "Aprender Sobre Nosotros",
299
- fr: "En savoir plus sur nous",
300
- }),
301
- homeLink: t({
302
- en: "首页",
303
- es: "Inicio",
304
- fr: "Accueil",
305
- }),
306
- },
307
- } satisfies Dictionary;
308
-
309
- export default pageContent;
310
- ```
311
-
312
- > 您的内容声明可以定义在应用程序中的任何位置,只要它们被包含在 `contentDir` 目录中(默认是 `./app`)。并且文件扩展名需匹配内容声明文件扩展名(默认是 `.content.{json,ts,tsx,js,jsx,mjs,cjs,md,mdx,yaml,yml}`)。
313
-
314
- > 更多详情,请参阅[内容声明文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)。
315
-
316
- ### 第7步:创建支持多语言的组件
317
-
318
- 创建一个 `LocalizedLink` 组件,用于支持多语言的导航:
319
-
320
- ```tsx fileName="app/components/localized-link.tsx"
321
- import type { FC } from "react";
322
-
323
- import { getLocalizedUrl, type LocalesValues } from "intlayer";
324
- import { useLocale } from "react-intlayer";
325
- import { Link, type LinkProps, type To } from "react-router";
326
-
327
- const isExternalLink = (to: string) => /^(https?:)?\/\//.test(to); // 判断是否为外部链接
328
-
329
- export const locacalizeTo = (to: To, locale: LocalesValues): To => {
330
- if (typeof to === "string") {
331
- if (isExternalLink(to)) {
332
- return to; // 如果是外部链接,直接返回
333
- }
334
-
335
- return getLocalizedUrl(to, locale); // 获取本地化的URL
336
- }
337
-
338
- if (isExternalLink(to.pathname ?? "")) {
339
- return to; // 如果路径名是外部链接,直接返回
340
- }
341
-
342
- return {
343
- ...to,
344
- pathname: getLocalizedUrl(to.pathname ?? "", locale), // 本地化路径名
345
- };
346
- };
347
-
348
- export const LocalizedLink: FC<LinkProps> = (props) => {
349
- const { locale } = useLocale(); // 获取当前语言环境
350
-
351
- return <Link {...props} to={locacalizeTo(props.to, locale)} />;
352
- };
353
- ```
354
-
355
- 如果你想导航到本地化路由,可以使用 `useLocalizedNavigate` 钩子:
356
-
357
- ```tsx fileName="app/hooks/useLocalizedNavigate.ts"
358
- import { useLocale } from "react-intlayer";
359
- import { type NavigateOptions, type To, useNavigate } from "react-router";
360
-
361
- import { locacalizeTo } from "~/components/localized-link";
362
-
363
- export const useLocalizedNavigate = () => {
364
- const navigate = useNavigate();
365
- const { locale } = useLocale();
366
-
367
- const localizedNavigate = (to: To, options?: NavigateOptions) => {
368
- const localedTo = locacalizeTo(to, locale);
369
-
370
- navigate(localedTo, options);
371
- };
372
-
373
- return localizedNavigate;
374
- };
375
- ```
376
-
377
- ### 第8步:在你的页面中使用 Intlayer
378
-
379
- 在您的整个应用程序中访问内容字典:
380
-
381
- #### 本地化主页
382
-
383
- ```tsx fileName="app/routes/page.tsx"
384
- import { getIntlayer, validatePrefix } from "intlayer";
385
- import { useIntlayer } from "react-intlayer";
386
- import { data } from "react-router";
387
-
388
- import { LocaleSwitcher } from "~/components/locale-switcher";
389
-
390
- import { Navbar } from "~/components/navbar";
391
- import type { Route } from "./+types/page";
392
-
393
- export const loader = ({ params }: Route.LoaderArgs) => {
394
- const { locale } = params;
395
-
396
- const { isValid } = validatePrefix(locale);
397
-
398
- if (!isValid) {
399
- throw data("Locale not supported", { status: 404 });
400
- }
401
- };
402
-
403
- export const meta: Route.MetaFunction = ({ params }) => {
404
- const content = getIntlayer("page", params.locale);
405
-
406
- return [
407
- { title: content.title },
408
- { content: content.description, name: "description" },
409
- ];
410
- };
411
-
412
- export default function Page() {
413
- const { title, description, aboutLink } = useIntlayer("page");
414
-
415
- return (
416
- <div>
417
- <h1>{title}</h1>
418
- <p>{description}</p>
419
- <nav>
420
- <LocalizedLink to="/about">{aboutLink}</LocalizedLink>
421
- </nav>
422
- </div>
423
- );
424
- }
425
- ```
426
-
427
- > 想了解更多关于 `useIntlayer` 钩子的内容,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)。
428
-
429
- > 如果您的应用程序已经存在,您可以结合使用 [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) 在一秒钟内转换成干个组件。
430
-
431
- ### 第9步:创建语言切换组件
432
-
433
- 创建一个组件,允许用户切换语言:
434
-
435
- ```tsx fileName="app/components/locale-switcher.tsx"
436
- import type { FC } from "react";
437
-
438
- import {
439
- getHTMLTextDir,
440
- getLocaleName,
441
- getLocalizedUrl,
442
- getPathWithoutLocale,
443
- Locales,
444
- } from "intlayer";
445
- import { setLocaleInStorage, useIntlayer, useLocale } from "react-intlayer";
446
- import { Link, useLocation } from "react-router";
447
-
448
- export const LocaleSwitcher: FC = () => {
449
- const { localeSwitcherLabel } = useIntlayer("locale-switcher"); // 使用 useIntlayer 钩子获取本地化标签
450
- const { pathname } = useLocation(); // 获取当前路径名
451
-
452
- const { availableLocales, locale } = useLocale(); // 获取可用语言和当前语言
453
-
454
- const pathWithoutLocale = getPathWithoutLocale(pathname); // 获取不带语言前缀的路径
455
-
456
- return (
457
- <ol>
458
- {availableLocales.map((localeItem) => (
459
- <li key={localeItem}>
460
- <Link
461
- aria-current={localeItem === locale ? "page" : undefined}
462
- aria-label={`${localeSwitcherLabel.value} ${getLocaleName(localeItem)}`}
463
- onClick={() => setLocale(localeItem)}
464
- to={getLocalizedUrl(pathWithoutLocale, localeItem)}
465
- >
466
- <span>
467
- {/* 语言环境 - 例如 FR */}
468
- {localeItem}
469
- </span>
470
- <span>
471
- {/* 语言在其自身语言环境中的名称 - 例如 Français */}
472
- {getLocaleName(localeItem, locale)}
473
- </span>
474
- <span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
475
- {/* 语言在当前语言环境中的名称 - 例如当前语言环境为 Locales.SPANISH 时显示 Francés */}
476
- {getLocaleName(localeItem)}
477
- </span>
478
- <span dir="ltr" lang={Locales.ENGLISH}>
479
- {/* 语言的英文名称 - 例如 French */}
480
- {getLocaleName(localeItem, Locales.ENGLISH)}
481
- </span>
482
- </Link>
483
- </li>
484
- ))}
485
- </ol>
486
- );
487
- };
488
- ```
489
-
490
- > 想了解更多关于 `useLocale` 钩子的内容,请参阅[文档](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)。
491
-
492
239
  ### 第10步:添加HTML属性管理(可选)
493
240
 
494
241
  创建一个钩子来管理HTML的 lang 和 dir 属性:
@@ -695,91 +442,3 @@ To go further, you can implement the [visual editor](https://github.com/aymericz
695
442
  - [Configuration](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/configuration.md)
696
443
 
697
444
  This comprehensive guide provides everything you need to integrate Intlayer with React Router v7 for a fully internationalized application with locale-aware routing and TypeScript support.
698
-
699
- ### 第11步:添加中间件(可选)
700
-
701
- 你也可以使用 `intlayerProxy` 为你的应用添加服务器端路由。该插件会根据 URL 自动检测当前的语言环境,并设置相应的语言环境 cookie。如果未指定语言环境,插件将根据用户浏览器的语言偏好确定最合适的语言环境。如果仍未检测到语言环境,则会重定向到默认语言环境。
702
-
703
- > 注意,要在生产环境中使用 `intlayerProxy`,你需要将 `vite-intlayer` 包从 `devDependencies` 切换到 `dependencies`。
704
-
705
- ```typescript {3,7} fileName="vite.config.ts"
706
- import { reactRouter } from "@react-router/dev/vite";
707
- import { defineConfig } from "vite";
708
- import { intlayer, intlayerProxy } from "vite-intlayer";
709
-
710
- export default defineConfig({
711
- plugins: [
712
- intlayerProxy(), // should be placed first
713
- reactRouter(),
714
-
715
- intlayer(),
716
- ],
717
- });
718
- ```
719
-
720
- ---
721
-
722
- ## 配置 TypeScript
723
-
724
- Intlayer 使用模块增强来利用 TypeScript 的优势,使您的代码库更强大。
725
-
726
- 确保您的 TypeScript 配置包含自动生成的类型:
727
-
728
- ```json5 fileName="tsconfig.json"
729
- {
730
- // ... 您现有的配置
731
- include: [
732
- // ... 您现有的包含项
733
- ".intlayer/**/*.ts", // 包含自动生成的类型
734
- ],
735
- }
736
- ```
737
-
738
- ---
739
-
740
- ## Git 配置
741
-
742
- 建议忽略 Intlayer 生成的文件,这样可以避免将它们提交到您的 Git 仓库。
743
-
744
- 为此,您可以在 `.gitignore` 文件中添加以下指令:
745
-
746
- ```plaintext fileName=".gitignore"
747
- # 忽略 Intlayer 生成的文件
748
- .intlayer
749
- ```
750
-
751
- ---
752
-
753
- ## VS Code 扩展
754
-
755
- 为了提升您使用 Intlayer 的开发体验,您可以安装官方的 **Intlayer VS Code 扩展**。
756
-
757
- [从 VS Code 市场安装](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
758
-
759
- 该扩展提供:
760
-
761
- - 翻译键的**自动补全**。
762
- - 缺失翻译的**实时错误检测**。
763
- - 翻译内容的**内联预览**。
764
- - 轻松创建和更新翻译的**快速操作**。
765
-
766
- 有关如何使用该扩展的更多详细信息,请参阅 [Intlayer VS Code 扩展文档](https://intlayer.org/doc/vs-code-extension)。
767
-
768
- ---
769
-
770
- ## 深入了解
771
-
772
- 要更进一步,您可以实现[可视化编辑器](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_visual_editor.md)或使用[内容管理系统(CMS)](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/intlayer_CMS.md)来外部化您的内容。
773
-
774
- ---
775
-
776
- ## 文档参考
777
-
778
- - [Intlayer 文档](https://intlayer.org)
779
- - [React Router v7 文档](https://reactrouter.com/)
780
- - [useIntlayer 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useIntlayer.md)
781
- - [useLocale 钩子](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/packages/react-intlayer/useLocale.md)
782
- - [内容声明](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/dictionary/content_file.md)
783
- - [配置](https://github.com/aymericzip/intlayer/blob/main/docs/docs/zh/configuration.md)
784
-
785
- 本综合指南提供了将 Intlayer 与 React Router v7 集成所需的一切,支持完全国际化的应用程序,具备基于区域设置的路由和 TypeScript 支持。