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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1505) hide show
  1. package/blog/ar/intlayer_with_i18next.md +4 -0
  2. package/blog/ar/intlayer_with_next-i18next.md +0 -11
  3. package/blog/ar/intlayer_with_next-intl.md +4 -0
  4. package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +35 -28
  5. package/blog/ar/rag_powered_documentation_assistant.md +13 -0
  6. package/blog/ar/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  7. package/blog/ar/vue-i18n_vs_intlayer.md +8 -0
  8. package/blog/de/intlayer_with_i18next.md +4 -0
  9. package/blog/de/intlayer_with_next-i18next.md +0 -11
  10. package/blog/de/intlayer_with_next-intl.md +4 -0
  11. package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
  12. package/blog/de/rag_powered_documentation_assistant.md +0 -193
  13. package/blog/de/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  14. package/blog/de/vue-i18n_vs_intlayer.md +8 -0
  15. package/blog/en-GB/intlayer_with_i18next.md +4 -0
  16. package/blog/en-GB/intlayer_with_next-i18next.md +0 -11
  17. package/blog/en-GB/intlayer_with_next-intl.md +4 -0
  18. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  19. package/blog/en-GB/react-i18next_vs_react-intl_vs_intlayer.md +14 -0
  20. package/blog/en-GB/vue-i18n_vs_intlayer.md +16 -0
  21. package/blog/es/intlayer_with_i18next.md +4 -0
  22. package/blog/es/intlayer_with_next-i18next.md +0 -11
  23. package/blog/es/intlayer_with_next-intl.md +4 -0
  24. package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  25. package/blog/es/rag_powered_documentation_assistant.md +13 -0
  26. package/blog/es/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  27. package/blog/es/vue-i18n_vs_intlayer.md +8 -0
  28. package/blog/fr/i18n_meaning.md +95 -0
  29. package/blog/fr/intlayer_with_next-i18next.md +0 -11
  30. package/blog/fr/intlayer_with_next-intl.md +4 -0
  31. package/blog/fr/intlayer_with_react-i18next.md +0 -8
  32. package/blog/fr/list_i18n_technologies/frameworks/angular.md +0 -2
  33. package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  34. package/blog/fr/rag_powered_documentation_assistant.md +0 -62
  35. package/blog/fr/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  36. package/blog/fr/vue-i18n_vs_intlayer.md +8 -0
  37. package/blog/hi/intlayer_with_i18next.md +4 -0
  38. package/blog/hi/intlayer_with_next-i18next.md +0 -11
  39. package/blog/hi/intlayer_with_next-intl.md +4 -0
  40. package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +1256 -0
  41. package/blog/hi/rag_powered_documentation_assistant.md +13 -0
  42. package/blog/hi/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  43. package/blog/hi/vue-i18n_vs_intlayer.md +8 -0
  44. package/blog/id/internationalization_and_SEO.md +0 -91
  45. package/blog/id/intlayer_with_i18next.md +4 -0
  46. package/blog/id/intlayer_with_next-i18next.md +0 -11
  47. package/blog/id/intlayer_with_next-intl.md +4 -0
  48. package/blog/id/rag_powered_documentation_assistant.md +13 -0
  49. package/blog/it/intlayer_with_i18next.md +4 -0
  50. package/blog/it/intlayer_with_next-i18next.md +0 -11
  51. package/blog/it/intlayer_with_next-intl.md +4 -0
  52. package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
  53. package/blog/it/rag_powered_documentation_assistant.md +0 -195
  54. package/blog/it/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  55. package/blog/it/vue-i18n_vs_intlayer.md +8 -0
  56. package/blog/ja/intlayer_with_i18next.md +4 -0
  57. package/blog/ja/intlayer_with_next-i18next.md +0 -11
  58. package/blog/ja/intlayer_with_next-intl.md +4 -0
  59. package/blog/ja/l10n_platform_alternative/Lokalise.md +10 -0
  60. package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
  61. package/blog/ja/rag_powered_documentation_assistant.md +13 -0
  62. package/blog/ja/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  63. package/blog/ja/vue-i18n_vs_intlayer.md +8 -0
  64. package/blog/ko/intlayer_with_i18next.md +4 -0
  65. package/blog/ko/intlayer_with_next-i18next.md +0 -11
  66. package/blog/ko/intlayer_with_next-intl.md +4 -0
  67. package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +121 -18
  68. package/blog/ko/rag_powered_documentation_assistant.md +0 -194
  69. package/blog/ko/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  70. package/blog/ko/vue-i18n_vs_intlayer.md +8 -0
  71. package/blog/ko/what_is_internationalization.md +0 -4
  72. package/blog/pl/___per-component_vs_centralized_i18n.md +100 -0
  73. package/blog/pl/internationalization_and_SEO.md +0 -91
  74. package/blog/pl/intlayer_with_i18next.md +4 -0
  75. package/blog/pl/intlayer_with_next-i18next.md +0 -11
  76. package/blog/pl/intlayer_with_next-intl.md +4 -0
  77. package/blog/pl/l10n_platform_alternative/Lokalise.md +6 -0
  78. package/blog/pl/rag_powered_documentation_assistant.md +13 -0
  79. package/blog/pt/internationalization_and_SEO.md +1 -1
  80. package/blog/pt/intlayer_with_i18next.md +4 -0
  81. package/blog/pt/intlayer_with_next-i18next.md +0 -11
  82. package/blog/pt/intlayer_with_next-intl.md +4 -0
  83. package/blog/pt/intlayer_with_react-intl.md +0 -4
  84. package/blog/pt/l10n_platform_alternative/crowdin.md +0 -6
  85. package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +121 -28
  86. package/blog/pt/rag_powered_documentation_assistant.md +0 -195
  87. package/blog/pt/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  88. package/blog/pt/vue-i18n_vs_intlayer.md +8 -0
  89. package/blog/ru/intlayer_with_i18next.md +4 -0
  90. package/blog/ru/intlayer_with_next-i18next.md +0 -11
  91. package/blog/ru/intlayer_with_next-intl.md +4 -0
  92. package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +121 -36
  93. package/blog/ru/rag_powered_documentation_assistant.md +13 -0
  94. package/blog/ru/react-i18next_vs_react-intl_vs_intlayer.md +8 -0
  95. package/blog/ru/vue-i18n_vs_intlayer.md +8 -0
  96. package/blog/tr/intlayer_with_i18next.md +4 -0
  97. package/blog/tr/intlayer_with_next-i18next.md +0 -11
  98. package/blog/tr/intlayer_with_next-intl.md +4 -0
  99. package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +1189 -0
  100. package/blog/tr/rag_powered_documentation_assistant.md +0 -38
  101. package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +9 -0
  102. package/blog/uk/rag_powered_documentation_assistant.md +13 -0
  103. package/blog/vi/internationalization_and_SEO.md +0 -91
  104. package/blog/vi/intlayer_with_i18next.md +4 -0
  105. package/blog/vi/intlayer_with_next-i18next.md +0 -11
  106. package/blog/vi/intlayer_with_next-intl.md +4 -0
  107. package/blog/vi/rag_powered_documentation_assistant.md +13 -0
  108. package/blog/zh/intlayer_with_i18next.md +4 -47
  109. package/blog/zh/intlayer_with_next-i18next.md +0 -58
  110. package/blog/zh/intlayer_with_next-intl.md +4 -47
  111. package/blog/zh/intlayer_with_react-i18next.md +0 -47
  112. package/blog/zh/intlayer_with_react-intl.md +0 -47
  113. package/blog/zh/intlayer_with_vue-i18n.md +0 -47
  114. package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +121 -26
  115. package/blog/zh/nextjs-multilingual-seo-comparison.md +0 -30
  116. package/blog/zh/rag_powered_documentation_assistant.md +0 -191
  117. package/blog/zh/react-i18next_vs_react-intl_vs_intlayer.md +6 -0
  118. package/blog/zh/vue-i18n_vs_intlayer.md +8 -0
  119. package/docs/ar/CI_CD.md +4 -0
  120. package/docs/ar/autoFill.md +81 -0
  121. package/docs/ar/benchmark/solid.md +22 -0
  122. package/docs/ar/benchmark/svelte.md +22 -0
  123. package/docs/ar/benchmark/tanstack.md +22 -0
  124. package/docs/ar/cli/ci.md +22 -0
  125. package/docs/ar/cli/fill.md +8 -0
  126. package/docs/ar/compat/i18n-js.md +44 -0
  127. package/docs/ar/compat/i18next.md +59 -0
  128. package/docs/ar/compat/index.md +51 -0
  129. package/docs/ar/compat/lingui.md +44 -0
  130. package/docs/ar/compat/next-i18next.md +57 -0
  131. package/docs/ar/compat/next-intl.md +59 -0
  132. package/docs/ar/compat/next-translate.md +45 -0
  133. package/docs/ar/compat/ngx-translate.md +45 -0
  134. package/docs/ar/compat/nuxtjs-i18n.md +46 -0
  135. package/docs/ar/compat/polyglot.md +45 -0
  136. package/docs/ar/compat/react-i18next.md +58 -0
  137. package/docs/ar/compat/react-intl.md +55 -0
  138. package/docs/ar/compat/svelte-i18n.md +47 -0
  139. package/docs/ar/compat/transloco.md +45 -0
  140. package/docs/ar/compat/vue-i18n.md +58 -0
  141. package/docs/ar/compiler.md +3 -1
  142. package/docs/ar/configuration.md +19 -17
  143. package/docs/ar/custom_domains.md +1 -1
  144. package/docs/ar/custom_url_rewrites.md +1 -1
  145. package/docs/ar/dictionary/content_file.md +4 -7
  146. package/docs/ar/dictionary/enumeration.md +0 -187
  147. package/docs/ar/dictionary/file.md +8 -0
  148. package/docs/ar/dictionary/nesting.md +39 -0
  149. package/docs/ar/dictionary/translation.md +0 -61
  150. package/docs/ar/formatters.md +59 -0
  151. package/docs/ar/how_works_intlayer.md +4 -0
  152. package/docs/ar/interest_of_intlayer.md +193 -0
  153. package/docs/ar/intlayer_CMS.md +6 -0
  154. package/docs/ar/intlayer_with_astro.md +129 -2
  155. package/docs/ar/intlayer_with_astro_lit.md +1 -1
  156. package/docs/ar/intlayer_with_astro_preact.md +1 -1
  157. package/docs/ar/intlayer_with_astro_react.md +1 -1
  158. package/docs/ar/intlayer_with_astro_solid.md +1 -1
  159. package/docs/ar/intlayer_with_astro_svelte.md +1 -1
  160. package/docs/ar/intlayer_with_astro_vanilla.md +1 -1
  161. package/docs/ar/intlayer_with_astro_vue.md +1 -1
  162. package/docs/ar/intlayer_with_create_react_app.md +0 -14
  163. package/docs/ar/intlayer_with_express.md +0 -21
  164. package/docs/ar/intlayer_with_nestjs.md +0 -18
  165. package/docs/ar/intlayer_with_nextjs_14.md +30 -7
  166. package/docs/ar/intlayer_with_nextjs_15.md +21 -1
  167. package/docs/ar/intlayer_with_nextjs_16.md +124 -2
  168. package/docs/ar/intlayer_with_nextjs_compiler.md +1 -1
  169. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +1 -1
  170. package/docs/ar/intlayer_with_nextjs_page_router.md +5 -1
  171. package/docs/ar/intlayer_with_react_native+expo.md +91 -78
  172. package/docs/ar/intlayer_with_react_router_v7.md +1 -95
  173. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +20 -96
  174. package/docs/ar/intlayer_with_svelte_kit.md +1 -207
  175. package/docs/ar/intlayer_with_tanstack+solid.md +3 -1
  176. package/docs/ar/intlayer_with_tanstack.md +1 -1
  177. package/docs/ar/intlayer_with_vite+lit.md +1 -1
  178. package/docs/ar/intlayer_with_vite+preact.md +40 -40
  179. package/docs/ar/intlayer_with_vite+react.md +1 -1
  180. package/docs/ar/intlayer_with_vite+react_compiler.md +1 -1
  181. package/docs/ar/intlayer_with_vite+solid.md +25 -25
  182. package/docs/ar/intlayer_with_vite+svelte.md +12 -12
  183. package/docs/ar/intlayer_with_vite+vanilla.md +1 -1
  184. package/docs/ar/intlayer_with_vite+vue.md +44 -114
  185. package/docs/ar/mcp_server.md +22 -0
  186. package/docs/ar/migration_from_i18next_to_intlayer.md +333 -0
  187. package/docs/ar/migration_from_next-i18next_to_intlayer.md +355 -0
  188. package/docs/ar/migration_from_next-intl_to_intlayer.md +364 -0
  189. package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  190. package/docs/ar/migration_from_react-i18next_to_intlayer.md +384 -0
  191. package/docs/ar/migration_from_vue-i18n_to_intlayer.md +359 -0
  192. package/docs/ar/packages/intlayer/getLocalizedUrl.md +73 -0
  193. package/docs/ar/packages/intlayer/getMultilingualUrls.md +111 -0
  194. package/docs/ar/packages/intlayer/getPathWithoutLocale.md +0 -4
  195. package/docs/ar/packages/react-intlayer/t.md +0 -13
  196. package/docs/ar/packages/react-intlayer/useDictionary.md +0 -104
  197. package/docs/ar/packages/react-intlayer/useI18n.md +0 -4
  198. package/docs/ar/packages/react-intlayer/useIntlayer.md +0 -55
  199. package/docs/ar/packages/react-native-intlayer/exports.md +48 -14
  200. package/docs/ar/releases/v6.md +28 -0
  201. package/docs/ar/releases/v7.md +128 -0
  202. package/docs/ar/releases/v9.md +37 -1
  203. package/docs/ar/roadmap.md +6 -0
  204. package/docs/de/CI_CD.md +4 -0
  205. package/docs/de/autoFill.md +81 -0
  206. package/docs/de/benchmark/solid.md +22 -0
  207. package/docs/de/benchmark/svelte.md +22 -0
  208. package/docs/de/benchmark/tanstack.md +22 -0
  209. package/docs/de/cli/ci.md +22 -0
  210. package/docs/de/cli/fill.md +8 -0
  211. package/docs/de/cli/init.md +20 -0
  212. package/docs/de/compat/i18n-js.md +44 -0
  213. package/docs/de/compat/i18next.md +59 -0
  214. package/docs/de/compat/index.md +51 -0
  215. package/docs/de/compat/lingui.md +44 -0
  216. package/docs/de/compat/next-i18next.md +57 -0
  217. package/docs/de/compat/next-intl.md +59 -0
  218. package/docs/de/compat/next-translate.md +45 -0
  219. package/docs/de/compat/ngx-translate.md +45 -0
  220. package/docs/de/compat/nuxtjs-i18n.md +46 -0
  221. package/docs/de/compat/polyglot.md +45 -0
  222. package/docs/de/compat/react-i18next.md +58 -0
  223. package/docs/de/compat/react-intl.md +55 -0
  224. package/docs/de/compat/svelte-i18n.md +47 -0
  225. package/docs/de/compat/transloco.md +45 -0
  226. package/docs/de/compat/vue-i18n.md +58 -0
  227. package/docs/de/compiler.md +3 -1
  228. package/docs/de/configuration.md +19 -17
  229. package/docs/de/custom_domains.md +1 -1
  230. package/docs/de/custom_url_rewrites.md +1 -1
  231. package/docs/de/dictionary/content_file.md +4 -0
  232. package/docs/de/dictionary/enumeration.md +0 -199
  233. package/docs/de/dictionary/file.md +8 -0
  234. package/docs/de/dictionary/insertion.md +0 -4
  235. package/docs/de/dictionary/nesting.md +39 -0
  236. package/docs/de/dictionary/translation.md +0 -61
  237. package/docs/de/dynamic_dictionaries/index.md +6 -0
  238. package/docs/de/formatters.md +130 -0
  239. package/docs/de/how_works_intlayer.md +4 -0
  240. package/docs/de/intlayer_CMS.md +6 -0
  241. package/docs/de/intlayer_with_astro.md +129 -2
  242. package/docs/de/intlayer_with_astro_lit.md +1 -1
  243. package/docs/de/intlayer_with_astro_preact.md +1 -1
  244. package/docs/de/intlayer_with_astro_react.md +1 -1
  245. package/docs/de/intlayer_with_astro_solid.md +1 -1
  246. package/docs/de/intlayer_with_astro_svelte.md +1 -1
  247. package/docs/de/intlayer_with_astro_vanilla.md +1 -1
  248. package/docs/de/intlayer_with_astro_vue.md +1 -1
  249. package/docs/de/intlayer_with_create_react_app.md +15 -0
  250. package/docs/de/intlayer_with_express.md +0 -23
  251. package/docs/de/intlayer_with_lynx+react.md +4 -2
  252. package/docs/de/intlayer_with_nestjs.md +0 -8
  253. package/docs/de/intlayer_with_nextjs_14.md +28 -7
  254. package/docs/de/intlayer_with_nextjs_15.md +21 -1
  255. package/docs/de/intlayer_with_nextjs_16.md +1 -1
  256. package/docs/de/intlayer_with_nextjs_compiler.md +49 -1
  257. package/docs/de/intlayer_with_nextjs_no_locale_path.md +1 -1
  258. package/docs/de/intlayer_with_nextjs_page_router.md +5 -1
  259. package/docs/de/intlayer_with_react_native+expo.md +85 -67
  260. package/docs/de/intlayer_with_react_router_v7.md +1 -95
  261. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -91
  262. package/docs/de/intlayer_with_svelte_kit.md +1 -207
  263. package/docs/de/intlayer_with_tanstack+solid.md +3 -1
  264. package/docs/de/intlayer_with_tanstack.md +1 -1
  265. package/docs/de/intlayer_with_vite+lit.md +1 -1
  266. package/docs/de/intlayer_with_vite+preact.md +61 -57
  267. package/docs/de/intlayer_with_vite+react.md +1 -1
  268. package/docs/de/intlayer_with_vite+react_compiler.md +1 -1
  269. package/docs/de/intlayer_with_vite+solid.md +33 -42
  270. package/docs/de/intlayer_with_vite+svelte.md +27 -29
  271. package/docs/de/intlayer_with_vite+vanilla.md +1 -1
  272. package/docs/de/intlayer_with_vite+vue.md +54 -102
  273. package/docs/de/mcp_server.md +22 -0
  274. package/docs/de/packages/intlayer/getLocalizedUrl.md +75 -0
  275. package/docs/de/packages/intlayer/getMultilingualUrls.md +111 -0
  276. package/docs/de/packages/react-intlayer/useDictionary.md +0 -116
  277. package/docs/de/packages/react-intlayer/useIntlayer.md +0 -51
  278. package/docs/de/packages/react-native-intlayer/exports.md +47 -13
  279. package/docs/de/releases/v6.md +10 -6
  280. package/docs/de/releases/v7.md +128 -0
  281. package/docs/de/releases/v9.md +37 -1
  282. package/docs/de/roadmap.md +6 -16
  283. package/docs/en/bundle_optimization.md +8 -3
  284. package/docs/en/compiler.md +12 -6
  285. package/docs/en/configuration.md +22 -8
  286. package/docs/en/custom_domains.md +2 -0
  287. package/docs/en/custom_url_rewrites.md +2 -0
  288. package/docs/en/intlayer_with_astro.md +2 -0
  289. package/docs/en/intlayer_with_astro_lit.md +2 -0
  290. package/docs/en/intlayer_with_astro_preact.md +2 -0
  291. package/docs/en/intlayer_with_astro_react.md +2 -0
  292. package/docs/en/intlayer_with_astro_solid.md +2 -0
  293. package/docs/en/intlayer_with_astro_svelte.md +2 -0
  294. package/docs/en/intlayer_with_astro_vanilla.md +2 -0
  295. package/docs/en/intlayer_with_astro_vue.md +2 -0
  296. package/docs/en/intlayer_with_nextjs_14.md +2 -0
  297. package/docs/en/intlayer_with_nextjs_15.md +2 -0
  298. package/docs/en/intlayer_with_nextjs_16.md +2 -0
  299. package/docs/en/intlayer_with_nextjs_compiler.md +2 -0
  300. package/docs/en/intlayer_with_nextjs_no_locale_path.md +2 -0
  301. package/docs/en/intlayer_with_nextjs_page_router.md +2 -0
  302. package/docs/en/intlayer_with_react_native+expo.md +22 -18
  303. package/docs/en/intlayer_with_react_router_v7.md +2 -0
  304. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +2 -0
  305. package/docs/en/intlayer_with_svelte_kit.md +4 -0
  306. package/docs/en/intlayer_with_tanstack+solid.md +2 -0
  307. package/docs/en/intlayer_with_tanstack.md +2 -0
  308. package/docs/en/intlayer_with_vite+lit.md +2 -0
  309. package/docs/en/intlayer_with_vite+preact.md +2 -0
  310. package/docs/en/intlayer_with_vite+react.md +2 -0
  311. package/docs/en/intlayer_with_vite+react_compiler.md +2 -0
  312. package/docs/en/intlayer_with_vite+solid.md +2 -0
  313. package/docs/en/intlayer_with_vite+svelte.md +2 -0
  314. package/docs/en/intlayer_with_vite+vanilla.md +4 -0
  315. package/docs/en/intlayer_with_vite+vue.md +2 -0
  316. package/docs/en/packages/react-native-intlayer/exports.md +47 -13
  317. package/docs/en/releases/v9.md +38 -1
  318. package/docs/en-GB/CI_CD.md +4 -0
  319. package/docs/en-GB/autoFill.md +81 -0
  320. package/docs/en-GB/benchmark/solid.md +22 -0
  321. package/docs/en-GB/benchmark/svelte.md +22 -0
  322. package/docs/en-GB/benchmark/tanstack.md +22 -0
  323. package/docs/en-GB/cli/ci.md +22 -0
  324. package/docs/en-GB/cli/fill.md +8 -0
  325. package/docs/en-GB/cli/login.md +0 -36
  326. package/docs/en-GB/cli/test.md +0 -36
  327. package/docs/en-GB/compat/i18n-js.md +44 -0
  328. package/docs/en-GB/compat/i18next.md +59 -0
  329. package/docs/en-GB/compat/index.md +51 -0
  330. package/docs/en-GB/compat/lingui.md +44 -0
  331. package/docs/en-GB/compat/next-i18next.md +57 -0
  332. package/docs/en-GB/compat/next-intl.md +59 -0
  333. package/docs/en-GB/compat/next-translate.md +45 -0
  334. package/docs/en-GB/compat/ngx-translate.md +45 -0
  335. package/docs/en-GB/compat/nuxtjs-i18n.md +46 -0
  336. package/docs/en-GB/compat/polyglot.md +45 -0
  337. package/docs/en-GB/compat/react-i18next.md +58 -0
  338. package/docs/en-GB/compat/react-intl.md +55 -0
  339. package/docs/en-GB/compat/svelte-i18n.md +47 -0
  340. package/docs/en-GB/compat/transloco.md +45 -0
  341. package/docs/en-GB/compat/vue-i18n.md +58 -0
  342. package/docs/en-GB/compiler.md +3 -1
  343. package/docs/en-GB/configuration.md +4 -1
  344. package/docs/en-GB/custom_domains.md +1 -1
  345. package/docs/en-GB/custom_url_rewrites.md +1 -1
  346. package/docs/en-GB/dictionary/content_file.md +4 -7
  347. package/docs/en-GB/dictionary/file.md +8 -0
  348. package/docs/en-GB/dictionary/function_fetching.md +0 -4
  349. package/docs/en-GB/dictionary/nesting.md +8 -0
  350. package/docs/en-GB/dictionary/translation.md +0 -61
  351. package/docs/en-GB/formatters.md +59 -0
  352. package/docs/en-GB/how_works_intlayer.md +4 -16
  353. package/docs/en-GB/intlayer_CMS.md +6 -0
  354. package/docs/en-GB/intlayer_with_astro.md +129 -2
  355. package/docs/en-GB/intlayer_with_astro_lit.md +1 -1
  356. package/docs/en-GB/intlayer_with_astro_preact.md +1 -1
  357. package/docs/en-GB/intlayer_with_astro_react.md +1 -1
  358. package/docs/en-GB/intlayer_with_astro_solid.md +1 -1
  359. package/docs/en-GB/intlayer_with_astro_svelte.md +1 -1
  360. package/docs/en-GB/intlayer_with_astro_vanilla.md +1 -1
  361. package/docs/en-GB/intlayer_with_astro_vue.md +1 -1
  362. package/docs/en-GB/intlayer_with_create_react_app.md +0 -46
  363. package/docs/en-GB/intlayer_with_express.md +0 -23
  364. package/docs/en-GB/intlayer_with_nestjs.md +0 -8
  365. package/docs/en-GB/intlayer_with_nextjs_14.md +13 -5
  366. package/docs/en-GB/intlayer_with_nextjs_15.md +23 -1
  367. package/docs/en-GB/intlayer_with_nextjs_16.md +3 -1
  368. package/docs/en-GB/intlayer_with_nextjs_compiler.md +3 -1
  369. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +3 -1
  370. package/docs/en-GB/intlayer_with_nextjs_page_router.md +5 -1
  371. package/docs/en-GB/intlayer_with_react_native+expo.md +74 -92
  372. package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
  373. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +20 -1
  374. package/docs/en-GB/intlayer_with_svelte_kit.md +1 -207
  375. package/docs/en-GB/intlayer_with_tanstack+solid.md +3 -1
  376. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  377. package/docs/en-GB/intlayer_with_vite+lit.md +1 -1
  378. package/docs/en-GB/intlayer_with_vite+preact.md +5 -1
  379. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  380. package/docs/en-GB/intlayer_with_vite+react_compiler.md +1 -1
  381. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  382. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  383. package/docs/en-GB/intlayer_with_vite+vanilla.md +1 -1
  384. package/docs/en-GB/intlayer_with_vite+vue.md +9 -180
  385. package/docs/en-GB/migration_from_i18next_to_intlayer.md +333 -0
  386. package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +355 -0
  387. package/docs/en-GB/migration_from_next-intl_to_intlayer.md +364 -0
  388. package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  389. package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +384 -0
  390. package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +359 -0
  391. package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +75 -0
  392. package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +44 -0
  393. package/docs/en-GB/packages/intlayer/getTranslation.md +0 -16
  394. package/docs/en-GB/packages/react-intlayer/useDictionary.md +0 -123
  395. package/docs/en-GB/packages/react-intlayer/useIntlayer.md +0 -51
  396. package/docs/en-GB/packages/react-native-intlayer/exports.md +51 -18
  397. package/docs/en-GB/plugins/sync-json.md +0 -59
  398. package/docs/en-GB/releases/v6.md +10 -6
  399. package/docs/en-GB/releases/v7.md +128 -0
  400. package/docs/en-GB/releases/v8.md +190 -0
  401. package/docs/en-GB/releases/v9.md +37 -1
  402. package/docs/en-GB/roadmap.md +6 -0
  403. package/docs/es/CI_CD.md +4 -0
  404. package/docs/es/autoFill.md +81 -0
  405. package/docs/es/benchmark/solid.md +22 -0
  406. package/docs/es/benchmark/svelte.md +22 -0
  407. package/docs/es/benchmark/tanstack.md +22 -0
  408. package/docs/es/cli/ci.md +22 -0
  409. package/docs/es/cli/fill.md +8 -0
  410. package/docs/es/cli/login.md +0 -36
  411. package/docs/es/compat/i18n-js.md +44 -0
  412. package/docs/es/compat/i18next.md +59 -0
  413. package/docs/es/compat/index.md +51 -0
  414. package/docs/es/compat/lingui.md +44 -0
  415. package/docs/es/compat/next-i18next.md +57 -0
  416. package/docs/es/compat/next-intl.md +61 -0
  417. package/docs/es/compat/next-translate.md +45 -0
  418. package/docs/es/compat/ngx-translate.md +45 -0
  419. package/docs/es/compat/nuxtjs-i18n.md +46 -0
  420. package/docs/es/compat/polyglot.md +45 -0
  421. package/docs/es/compat/react-i18next.md +58 -0
  422. package/docs/es/compat/react-intl.md +55 -0
  423. package/docs/es/compat/svelte-i18n.md +47 -0
  424. package/docs/es/compat/transloco.md +45 -0
  425. package/docs/es/compat/vue-i18n.md +58 -0
  426. package/docs/es/compiler.md +3 -1
  427. package/docs/es/configuration.md +19 -17
  428. package/docs/es/custom_domains.md +1 -1
  429. package/docs/es/custom_url_rewrites.md +1 -1
  430. package/docs/es/dictionary/content_file.md +4 -0
  431. package/docs/es/dictionary/file.md +8 -0
  432. package/docs/es/dictionary/nesting.md +39 -0
  433. package/docs/es/dictionary/translation.md +0 -61
  434. package/docs/es/formatters.md +82 -0
  435. package/docs/es/how_works_intlayer.md +4 -4
  436. package/docs/es/intlayer_CMS.md +21 -0
  437. package/docs/es/intlayer_visual_editor.md +0 -23
  438. package/docs/es/intlayer_with_astro.md +129 -2
  439. package/docs/es/intlayer_with_astro_lit.md +1 -1
  440. package/docs/es/intlayer_with_astro_preact.md +1 -1
  441. package/docs/es/intlayer_with_astro_react.md +1 -1
  442. package/docs/es/intlayer_with_astro_solid.md +1 -1
  443. package/docs/es/intlayer_with_astro_svelte.md +1 -1
  444. package/docs/es/intlayer_with_astro_vanilla.md +1 -1
  445. package/docs/es/intlayer_with_astro_vue.md +1 -1
  446. package/docs/es/intlayer_with_express.md +0 -4
  447. package/docs/es/intlayer_with_nestjs.md +0 -18
  448. package/docs/es/intlayer_with_nextjs_14.md +10 -4
  449. package/docs/es/intlayer_with_nextjs_15.md +21 -1
  450. package/docs/es/intlayer_with_nextjs_16.md +1 -1
  451. package/docs/es/intlayer_with_nextjs_compiler.md +1 -1
  452. package/docs/es/intlayer_with_nextjs_no_locale_path.md +1 -1
  453. package/docs/es/intlayer_with_nextjs_page_router.md +5 -1
  454. package/docs/es/intlayer_with_react_native+expo.md +78 -79
  455. package/docs/es/intlayer_with_react_router_v7.md +1 -95
  456. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
  457. package/docs/es/intlayer_with_svelte_kit.md +1 -207
  458. package/docs/es/intlayer_with_tanstack+solid.md +3 -1
  459. package/docs/es/intlayer_with_tanstack.md +1 -1
  460. package/docs/es/intlayer_with_vite+lit.md +1 -1
  461. package/docs/es/intlayer_with_vite+preact.md +5 -1
  462. package/docs/es/intlayer_with_vite+react.md +1 -1
  463. package/docs/es/intlayer_with_vite+react_compiler.md +1 -1
  464. package/docs/es/intlayer_with_vite+solid.md +1 -1
  465. package/docs/es/intlayer_with_vite+svelte.md +1 -1
  466. package/docs/es/intlayer_with_vite+vanilla.md +1 -1
  467. package/docs/es/intlayer_with_vite+vue.md +18 -86
  468. package/docs/es/packages/express-intlayer/t.md +0 -9
  469. package/docs/es/packages/intlayer/getLocalizedUrl.md +75 -0
  470. package/docs/es/packages/intlayer/getMultilingualUrls.md +112 -0
  471. package/docs/es/packages/react-intlayer/useDictionary.md +0 -119
  472. package/docs/es/packages/react-intlayer/useIntlayer.md +0 -51
  473. package/docs/es/packages/react-native-intlayer/exports.md +47 -13
  474. package/docs/es/releases/v6.md +28 -0
  475. package/docs/es/releases/v7.md +128 -0
  476. package/docs/es/releases/v9.md +37 -1
  477. package/docs/es/roadmap.md +6 -0
  478. package/docs/fr/CI_CD.md +4 -0
  479. package/docs/fr/autoFill.md +81 -0
  480. package/docs/fr/benchmark/solid.md +22 -0
  481. package/docs/fr/benchmark/svelte.md +22 -0
  482. package/docs/fr/benchmark/tanstack.md +22 -0
  483. package/docs/fr/cli/ci.md +22 -0
  484. package/docs/fr/cli/fill.md +8 -0
  485. package/docs/fr/cli/login.md +0 -36
  486. package/docs/fr/compat/i18n-js.md +44 -0
  487. package/docs/fr/compat/i18next.md +59 -0
  488. package/docs/fr/compat/index.md +51 -0
  489. package/docs/fr/compat/lingui.md +44 -0
  490. package/docs/fr/compat/next-i18next.md +57 -0
  491. package/docs/fr/compat/next-intl.md +59 -0
  492. package/docs/fr/compat/next-translate.md +45 -0
  493. package/docs/fr/compat/ngx-translate.md +45 -0
  494. package/docs/fr/compat/nuxtjs-i18n.md +46 -0
  495. package/docs/fr/compat/polyglot.md +45 -0
  496. package/docs/fr/compat/react-i18next.md +58 -0
  497. package/docs/fr/compat/react-intl.md +55 -0
  498. package/docs/fr/compat/svelte-i18n.md +47 -0
  499. package/docs/fr/compat/transloco.md +45 -0
  500. package/docs/fr/compat/vue-i18n.md +58 -0
  501. package/docs/fr/compiler.md +3 -1
  502. package/docs/fr/configuration.md +20 -17
  503. package/docs/fr/custom_domains.md +1 -1
  504. package/docs/fr/custom_url_rewrites.md +14 -14
  505. package/docs/fr/dictionary/content_file.md +4 -0
  506. package/docs/fr/dictionary/enumeration.md +0 -187
  507. package/docs/fr/dictionary/file.md +8 -0
  508. package/docs/fr/dictionary/nesting.md +39 -0
  509. package/docs/fr/dictionary/translation.md +0 -61
  510. package/docs/fr/formatters.md +171 -77
  511. package/docs/fr/how_works_intlayer.md +4 -0
  512. package/docs/fr/intlayer_CMS.md +6 -0
  513. package/docs/fr/intlayer_with_astro.md +129 -2
  514. package/docs/fr/intlayer_with_astro_lit.md +1 -1
  515. package/docs/fr/intlayer_with_astro_preact.md +1 -1
  516. package/docs/fr/intlayer_with_astro_react.md +1 -1
  517. package/docs/fr/intlayer_with_astro_solid.md +1 -1
  518. package/docs/fr/intlayer_with_astro_svelte.md +1 -1
  519. package/docs/fr/intlayer_with_astro_vanilla.md +1 -1
  520. package/docs/fr/intlayer_with_astro_vue.md +1 -1
  521. package/docs/fr/intlayer_with_create_react_app.md +0 -14
  522. package/docs/fr/intlayer_with_express.md +0 -4
  523. package/docs/fr/intlayer_with_nestjs.md +0 -18
  524. package/docs/fr/intlayer_with_nextjs_14.md +26 -5
  525. package/docs/fr/intlayer_with_nextjs_15.md +21 -1
  526. package/docs/fr/intlayer_with_nextjs_16.md +1 -1
  527. package/docs/fr/intlayer_with_nextjs_compiler.md +1 -1
  528. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +1 -1
  529. package/docs/fr/intlayer_with_nextjs_page_router.md +5 -1
  530. package/docs/fr/intlayer_with_nuxt.md +0 -27
  531. package/docs/fr/intlayer_with_react_native+expo.md +89 -67
  532. package/docs/fr/intlayer_with_react_router_v7.md +1 -95
  533. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -100
  534. package/docs/fr/intlayer_with_svelte_kit.md +1 -239
  535. package/docs/fr/intlayer_with_tanstack+solid.md +3 -1
  536. package/docs/fr/intlayer_with_tanstack.md +1 -1
  537. package/docs/fr/intlayer_with_vite+lit.md +1 -1
  538. package/docs/fr/intlayer_with_vite+preact.md +5 -1
  539. package/docs/fr/intlayer_with_vite+react.md +1 -1
  540. package/docs/fr/intlayer_with_vite+react_compiler.md +1 -1
  541. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  542. package/docs/fr/intlayer_with_vite+svelte.md +1 -1
  543. package/docs/fr/intlayer_with_vite+vanilla.md +1 -1
  544. package/docs/fr/intlayer_with_vite+vue.md +13 -83
  545. package/docs/fr/packages/express-intlayer/t.md +0 -9
  546. package/docs/fr/packages/intlayer/getLocalizedUrl.md +73 -0
  547. package/docs/fr/packages/intlayer/getMultilingualUrls.md +99 -0
  548. package/docs/fr/packages/next-intlayer/t.md +1 -1
  549. package/docs/fr/packages/next-intlayer/useRewriteURL.md +0 -8
  550. package/docs/fr/packages/react-intlayer/useDictionary.md +33 -149
  551. package/docs/fr/packages/react-intlayer/useIntlayer.md +0 -51
  552. package/docs/fr/packages/react-native-intlayer/exports.md +47 -13
  553. package/docs/fr/plugins/sync-json.md +0 -59
  554. package/docs/fr/releases/v6.md +28 -0
  555. package/docs/fr/releases/v7.md +128 -0
  556. package/docs/fr/releases/v9.md +37 -1
  557. package/docs/fr/roadmap.md +6 -0
  558. package/docs/hi/CI_CD.md +4 -0
  559. package/docs/hi/autoFill.md +81 -0
  560. package/docs/hi/benchmark/solid.md +22 -0
  561. package/docs/hi/benchmark/svelte.md +22 -0
  562. package/docs/hi/benchmark/tanstack.md +22 -0
  563. package/docs/hi/cli/ci.md +22 -0
  564. package/docs/hi/cli/fill.md +8 -0
  565. package/docs/hi/cli/login.md +0 -36
  566. package/docs/hi/compat/i18n-js.md +44 -0
  567. package/docs/hi/compat/i18next.md +59 -0
  568. package/docs/hi/compat/index.md +51 -0
  569. package/docs/hi/compat/lingui.md +44 -0
  570. package/docs/hi/compat/next-i18next.md +57 -0
  571. package/docs/hi/compat/next-intl.md +59 -0
  572. package/docs/hi/compat/next-translate.md +45 -0
  573. package/docs/hi/compat/ngx-translate.md +45 -0
  574. package/docs/hi/compat/nuxtjs-i18n.md +46 -0
  575. package/docs/hi/compat/polyglot.md +45 -0
  576. package/docs/hi/compat/react-i18next.md +58 -0
  577. package/docs/hi/compat/react-intl.md +55 -0
  578. package/docs/hi/compat/svelte-i18n.md +47 -0
  579. package/docs/hi/compat/transloco.md +45 -0
  580. package/docs/hi/compat/vue-i18n.md +58 -0
  581. package/docs/hi/compiler.md +3 -1
  582. package/docs/hi/configuration.md +19 -17
  583. package/docs/hi/custom_domains.md +1 -1
  584. package/docs/hi/custom_url_rewrites.md +1 -1
  585. package/docs/hi/dictionary/enumeration.md +0 -187
  586. package/docs/hi/dictionary/file.md +8 -0
  587. package/docs/hi/dictionary/nesting.md +39 -0
  588. package/docs/hi/dictionary/translation.md +0 -61
  589. package/docs/hi/formatters.md +85 -0
  590. package/docs/hi/how_works_intlayer.md +2 -0
  591. package/docs/hi/interest_of_intlayer.md +194 -0
  592. package/docs/hi/intlayer_CMS.md +6 -0
  593. package/docs/hi/intlayer_with_astro.md +130 -3
  594. package/docs/hi/intlayer_with_astro_lit.md +1 -1
  595. package/docs/hi/intlayer_with_astro_preact.md +1 -1
  596. package/docs/hi/intlayer_with_astro_react.md +1 -1
  597. package/docs/hi/intlayer_with_astro_solid.md +1 -1
  598. package/docs/hi/intlayer_with_astro_svelte.md +1 -1
  599. package/docs/hi/intlayer_with_astro_vanilla.md +1 -1
  600. package/docs/hi/intlayer_with_astro_vue.md +1 -1
  601. package/docs/hi/intlayer_with_create_react_app.md +15 -0
  602. package/docs/hi/intlayer_with_express.md +0 -23
  603. package/docs/hi/intlayer_with_nestjs.md +0 -8
  604. package/docs/hi/intlayer_with_nextjs_14.md +31 -8
  605. package/docs/hi/intlayer_with_nextjs_15.md +21 -1
  606. package/docs/hi/intlayer_with_nextjs_16.md +176 -54
  607. package/docs/hi/intlayer_with_nextjs_compiler.md +1 -1
  608. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +1 -1
  609. package/docs/hi/intlayer_with_nextjs_page_router.md +5 -1
  610. package/docs/hi/intlayer_with_nuxt.md +0 -27
  611. package/docs/hi/intlayer_with_react_native+expo.md +125 -86
  612. package/docs/hi/intlayer_with_react_router_v7.md +1 -95
  613. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +20 -96
  614. package/docs/hi/intlayer_with_svelte_kit.md +1 -207
  615. package/docs/hi/intlayer_with_tanstack+solid.md +3 -1
  616. package/docs/hi/intlayer_with_tanstack.md +1 -1
  617. package/docs/hi/intlayer_with_vite+lit.md +1 -1
  618. package/docs/hi/intlayer_with_vite+preact.md +1 -1
  619. package/docs/hi/intlayer_with_vite+react.md +1 -1
  620. package/docs/hi/intlayer_with_vite+react_compiler.md +1 -1
  621. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  622. package/docs/hi/intlayer_with_vite+svelte.md +32 -48
  623. package/docs/hi/intlayer_with_vite+vanilla.md +1 -1
  624. package/docs/hi/intlayer_with_vite+vue.md +23 -71
  625. package/docs/hi/mcp_server.md +22 -0
  626. package/docs/hi/migration_from_i18next_to_intlayer.md +331 -0
  627. package/docs/hi/migration_from_next-i18next_to_intlayer.md +355 -0
  628. package/docs/hi/migration_from_next-intl_to_intlayer.md +364 -0
  629. package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  630. package/docs/hi/migration_from_react-i18next_to_intlayer.md +384 -0
  631. package/docs/hi/migration_from_vue-i18n_to_intlayer.md +359 -0
  632. package/docs/hi/packages/intlayer/getLocalizedUrl.md +68 -0
  633. package/docs/hi/packages/intlayer/getMultilingualUrls.md +111 -0
  634. package/docs/hi/packages/next-intlayer/t.md +2 -0
  635. package/docs/hi/packages/react-intlayer/useDictionary.md +0 -102
  636. package/docs/hi/packages/react-intlayer/useI18n.md +0 -4
  637. package/docs/hi/packages/react-intlayer/useIntlayer.md +0 -51
  638. package/docs/hi/packages/react-native-intlayer/exports.md +48 -14
  639. package/docs/hi/releases/v6.md +28 -0
  640. package/docs/hi/releases/v7.md +128 -0
  641. package/docs/hi/releases/v9.md +37 -1
  642. package/docs/hi/roadmap.md +6 -0
  643. package/docs/id/autoFill.md +20 -0
  644. package/docs/id/benchmark/solid.md +22 -0
  645. package/docs/id/benchmark/svelte.md +22 -0
  646. package/docs/id/benchmark/tanstack.md +22 -0
  647. package/docs/id/cli/ci.md +22 -0
  648. package/docs/id/cli/fill.md +8 -0
  649. package/docs/id/compat/i18n-js.md +44 -0
  650. package/docs/id/compat/i18next.md +59 -0
  651. package/docs/id/compat/index.md +51 -0
  652. package/docs/id/compat/lingui.md +44 -0
  653. package/docs/id/compat/next-i18next.md +57 -0
  654. package/docs/id/compat/next-intl.md +59 -0
  655. package/docs/id/compat/next-translate.md +45 -0
  656. package/docs/id/compat/ngx-translate.md +45 -0
  657. package/docs/id/compat/nuxtjs-i18n.md +46 -0
  658. package/docs/id/compat/polyglot.md +45 -0
  659. package/docs/id/compat/react-i18next.md +58 -0
  660. package/docs/id/compat/react-intl.md +55 -0
  661. package/docs/id/compat/svelte-i18n.md +47 -0
  662. package/docs/id/compat/transloco.md +45 -0
  663. package/docs/id/compat/vue-i18n.md +58 -0
  664. package/docs/id/compiler.md +3 -1
  665. package/docs/id/configuration.md +19 -17
  666. package/docs/id/custom_domains.md +1 -1
  667. package/docs/id/custom_url_rewrites.md +14 -16
  668. package/docs/id/dictionary/content_file.md +0 -7
  669. package/docs/id/dictionary/enumeration.md +0 -187
  670. package/docs/id/dictionary/nesting.md +39 -0
  671. package/docs/id/dictionary/translation.md +0 -61
  672. package/docs/id/formatters.md +120 -0
  673. package/docs/id/interest_of_intlayer.md +193 -0
  674. package/docs/id/intlayer_with_astro.md +130 -3
  675. package/docs/id/intlayer_with_astro_lit.md +1 -1
  676. package/docs/id/intlayer_with_astro_preact.md +1 -1
  677. package/docs/id/intlayer_with_astro_react.md +1 -1
  678. package/docs/id/intlayer_with_astro_solid.md +1 -1
  679. package/docs/id/intlayer_with_astro_svelte.md +1 -1
  680. package/docs/id/intlayer_with_astro_vanilla.md +1 -1
  681. package/docs/id/intlayer_with_astro_vue.md +1 -1
  682. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  683. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  684. package/docs/id/intlayer_with_nextjs_16.md +176 -54
  685. package/docs/id/intlayer_with_nextjs_compiler.md +1 -22
  686. package/docs/id/intlayer_with_nextjs_no_locale_path.md +1 -1
  687. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  688. package/docs/id/intlayer_with_react_native+expo.md +31 -72
  689. package/docs/id/intlayer_with_react_router_v7.md +1 -95
  690. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -103
  691. package/docs/id/intlayer_with_svelte_kit.md +1 -207
  692. package/docs/id/intlayer_with_tanstack+solid.md +3 -1
  693. package/docs/id/intlayer_with_tanstack.md +1 -1
  694. package/docs/id/intlayer_with_vite+lit.md +1 -1
  695. package/docs/id/intlayer_with_vite+preact.md +57 -57
  696. package/docs/id/intlayer_with_vite+react.md +49 -49
  697. package/docs/id/intlayer_with_vite+react_compiler.md +1 -1
  698. package/docs/id/intlayer_with_vite+solid.md +33 -42
  699. package/docs/id/intlayer_with_vite+svelte.md +27 -29
  700. package/docs/id/intlayer_with_vite+vanilla.md +1 -1
  701. package/docs/id/intlayer_with_vite+vue.md +49 -101
  702. package/docs/id/mcp_server.md +22 -0
  703. package/docs/id/migration_from_i18next_to_intlayer.md +330 -0
  704. package/docs/id/migration_from_next-i18next_to_intlayer.md +355 -0
  705. package/docs/id/migration_from_next-intl_to_intlayer.md +364 -0
  706. package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  707. package/docs/id/migration_from_react-i18next_to_intlayer.md +384 -0
  708. package/docs/id/migration_from_vue-i18n_to_intlayer.md +359 -0
  709. package/docs/id/packages/intlayer/getLocalizedUrl.md +25 -0
  710. package/docs/id/packages/intlayer/getMultilingualUrls.md +112 -0
  711. package/docs/id/packages/react-intlayer/useDictionary.md +0 -121
  712. package/docs/id/packages/react-intlayer/useIntlayer.md +0 -51
  713. package/docs/id/packages/react-native-intlayer/exports.md +47 -13
  714. package/docs/id/releases/v6.md +4 -0
  715. package/docs/id/releases/v7.md +128 -0
  716. package/docs/id/releases/v9.md +37 -1
  717. package/docs/id/roadmap.md +0 -16
  718. package/docs/it/CI_CD.md +4 -0
  719. package/docs/it/autoFill.md +81 -0
  720. package/docs/it/benchmark/solid.md +22 -0
  721. package/docs/it/benchmark/svelte.md +22 -0
  722. package/docs/it/benchmark/tanstack.md +22 -0
  723. package/docs/it/cli/ci.md +22 -0
  724. package/docs/it/cli/fill.md +8 -0
  725. package/docs/it/compat/i18n-js.md +44 -0
  726. package/docs/it/compat/i18next.md +59 -0
  727. package/docs/it/compat/index.md +51 -0
  728. package/docs/it/compat/lingui.md +44 -0
  729. package/docs/it/compat/next-i18next.md +57 -0
  730. package/docs/it/compat/next-intl.md +59 -0
  731. package/docs/it/compat/next-translate.md +45 -0
  732. package/docs/it/compat/ngx-translate.md +45 -0
  733. package/docs/it/compat/nuxtjs-i18n.md +46 -0
  734. package/docs/it/compat/polyglot.md +45 -0
  735. package/docs/it/compat/react-i18next.md +58 -0
  736. package/docs/it/compat/react-intl.md +55 -0
  737. package/docs/it/compat/svelte-i18n.md +47 -0
  738. package/docs/it/compat/transloco.md +45 -0
  739. package/docs/it/compat/vue-i18n.md +58 -0
  740. package/docs/it/compiler.md +3 -1
  741. package/docs/it/configuration.md +19 -17
  742. package/docs/it/custom_domains.md +1 -1
  743. package/docs/it/custom_url_rewrites.md +1 -1
  744. package/docs/it/dictionary/content_file.md +4 -7
  745. package/docs/it/dictionary/enumeration.md +0 -197
  746. package/docs/it/dictionary/file.md +8 -0
  747. package/docs/it/dictionary/nesting.md +39 -0
  748. package/docs/it/dictionary/translation.md +0 -61
  749. package/docs/it/formatters.md +82 -0
  750. package/docs/it/how_works_intlayer.md +4 -4
  751. package/docs/it/intlayer_CMS.md +6 -0
  752. package/docs/it/intlayer_with_astro.md +129 -2
  753. package/docs/it/intlayer_with_astro_lit.md +1 -1
  754. package/docs/it/intlayer_with_astro_preact.md +1 -1
  755. package/docs/it/intlayer_with_astro_react.md +1 -1
  756. package/docs/it/intlayer_with_astro_solid.md +1 -1
  757. package/docs/it/intlayer_with_astro_svelte.md +1 -1
  758. package/docs/it/intlayer_with_astro_vanilla.md +1 -1
  759. package/docs/it/intlayer_with_astro_vue.md +1 -1
  760. package/docs/it/intlayer_with_create_react_app.md +0 -14
  761. package/docs/it/intlayer_with_express.md +0 -4
  762. package/docs/it/intlayer_with_lynx+react.md +11 -0
  763. package/docs/it/intlayer_with_nestjs.md +0 -8
  764. package/docs/it/intlayer_with_nextjs_14.md +30 -9
  765. package/docs/it/intlayer_with_nextjs_15.md +21 -1
  766. package/docs/it/intlayer_with_nextjs_16.md +176 -54
  767. package/docs/it/intlayer_with_nextjs_compiler.md +1 -1
  768. package/docs/it/intlayer_with_nextjs_no_locale_path.md +1 -1
  769. package/docs/it/intlayer_with_nextjs_page_router.md +5 -1
  770. package/docs/it/intlayer_with_react_native+expo.md +67 -71
  771. package/docs/it/intlayer_with_react_router_v7.md +1 -95
  772. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -96
  773. package/docs/it/intlayer_with_svelte_kit.md +1 -239
  774. package/docs/it/intlayer_with_tanstack+solid.md +3 -1
  775. package/docs/it/intlayer_with_tanstack.md +1 -1
  776. package/docs/it/intlayer_with_vite+lit.md +1 -1
  777. package/docs/it/intlayer_with_vite+preact.md +61 -57
  778. package/docs/it/intlayer_with_vite+react.md +49 -1
  779. package/docs/it/intlayer_with_vite+react_compiler.md +1 -1
  780. package/docs/it/intlayer_with_vite+solid.md +33 -42
  781. package/docs/it/intlayer_with_vite+svelte.md +27 -29
  782. package/docs/it/intlayer_with_vite+vanilla.md +1 -1
  783. package/docs/it/intlayer_with_vite+vue.md +53 -123
  784. package/docs/it/mcp_server.md +22 -0
  785. package/docs/it/packages/intlayer/getLocalizedUrl.md +75 -0
  786. package/docs/it/packages/intlayer/getMultilingualUrls.md +112 -0
  787. package/docs/it/packages/next-intlayer/t.md +34 -0
  788. package/docs/it/packages/react-intlayer/useDictionary.md +0 -104
  789. package/docs/it/packages/react-intlayer/useIntlayer.md +0 -57
  790. package/docs/it/packages/react-native-intlayer/exports.md +47 -13
  791. package/docs/it/releases/v6.md +28 -0
  792. package/docs/it/releases/v7.md +128 -0
  793. package/docs/it/releases/v9.md +37 -1
  794. package/docs/it/roadmap.md +6 -0
  795. package/docs/ja/CI_CD.md +4 -0
  796. package/docs/ja/autoFill.md +81 -0
  797. package/docs/ja/benchmark/solid.md +22 -0
  798. package/docs/ja/benchmark/svelte.md +22 -0
  799. package/docs/ja/benchmark/tanstack.md +22 -0
  800. package/docs/ja/cli/ci.md +22 -0
  801. package/docs/ja/cli/fill.md +8 -0
  802. package/docs/ja/cli/list_projects.md +0 -18
  803. package/docs/ja/compat/i18n-js.md +44 -0
  804. package/docs/ja/compat/i18next.md +59 -0
  805. package/docs/ja/compat/index.md +51 -0
  806. package/docs/ja/compat/lingui.md +44 -0
  807. package/docs/ja/compat/next-i18next.md +57 -0
  808. package/docs/ja/compat/next-intl.md +59 -0
  809. package/docs/ja/compat/next-translate.md +45 -0
  810. package/docs/ja/compat/ngx-translate.md +45 -0
  811. package/docs/ja/compat/nuxtjs-i18n.md +46 -0
  812. package/docs/ja/compat/polyglot.md +45 -0
  813. package/docs/ja/compat/react-i18next.md +58 -0
  814. package/docs/ja/compat/react-intl.md +55 -0
  815. package/docs/ja/compat/svelte-i18n.md +47 -0
  816. package/docs/ja/compat/transloco.md +45 -0
  817. package/docs/ja/compat/vue-i18n.md +58 -0
  818. package/docs/ja/compiler.md +3 -1
  819. package/docs/ja/configuration.md +19 -17
  820. package/docs/ja/custom_domains.md +1 -1
  821. package/docs/ja/custom_url_rewrites.md +1 -1
  822. package/docs/ja/dictionary/content_file.md +4 -0
  823. package/docs/ja/dictionary/enumeration.md +0 -187
  824. package/docs/ja/dictionary/function_fetching.md +0 -27
  825. package/docs/ja/dictionary/markdown.md +1348 -0
  826. package/docs/ja/dictionary/nesting.md +39 -0
  827. package/docs/ja/dictionary/translation.md +0 -119
  828. package/docs/ja/formatters.md +77 -0
  829. package/docs/ja/how_works_intlayer.md +4 -2
  830. package/docs/ja/intlayer_CMS.md +6 -0
  831. package/docs/ja/intlayer_visual_editor.md +0 -4
  832. package/docs/ja/intlayer_with_analog.md +4 -0
  833. package/docs/ja/intlayer_with_astro.md +129 -2
  834. package/docs/ja/intlayer_with_astro_lit.md +1 -1
  835. package/docs/ja/intlayer_with_astro_preact.md +1 -1
  836. package/docs/ja/intlayer_with_astro_react.md +1 -1
  837. package/docs/ja/intlayer_with_astro_solid.md +1 -1
  838. package/docs/ja/intlayer_with_astro_svelte.md +1 -1
  839. package/docs/ja/intlayer_with_astro_vanilla.md +1 -1
  840. package/docs/ja/intlayer_with_astro_vue.md +1 -1
  841. package/docs/ja/intlayer_with_create_react_app.md +0 -16
  842. package/docs/ja/intlayer_with_express.md +0 -4
  843. package/docs/ja/intlayer_with_nestjs.md +0 -8
  844. package/docs/ja/intlayer_with_nextjs_14.md +26 -20
  845. package/docs/ja/intlayer_with_nextjs_15.md +21 -1
  846. package/docs/ja/intlayer_with_nextjs_16.md +176 -54
  847. package/docs/ja/intlayer_with_nextjs_compiler.md +1 -22
  848. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +1 -1
  849. package/docs/ja/intlayer_with_nextjs_page_router.md +5 -1
  850. package/docs/ja/intlayer_with_react_native+expo.md +133 -136
  851. package/docs/ja/intlayer_with_react_router_v7.md +1 -23
  852. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -96
  853. package/docs/ja/intlayer_with_svelte_kit.md +12 -1
  854. package/docs/ja/intlayer_with_tanstack+solid.md +3 -1
  855. package/docs/ja/intlayer_with_tanstack.md +3 -1
  856. package/docs/ja/intlayer_with_vite+lit.md +1 -1
  857. package/docs/ja/intlayer_with_vite+preact.md +704 -1
  858. package/docs/ja/intlayer_with_vite+react.md +1 -1
  859. package/docs/ja/intlayer_with_vite+react_compiler.md +1 -1
  860. package/docs/ja/intlayer_with_vite+solid.md +33 -42
  861. package/docs/ja/intlayer_with_vite+svelte.md +29 -29
  862. package/docs/ja/intlayer_with_vite+vanilla.md +1 -1
  863. package/docs/ja/intlayer_with_vite+vue.md +70 -114
  864. package/docs/ja/mcp_server.md +26 -0
  865. package/docs/ja/packages/express-intlayer/t.md +0 -9
  866. package/docs/ja/packages/intlayer/getLocalizedUrl.md +73 -0
  867. package/docs/ja/packages/intlayer/getMultilingualUrls.md +112 -0
  868. package/docs/ja/packages/react-intlayer/useDictionary.md +0 -107
  869. package/docs/ja/packages/react-intlayer/useIntlayer.md +0 -65
  870. package/docs/ja/packages/react-native-intlayer/exports.md +47 -14
  871. package/docs/ja/releases/v6.md +28 -0
  872. package/docs/ja/releases/v7.md +128 -0
  873. package/docs/ja/releases/v9.md +37 -1
  874. package/docs/ja/roadmap.md +6 -0
  875. package/docs/ko/CI_CD.md +4 -0
  876. package/docs/ko/autoFill.md +81 -0
  877. package/docs/ko/benchmark/solid.md +22 -0
  878. package/docs/ko/benchmark/svelte.md +22 -0
  879. package/docs/ko/benchmark/tanstack.md +22 -0
  880. package/docs/ko/cli/ci.md +22 -0
  881. package/docs/ko/cli/fill.md +8 -0
  882. package/docs/ko/cli/login.md +0 -36
  883. package/docs/ko/compat/i18n-js.md +44 -0
  884. package/docs/ko/compat/i18next.md +59 -0
  885. package/docs/ko/compat/index.md +51 -0
  886. package/docs/ko/compat/lingui.md +44 -0
  887. package/docs/ko/compat/next-i18next.md +55 -0
  888. package/docs/ko/compat/next-intl.md +59 -0
  889. package/docs/ko/compat/next-translate.md +45 -0
  890. package/docs/ko/compat/ngx-translate.md +45 -0
  891. package/docs/ko/compat/nuxtjs-i18n.md +46 -0
  892. package/docs/ko/compat/polyglot.md +45 -0
  893. package/docs/ko/compat/react-i18next.md +58 -0
  894. package/docs/ko/compat/react-intl.md +55 -0
  895. package/docs/ko/compat/svelte-i18n.md +47 -0
  896. package/docs/ko/compat/transloco.md +45 -0
  897. package/docs/ko/compat/vue-i18n.md +58 -0
  898. package/docs/ko/compiler.md +3 -1
  899. package/docs/ko/configuration.md +19 -17
  900. package/docs/ko/custom_domains.md +1 -1
  901. package/docs/ko/custom_url_rewrites.md +1 -1
  902. package/docs/ko/dictionary/content_file.md +4 -27
  903. package/docs/ko/dictionary/enumeration.md +0 -187
  904. package/docs/ko/dictionary/insertion.md +0 -6
  905. package/docs/ko/dictionary/nesting.md +39 -0
  906. package/docs/ko/dictionary/translation.md +0 -84
  907. package/docs/ko/formatters.md +71 -0
  908. package/docs/ko/how_works_intlayer.md +4 -0
  909. package/docs/ko/intlayer_CMS.md +6 -0
  910. package/docs/ko/intlayer_visual_editor.md +0 -2
  911. package/docs/ko/intlayer_with_analog.md +4 -0
  912. package/docs/ko/intlayer_with_astro.md +129 -2
  913. package/docs/ko/intlayer_with_astro_lit.md +1 -1
  914. package/docs/ko/intlayer_with_astro_preact.md +1 -1
  915. package/docs/ko/intlayer_with_astro_react.md +1 -1
  916. package/docs/ko/intlayer_with_astro_solid.md +1 -1
  917. package/docs/ko/intlayer_with_astro_svelte.md +1 -1
  918. package/docs/ko/intlayer_with_astro_vanilla.md +1 -1
  919. package/docs/ko/intlayer_with_astro_vue.md +1 -1
  920. package/docs/ko/intlayer_with_create_react_app.md +0 -14
  921. package/docs/ko/intlayer_with_express.md +0 -23
  922. package/docs/ko/intlayer_with_lynx+react.md +0 -124
  923. package/docs/ko/intlayer_with_nestjs.md +0 -18
  924. package/docs/ko/intlayer_with_nextjs_14.md +19 -13
  925. package/docs/ko/intlayer_with_nextjs_15.md +21 -1
  926. package/docs/ko/intlayer_with_nextjs_16.md +175 -56
  927. package/docs/ko/intlayer_with_nextjs_compiler.md +1 -308
  928. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +1 -1
  929. package/docs/ko/intlayer_with_nextjs_page_router.md +5 -1
  930. package/docs/ko/intlayer_with_react_native+expo.md +117 -141
  931. package/docs/ko/intlayer_with_react_router_v7.md +1 -95
  932. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +20 -96
  933. package/docs/ko/intlayer_with_svelte_kit.md +1 -207
  934. package/docs/ko/intlayer_with_tanstack+solid.md +3 -1
  935. package/docs/ko/intlayer_with_tanstack.md +1 -1
  936. package/docs/ko/intlayer_with_vite+lit.md +1 -1
  937. package/docs/ko/intlayer_with_vite+preact.md +57 -91
  938. package/docs/ko/intlayer_with_vite+react.md +93 -18
  939. package/docs/ko/intlayer_with_vite+react_compiler.md +1 -1
  940. package/docs/ko/intlayer_with_vite+solid.md +33 -143
  941. package/docs/ko/intlayer_with_vite+svelte.md +27 -29
  942. package/docs/ko/intlayer_with_vite+vanilla.md +1 -1
  943. package/docs/ko/intlayer_with_vite+vue.md +54 -106
  944. package/docs/ko/mcp_server.md +22 -0
  945. package/docs/ko/packages/express-intlayer/t.md +0 -9
  946. package/docs/ko/packages/intlayer/getLocalizedUrl.md +73 -0
  947. package/docs/ko/packages/intlayer/getMultilingualUrls.md +112 -0
  948. package/docs/ko/packages/next-intlayer/t.md +34 -0
  949. package/docs/ko/packages/next-intlayer/useLocale.md +0 -5
  950. package/docs/ko/packages/react-intlayer/t.md +0 -20
  951. package/docs/ko/packages/react-intlayer/useDictionary.md +0 -121
  952. package/docs/ko/packages/react-intlayer/useIntlayer.md +0 -51
  953. package/docs/ko/packages/react-native-intlayer/exports.md +48 -14
  954. package/docs/ko/releases/v6.md +28 -0
  955. package/docs/ko/releases/v7.md +128 -0
  956. package/docs/ko/releases/v9.md +37 -1
  957. package/docs/ko/roadmap.md +6 -0
  958. package/docs/pl/autoFill.md +20 -0
  959. package/docs/pl/benchmark/___NOTE.md +101 -0
  960. package/docs/pl/benchmark/___nextjs.md +198 -0
  961. package/docs/pl/benchmark/___solid.md +36 -0
  962. package/docs/pl/benchmark/___svelte.md +36 -0
  963. package/docs/pl/benchmark/___tanstack.md +36 -0
  964. package/docs/pl/benchmark/___vue.md +36 -0
  965. package/docs/pl/benchmark/solid.md +22 -0
  966. package/docs/pl/benchmark/svelte.md +22 -0
  967. package/docs/pl/benchmark/tanstack.md +22 -0
  968. package/docs/pl/cli/ci.md +22 -0
  969. package/docs/pl/cli/fill.md +8 -0
  970. package/docs/pl/cli/login.md +0 -36
  971. package/docs/pl/compat/i18n-js.md +44 -0
  972. package/docs/pl/compat/i18next.md +59 -0
  973. package/docs/pl/compat/index.md +51 -0
  974. package/docs/pl/compat/lingui.md +44 -0
  975. package/docs/pl/compat/next-i18next.md +57 -0
  976. package/docs/pl/compat/next-intl.md +59 -0
  977. package/docs/pl/compat/next-translate.md +45 -0
  978. package/docs/pl/compat/ngx-translate.md +45 -0
  979. package/docs/pl/compat/nuxtjs-i18n.md +46 -0
  980. package/docs/pl/compat/polyglot.md +45 -0
  981. package/docs/pl/compat/react-i18next.md +58 -0
  982. package/docs/pl/compat/react-intl.md +55 -0
  983. package/docs/pl/compat/svelte-i18n.md +47 -0
  984. package/docs/pl/compat/transloco.md +45 -0
  985. package/docs/pl/compat/vue-i18n.md +58 -0
  986. package/docs/pl/configuration.md +15 -16
  987. package/docs/pl/dictionary/content_file.md +0 -40
  988. package/docs/pl/dictionary/enumeration.md +0 -187
  989. package/docs/pl/dictionary/nesting.md +39 -0
  990. package/docs/pl/dictionary/translation.md +0 -61
  991. package/docs/pl/formatters.md +120 -0
  992. package/docs/pl/intlayer_with_astro.md +179 -0
  993. package/docs/pl/intlayer_with_react_native+expo.md +58 -82
  994. package/docs/pl/intlayer_with_react_router_v7.md +0 -94
  995. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +0 -95
  996. package/docs/pl/intlayer_with_svelte_kit.md +0 -210
  997. package/docs/pl/intlayer_with_vite+preact.md +56 -56
  998. package/docs/pl/intlayer_with_vite+react.md +48 -48
  999. package/docs/pl/intlayer_with_vite+solid.md +32 -41
  1000. package/docs/pl/intlayer_with_vite+svelte.md +28 -28
  1001. package/docs/pl/intlayer_with_vite+vue.md +48 -70
  1002. package/docs/pl/mcp_server.md +22 -0
  1003. package/docs/pl/migration_from_i18next_to_intlayer.md +230 -0
  1004. package/docs/pl/migration_from_next-i18next_to_intlayer.md +351 -0
  1005. package/docs/pl/migration_from_next-intl_to_intlayer.md +360 -0
  1006. package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +324 -0
  1007. package/docs/pl/migration_from_react-i18next_to_intlayer.md +380 -0
  1008. package/docs/pl/migration_from_vue-i18n_to_intlayer.md +232 -0
  1009. package/docs/pl/packages/intlayer/getLocalizedUrl.md +19 -0
  1010. package/docs/pl/packages/intlayer/getMultilingualUrls.md +111 -0
  1011. package/docs/pl/packages/react-intlayer/useDictionary.md +0 -104
  1012. package/docs/pl/packages/react-intlayer/useIntlayer.md +0 -51
  1013. package/docs/pl/packages/react-native-intlayer/exports.md +47 -13
  1014. package/docs/pl/plugins/sync-json.md +0 -59
  1015. package/docs/pl/releases/v6.md +4 -0
  1016. package/docs/pl/releases/v7.md +128 -0
  1017. package/docs/pl/releases/v9.md +36 -0
  1018. package/docs/pl/roadmap.md +0 -16
  1019. package/docs/pt/CI_CD.md +4 -0
  1020. package/docs/pt/autoFill.md +117 -14
  1021. package/docs/pt/benchmark/index.md +5 -5
  1022. package/docs/pt/benchmark/solid.md +22 -0
  1023. package/docs/pt/benchmark/svelte.md +22 -0
  1024. package/docs/pt/benchmark/tanstack.md +22 -0
  1025. package/docs/pt/cli/ci.md +22 -0
  1026. package/docs/pt/cli/fill.md +8 -0
  1027. package/docs/pt/cli/login.md +0 -36
  1028. package/docs/pt/compat/i18n-js.md +44 -0
  1029. package/docs/pt/compat/i18next.md +59 -0
  1030. package/docs/pt/compat/index.md +51 -0
  1031. package/docs/pt/compat/lingui.md +44 -0
  1032. package/docs/pt/compat/next-i18next.md +57 -0
  1033. package/docs/pt/compat/next-intl.md +59 -0
  1034. package/docs/pt/compat/next-translate.md +45 -0
  1035. package/docs/pt/compat/ngx-translate.md +45 -0
  1036. package/docs/pt/compat/nuxtjs-i18n.md +46 -0
  1037. package/docs/pt/compat/polyglot.md +45 -0
  1038. package/docs/pt/compat/react-i18next.md +58 -0
  1039. package/docs/pt/compat/react-intl.md +55 -0
  1040. package/docs/pt/compat/svelte-i18n.md +47 -0
  1041. package/docs/pt/compat/transloco.md +45 -0
  1042. package/docs/pt/compat/vue-i18n.md +58 -0
  1043. package/docs/pt/compiler.md +2 -2
  1044. package/docs/pt/configuration.md +16 -17
  1045. package/docs/pt/custom_domains.md +1 -6
  1046. package/docs/pt/custom_url_rewrites.md +1 -1
  1047. package/docs/pt/dictionary/content_file.md +4 -7
  1048. package/docs/pt/dictionary/enumeration.md +3 -190
  1049. package/docs/pt/dictionary/file.md +8 -0
  1050. package/docs/pt/dictionary/nesting.md +39 -0
  1051. package/docs/pt/dictionary/translation.md +0 -61
  1052. package/docs/pt/formatters.md +86 -0
  1053. package/docs/pt/how_works_intlayer.md +4 -0
  1054. package/docs/pt/intlayer_CMS.md +21 -0
  1055. package/docs/pt/intlayer_with_analog.md +3 -3
  1056. package/docs/pt/intlayer_with_angular_19.md +7 -7
  1057. package/docs/pt/intlayer_with_angular_21.md +3 -3
  1058. package/docs/pt/intlayer_with_astro.md +182 -3
  1059. package/docs/pt/intlayer_with_astro_lit.md +3 -3
  1060. package/docs/pt/intlayer_with_astro_preact.md +3 -3
  1061. package/docs/pt/intlayer_with_astro_react.md +3 -3
  1062. package/docs/pt/intlayer_with_astro_solid.md +3 -3
  1063. package/docs/pt/intlayer_with_astro_svelte.md +3 -3
  1064. package/docs/pt/intlayer_with_astro_vanilla.md +3 -3
  1065. package/docs/pt/intlayer_with_astro_vue.md +3 -3
  1066. package/docs/pt/intlayer_with_create_react_app.md +0 -14
  1067. package/docs/pt/intlayer_with_express.md +0 -23
  1068. package/docs/pt/intlayer_with_lynx+react.md +14 -3
  1069. package/docs/pt/intlayer_with_nestjs.md +0 -18
  1070. package/docs/pt/intlayer_with_nextjs_14.md +26 -7
  1071. package/docs/pt/intlayer_with_nextjs_15.md +27 -7
  1072. package/docs/pt/intlayer_with_nextjs_16.md +6 -6
  1073. package/docs/pt/intlayer_with_nextjs_compiler.md +1 -1
  1074. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +6 -6
  1075. package/docs/pt/intlayer_with_nextjs_page_router.md +10 -6
  1076. package/docs/pt/intlayer_with_nuxt.md +3 -3
  1077. package/docs/pt/intlayer_with_react_native+expo.md +74 -75
  1078. package/docs/pt/intlayer_with_react_router_v7.md +8 -84
  1079. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +3 -98
  1080. package/docs/pt/intlayer_with_storybook.md +3 -3
  1081. package/docs/pt/intlayer_with_svelte_kit.md +3 -245
  1082. package/docs/pt/intlayer_with_tanstack+solid.md +3 -3
  1083. package/docs/pt/intlayer_with_tanstack.md +3 -3
  1084. package/docs/pt/intlayer_with_vanilla.md +3 -3
  1085. package/docs/pt/intlayer_with_vite+lit.md +3 -3
  1086. package/docs/pt/intlayer_with_vite+preact.md +3 -3
  1087. package/docs/pt/intlayer_with_vite+react.md +10 -10
  1088. package/docs/pt/intlayer_with_vite+react_compiler.md +5 -5
  1089. package/docs/pt/intlayer_with_vite+solid.md +3 -3
  1090. package/docs/pt/intlayer_with_vite+svelte.md +31 -31
  1091. package/docs/pt/intlayer_with_vite+vanilla.md +3 -3
  1092. package/docs/pt/intlayer_with_vite+vue.md +7 -3
  1093. package/docs/pt/mcp_server.md +22 -0
  1094. package/docs/pt/packages/hono-intlayer/t.md +1 -1
  1095. package/docs/pt/packages/intlayer/getLocalizedUrl.md +75 -0
  1096. package/docs/pt/packages/intlayer/getMultilingualUrls.md +112 -0
  1097. package/docs/pt/packages/next-intlayer/t.md +34 -0
  1098. package/docs/pt/packages/react-intlayer/useDictionary.md +0 -121
  1099. package/docs/pt/packages/react-intlayer/useIntlayer.md +0 -51
  1100. package/docs/pt/packages/react-native-intlayer/exports.md +47 -13
  1101. package/docs/pt/plugins/sync-po.md +1 -1
  1102. package/docs/pt/readme.md +3 -3
  1103. package/docs/pt/releases/v6.md +28 -0
  1104. package/docs/pt/releases/v7.md +128 -0
  1105. package/docs/pt/releases/v9.md +37 -1
  1106. package/docs/pt/roadmap.md +6 -0
  1107. package/docs/ru/CI_CD.md +4 -0
  1108. package/docs/ru/autoFill.md +81 -0
  1109. package/docs/ru/benchmark/solid.md +22 -0
  1110. package/docs/ru/benchmark/svelte.md +22 -0
  1111. package/docs/ru/benchmark/tanstack.md +22 -0
  1112. package/docs/ru/cli/ci.md +22 -0
  1113. package/docs/ru/cli/fill.md +8 -0
  1114. package/docs/ru/cli/login.md +0 -36
  1115. package/docs/ru/compat/i18n-js.md +44 -0
  1116. package/docs/ru/compat/i18next.md +59 -0
  1117. package/docs/ru/compat/index.md +51 -0
  1118. package/docs/ru/compat/lingui.md +44 -0
  1119. package/docs/ru/compat/next-i18next.md +57 -0
  1120. package/docs/ru/compat/next-intl.md +59 -0
  1121. package/docs/ru/compat/next-translate.md +45 -0
  1122. package/docs/ru/compat/ngx-translate.md +45 -0
  1123. package/docs/ru/compat/nuxtjs-i18n.md +46 -0
  1124. package/docs/ru/compat/polyglot.md +45 -0
  1125. package/docs/ru/compat/react-i18next.md +58 -0
  1126. package/docs/ru/compat/react-intl.md +55 -0
  1127. package/docs/ru/compat/svelte-i18n.md +47 -0
  1128. package/docs/ru/compat/transloco.md +45 -0
  1129. package/docs/ru/compat/vue-i18n.md +58 -0
  1130. package/docs/ru/compiler.md +3 -1
  1131. package/docs/ru/configuration.md +19 -17
  1132. package/docs/ru/custom_domains.md +1 -1
  1133. package/docs/ru/custom_url_rewrites.md +1 -1
  1134. package/docs/ru/dictionary/content_file.md +4 -27
  1135. package/docs/ru/dictionary/enumeration.md +0 -199
  1136. package/docs/ru/dictionary/file.md +8 -0
  1137. package/docs/ru/dictionary/markdown.md +510 -0
  1138. package/docs/ru/dictionary/nesting.md +8 -0
  1139. package/docs/ru/dictionary/translation.md +0 -61
  1140. package/docs/ru/formatters.md +136 -0
  1141. package/docs/ru/how_works_intlayer.md +4 -0
  1142. package/docs/ru/intlayer_CMS.md +6 -0
  1143. package/docs/ru/intlayer_with_astro.md +129 -2
  1144. package/docs/ru/intlayer_with_astro_lit.md +1 -1
  1145. package/docs/ru/intlayer_with_astro_preact.md +1 -1
  1146. package/docs/ru/intlayer_with_astro_react.md +1 -1
  1147. package/docs/ru/intlayer_with_astro_solid.md +1 -1
  1148. package/docs/ru/intlayer_with_astro_svelte.md +1 -1
  1149. package/docs/ru/intlayer_with_astro_vanilla.md +1 -1
  1150. package/docs/ru/intlayer_with_astro_vue.md +1 -1
  1151. package/docs/ru/intlayer_with_express.md +0 -23
  1152. package/docs/ru/intlayer_with_nestjs.md +0 -18
  1153. package/docs/ru/intlayer_with_nextjs_14.md +31 -8
  1154. package/docs/ru/intlayer_with_nextjs_15.md +21 -1
  1155. package/docs/ru/intlayer_with_nextjs_16.md +1 -1
  1156. package/docs/ru/intlayer_with_nextjs_compiler.md +1 -1
  1157. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +1 -1
  1158. package/docs/ru/intlayer_with_nextjs_page_router.md +5 -1
  1159. package/docs/ru/intlayer_with_react_native+expo.md +78 -80
  1160. package/docs/ru/intlayer_with_react_router_v7.md +1 -95
  1161. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1162. package/docs/ru/intlayer_with_svelte_kit.md +1 -207
  1163. package/docs/ru/intlayer_with_tanstack+solid.md +3 -1
  1164. package/docs/ru/intlayer_with_tanstack.md +1 -1
  1165. package/docs/ru/intlayer_with_vite+lit.md +1 -1
  1166. package/docs/ru/intlayer_with_vite+preact.md +57 -57
  1167. package/docs/ru/intlayer_with_vite+react.md +3 -1
  1168. package/docs/ru/intlayer_with_vite+react_compiler.md +1 -1
  1169. package/docs/ru/intlayer_with_vite+solid.md +33 -42
  1170. package/docs/ru/intlayer_with_vite+svelte.md +27 -29
  1171. package/docs/ru/intlayer_with_vite+vanilla.md +1 -1
  1172. package/docs/ru/intlayer_with_vite+vue.md +53 -101
  1173. package/docs/ru/mcp_server.md +22 -0
  1174. package/docs/ru/packages/intlayer/getLocalizedUrl.md +75 -0
  1175. package/docs/ru/packages/intlayer/getMultilingualUrls.md +111 -0
  1176. package/docs/ru/packages/next-intlayer/t.md +34 -0
  1177. package/docs/ru/packages/react-intlayer/useDictionary.md +0 -104
  1178. package/docs/ru/packages/react-intlayer/useIntlayer.md +0 -51
  1179. package/docs/ru/packages/react-intlayer/useLocale.md +9 -0
  1180. package/docs/ru/packages/react-native-intlayer/exports.md +49 -16
  1181. package/docs/ru/releases/v6.md +28 -0
  1182. package/docs/ru/releases/v7.md +128 -0
  1183. package/docs/ru/releases/v9.md +37 -1
  1184. package/docs/ru/roadmap.md +6 -0
  1185. package/docs/tr/CI_CD.md +4 -0
  1186. package/docs/tr/autoFill.md +81 -0
  1187. package/docs/tr/benchmark/solid.md +22 -0
  1188. package/docs/tr/benchmark/svelte.md +22 -0
  1189. package/docs/tr/benchmark/tanstack.md +22 -0
  1190. package/docs/tr/cli/ci.md +22 -0
  1191. package/docs/tr/cli/fill.md +8 -0
  1192. package/docs/tr/cli/login.md +0 -10
  1193. package/docs/tr/compat/i18n-js.md +44 -0
  1194. package/docs/tr/compat/i18next.md +59 -0
  1195. package/docs/tr/compat/index.md +51 -0
  1196. package/docs/tr/compat/lingui.md +44 -0
  1197. package/docs/tr/compat/next-i18next.md +57 -0
  1198. package/docs/tr/compat/next-intl.md +59 -0
  1199. package/docs/tr/compat/next-translate.md +45 -0
  1200. package/docs/tr/compat/ngx-translate.md +45 -0
  1201. package/docs/tr/compat/nuxtjs-i18n.md +46 -0
  1202. package/docs/tr/compat/polyglot.md +45 -0
  1203. package/docs/tr/compat/react-i18next.md +58 -0
  1204. package/docs/tr/compat/react-intl.md +55 -0
  1205. package/docs/tr/compat/svelte-i18n.md +47 -0
  1206. package/docs/tr/compat/transloco.md +45 -0
  1207. package/docs/tr/compat/vue-i18n.md +58 -0
  1208. package/docs/tr/compiler.md +3 -1
  1209. package/docs/tr/configuration.md +19 -17
  1210. package/docs/tr/custom_domains.md +1 -1
  1211. package/docs/tr/custom_url_rewrites.md +1 -1
  1212. package/docs/tr/dictionary/content_file.md +4 -27
  1213. package/docs/tr/dictionary/enumeration.md +0 -187
  1214. package/docs/tr/dictionary/file.md +8 -0
  1215. package/docs/tr/dictionary/nesting.md +39 -0
  1216. package/docs/tr/dictionary/translation.md +0 -88
  1217. package/docs/tr/formatters.md +59 -0
  1218. package/docs/tr/how_works_intlayer.md +4 -0
  1219. package/docs/tr/intlayer_CMS.md +6 -0
  1220. package/docs/tr/intlayer_with_analog.md +4 -0
  1221. package/docs/tr/intlayer_with_astro.md +134 -77
  1222. package/docs/tr/intlayer_with_astro_lit.md +1 -1
  1223. package/docs/tr/intlayer_with_astro_preact.md +1 -1
  1224. package/docs/tr/intlayer_with_astro_react.md +1 -1
  1225. package/docs/tr/intlayer_with_astro_solid.md +1 -1
  1226. package/docs/tr/intlayer_with_astro_svelte.md +1 -1
  1227. package/docs/tr/intlayer_with_astro_vanilla.md +1 -1
  1228. package/docs/tr/intlayer_with_astro_vue.md +1 -1
  1229. package/docs/tr/intlayer_with_express.md +0 -4
  1230. package/docs/tr/intlayer_with_nestjs.md +0 -8
  1231. package/docs/tr/intlayer_with_nextjs_14.md +95 -8
  1232. package/docs/tr/intlayer_with_nextjs_15.md +21 -1
  1233. package/docs/tr/intlayer_with_nextjs_16.md +1 -1
  1234. package/docs/tr/intlayer_with_nextjs_compiler.md +1 -22
  1235. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +1 -1
  1236. package/docs/tr/intlayer_with_nextjs_page_router.md +5 -1
  1237. package/docs/tr/intlayer_with_react_native+expo.md +65 -101
  1238. package/docs/tr/intlayer_with_react_router_v7.md +1 -95
  1239. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1240. package/docs/tr/intlayer_with_svelte_kit.md +1 -207
  1241. package/docs/tr/intlayer_with_tanstack+solid.md +3 -1
  1242. package/docs/tr/intlayer_with_tanstack.md +1 -1
  1243. package/docs/tr/intlayer_with_vite+lit.md +1 -1
  1244. package/docs/tr/intlayer_with_vite+preact.md +57 -57
  1245. package/docs/tr/intlayer_with_vite+react.md +49 -49
  1246. package/docs/tr/intlayer_with_vite+react_compiler.md +1 -1
  1247. package/docs/tr/intlayer_with_vite+solid.md +33 -42
  1248. package/docs/tr/intlayer_with_vite+svelte.md +27 -29
  1249. package/docs/tr/intlayer_with_vite+vanilla.md +1 -1
  1250. package/docs/tr/intlayer_with_vite+vue.md +54 -102
  1251. package/docs/tr/mcp_server.md +22 -0
  1252. package/docs/tr/packages/intlayer/getMultilingualUrls.md +111 -0
  1253. package/docs/tr/packages/react-intlayer/useDictionary.md +0 -119
  1254. package/docs/tr/packages/react-intlayer/useI18n.md +0 -125
  1255. package/docs/tr/packages/react-intlayer/useIntlayer.md +0 -51
  1256. package/docs/tr/packages/react-native-intlayer/exports.md +48 -15
  1257. package/docs/tr/releases/v6.md +28 -0
  1258. package/docs/tr/releases/v7.md +128 -0
  1259. package/docs/tr/releases/v9.md +37 -1
  1260. package/docs/tr/roadmap.md +6 -0
  1261. package/docs/uk/benchmark/solid.md +22 -0
  1262. package/docs/uk/benchmark/svelte.md +22 -0
  1263. package/docs/uk/benchmark/tanstack.md +22 -0
  1264. package/docs/uk/cli/ci.md +22 -0
  1265. package/docs/uk/cli/fill.md +8 -0
  1266. package/docs/uk/compat/i18n-js.md +44 -0
  1267. package/docs/uk/compat/i18next.md +59 -0
  1268. package/docs/uk/compat/index.md +51 -0
  1269. package/docs/uk/compat/lingui.md +44 -0
  1270. package/docs/uk/compat/next-i18next.md +57 -0
  1271. package/docs/uk/compat/next-intl.md +59 -0
  1272. package/docs/uk/compat/next-translate.md +45 -0
  1273. package/docs/uk/compat/ngx-translate.md +45 -0
  1274. package/docs/uk/compat/nuxtjs-i18n.md +46 -0
  1275. package/docs/uk/compat/polyglot.md +45 -0
  1276. package/docs/uk/compat/react-i18next.md +58 -0
  1277. package/docs/uk/compat/react-intl.md +55 -0
  1278. package/docs/uk/compat/svelte-i18n.md +47 -0
  1279. package/docs/uk/compat/transloco.md +45 -0
  1280. package/docs/uk/compat/vue-i18n.md +58 -0
  1281. package/docs/uk/compiler.md +3 -1
  1282. package/docs/uk/configuration.md +19 -17
  1283. package/docs/uk/custom_domains.md +1 -1
  1284. package/docs/uk/custom_url_rewrites.md +1 -1
  1285. package/docs/uk/dictionary/content_file.md +0 -7
  1286. package/docs/uk/dictionary/enumeration.md +0 -187
  1287. package/docs/uk/dictionary/nesting.md +39 -0
  1288. package/docs/uk/dictionary/translation.md +0 -72
  1289. package/docs/uk/formatters.md +142 -58
  1290. package/docs/uk/interest_of_intlayer.md +194 -0
  1291. package/docs/uk/intlayer_with_analog.md +4 -0
  1292. package/docs/uk/intlayer_with_astro.md +130 -3
  1293. package/docs/uk/intlayer_with_astro_lit.md +1 -1
  1294. package/docs/uk/intlayer_with_astro_preact.md +1 -1
  1295. package/docs/uk/intlayer_with_astro_react.md +1 -1
  1296. package/docs/uk/intlayer_with_astro_solid.md +1 -1
  1297. package/docs/uk/intlayer_with_astro_svelte.md +1 -1
  1298. package/docs/uk/intlayer_with_astro_vanilla.md +1 -1
  1299. package/docs/uk/intlayer_with_astro_vue.md +1 -1
  1300. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  1301. package/docs/uk/intlayer_with_nextjs_15.md +1 -1
  1302. package/docs/uk/intlayer_with_nextjs_16.md +1 -1
  1303. package/docs/uk/intlayer_with_nextjs_compiler.md +1 -22
  1304. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +1 -1
  1305. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  1306. package/docs/uk/intlayer_with_nuxt.md +0 -27
  1307. package/docs/uk/intlayer_with_react_native+expo.md +52 -93
  1308. package/docs/uk/intlayer_with_react_router_v7.md +1 -95
  1309. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +1 -96
  1310. package/docs/uk/intlayer_with_svelte_kit.md +1 -1
  1311. package/docs/uk/intlayer_with_tanstack+solid.md +3 -1
  1312. package/docs/uk/intlayer_with_tanstack.md +1 -1
  1313. package/docs/uk/intlayer_with_vite+lit.md +1 -1
  1314. package/docs/uk/intlayer_with_vite+preact.md +57 -57
  1315. package/docs/uk/intlayer_with_vite+react.md +49 -49
  1316. package/docs/uk/intlayer_with_vite+react_compiler.md +1 -1
  1317. package/docs/uk/intlayer_with_vite+solid.md +33 -42
  1318. package/docs/uk/intlayer_with_vite+svelte.md +29 -29
  1319. package/docs/uk/intlayer_with_vite+vanilla.md +1 -1
  1320. package/docs/uk/intlayer_with_vite+vue.md +49 -101
  1321. package/docs/uk/mcp_server.md +22 -0
  1322. package/docs/uk/migration_from_i18next_to_intlayer.md +333 -0
  1323. package/docs/uk/migration_from_next-i18next_to_intlayer.md +355 -0
  1324. package/docs/uk/migration_from_next-intl_to_intlayer.md +364 -0
  1325. package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1326. package/docs/uk/migration_from_react-i18next_to_intlayer.md +384 -0
  1327. package/docs/uk/migration_from_vue-i18n_to_intlayer.md +359 -0
  1328. package/docs/uk/packages/react-intlayer/useDictionary.md +0 -107
  1329. package/docs/uk/packages/react-intlayer/useIntlayer.md +0 -51
  1330. package/docs/uk/packages/react-native-intlayer/exports.md +47 -13
  1331. package/docs/uk/releases/v6.md +4 -0
  1332. package/docs/uk/releases/v7.md +4 -0
  1333. package/docs/uk/releases/v9.md +37 -1
  1334. package/docs/vi/autoFill.md +20 -0
  1335. package/docs/vi/benchmark/solid.md +22 -0
  1336. package/docs/vi/benchmark/svelte.md +22 -0
  1337. package/docs/vi/benchmark/tanstack.md +22 -0
  1338. package/docs/vi/cli/ci.md +22 -0
  1339. package/docs/vi/cli/fill.md +8 -0
  1340. package/docs/vi/cli/login.md +0 -36
  1341. package/docs/vi/compat/i18n-js.md +44 -0
  1342. package/docs/vi/compat/i18next.md +59 -0
  1343. package/docs/vi/compat/index.md +51 -0
  1344. package/docs/vi/compat/lingui.md +44 -0
  1345. package/docs/vi/compat/next-i18next.md +57 -0
  1346. package/docs/vi/compat/next-intl.md +59 -0
  1347. package/docs/vi/compat/next-translate.md +45 -0
  1348. package/docs/vi/compat/ngx-translate.md +45 -0
  1349. package/docs/vi/compat/nuxtjs-i18n.md +46 -0
  1350. package/docs/vi/compat/polyglot.md +45 -0
  1351. package/docs/vi/compat/react-i18next.md +58 -0
  1352. package/docs/vi/compat/react-intl.md +55 -0
  1353. package/docs/vi/compat/svelte-i18n.md +47 -0
  1354. package/docs/vi/compat/transloco.md +45 -0
  1355. package/docs/vi/compat/vue-i18n.md +58 -0
  1356. package/docs/vi/compiler.md +3 -1
  1357. package/docs/vi/configuration.md +19 -17
  1358. package/docs/vi/custom_domains.md +1 -1
  1359. package/docs/vi/custom_url_rewrites.md +1 -1
  1360. package/docs/vi/dictionary/content_file.md +0 -7
  1361. package/docs/vi/dictionary/enumeration.md +0 -199
  1362. package/docs/vi/dictionary/insertion.md +0 -2
  1363. package/docs/vi/dictionary/nesting.md +39 -0
  1364. package/docs/vi/dictionary/translation.md +0 -61
  1365. package/docs/vi/formatters.md +124 -0
  1366. package/docs/vi/interest_of_intlayer.md +193 -0
  1367. package/docs/vi/intlayer_with_analog.md +4 -0
  1368. package/docs/vi/intlayer_with_astro.md +130 -3
  1369. package/docs/vi/intlayer_with_astro_lit.md +1 -1
  1370. package/docs/vi/intlayer_with_astro_preact.md +1 -1
  1371. package/docs/vi/intlayer_with_astro_react.md +1 -1
  1372. package/docs/vi/intlayer_with_astro_solid.md +1 -1
  1373. package/docs/vi/intlayer_with_astro_svelte.md +1 -1
  1374. package/docs/vi/intlayer_with_astro_vanilla.md +1 -1
  1375. package/docs/vi/intlayer_with_astro_vue.md +1 -1
  1376. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  1377. package/docs/vi/intlayer_with_nextjs_15.md +469 -1
  1378. package/docs/vi/intlayer_with_nextjs_16.md +1 -1
  1379. package/docs/vi/intlayer_with_nextjs_compiler.md +1 -22
  1380. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +1 -1
  1381. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  1382. package/docs/vi/intlayer_with_nuxt.md +0 -27
  1383. package/docs/vi/intlayer_with_react_native+expo.md +32 -74
  1384. package/docs/vi/intlayer_with_react_router_v7.md +1 -95
  1385. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -103
  1386. package/docs/vi/intlayer_with_svelte_kit.md +1 -207
  1387. package/docs/vi/intlayer_with_tanstack+solid.md +3 -1
  1388. package/docs/vi/intlayer_with_tanstack.md +1 -1
  1389. package/docs/vi/intlayer_with_vite+lit.md +1 -1
  1390. package/docs/vi/intlayer_with_vite+preact.md +57 -57
  1391. package/docs/vi/intlayer_with_vite+react.md +49 -49
  1392. package/docs/vi/intlayer_with_vite+react_compiler.md +1 -1
  1393. package/docs/vi/intlayer_with_vite+solid.md +33 -42
  1394. package/docs/vi/intlayer_with_vite+svelte.md +29 -31
  1395. package/docs/vi/intlayer_with_vite+vanilla.md +1 -1
  1396. package/docs/vi/intlayer_with_vite+vue.md +49 -101
  1397. package/docs/vi/mcp_server.md +22 -0
  1398. package/docs/vi/migration_from_i18next_to_intlayer.md +333 -0
  1399. package/docs/vi/migration_from_next-i18next_to_intlayer.md +355 -0
  1400. package/docs/vi/migration_from_next-intl_to_intlayer.md +364 -0
  1401. package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1402. package/docs/vi/migration_from_react-i18next_to_intlayer.md +384 -0
  1403. package/docs/vi/migration_from_vue-i18n_to_intlayer.md +359 -0
  1404. package/docs/vi/packages/intlayer/getLocalizedUrl.md +25 -0
  1405. package/docs/vi/packages/intlayer/getMultilingualUrls.md +112 -0
  1406. package/docs/vi/packages/react-intlayer/useDictionary.md +0 -121
  1407. package/docs/vi/packages/react-intlayer/useI18n.md +0 -28
  1408. package/docs/vi/packages/react-intlayer/useIntlayer.md +0 -51
  1409. package/docs/vi/packages/react-native-intlayer/exports.md +47 -13
  1410. package/docs/vi/releases/v6.md +4 -0
  1411. package/docs/vi/releases/v7.md +128 -0
  1412. package/docs/vi/releases/v9.md +37 -1
  1413. package/docs/zh/CI_CD.md +1 -1
  1414. package/docs/zh/autoFill.md +81 -0
  1415. package/docs/zh/benchmark/solid.md +22 -0
  1416. package/docs/zh/benchmark/svelte.md +22 -0
  1417. package/docs/zh/benchmark/tanstack.md +22 -0
  1418. package/docs/zh/cli/ci.md +22 -0
  1419. package/docs/zh/cli/fill.md +8 -0
  1420. package/docs/zh/cli/login.md +0 -36
  1421. package/docs/zh/compat/i18n-js.md +44 -0
  1422. package/docs/zh/compat/i18next.md +59 -0
  1423. package/docs/zh/compat/index.md +51 -0
  1424. package/docs/zh/compat/lingui.md +44 -0
  1425. package/docs/zh/compat/next-i18next.md +57 -0
  1426. package/docs/zh/compat/next-intl.md +59 -0
  1427. package/docs/zh/compat/next-translate.md +45 -0
  1428. package/docs/zh/compat/ngx-translate.md +45 -0
  1429. package/docs/zh/compat/nuxtjs-i18n.md +46 -0
  1430. package/docs/zh/compat/polyglot.md +45 -0
  1431. package/docs/zh/compat/react-i18next.md +58 -0
  1432. package/docs/zh/compat/react-intl.md +55 -0
  1433. package/docs/zh/compat/svelte-i18n.md +47 -0
  1434. package/docs/zh/compat/transloco.md +45 -0
  1435. package/docs/zh/compat/vue-i18n.md +58 -0
  1436. package/docs/zh/compiler.md +3 -1
  1437. package/docs/zh/configuration.md +19 -17
  1438. package/docs/zh/custom_domains.md +1 -1
  1439. package/docs/zh/custom_url_rewrites.md +14 -16
  1440. package/docs/zh/dictionary/content_file.md +16 -20
  1441. package/docs/zh/dictionary/enumeration.md +0 -187
  1442. package/docs/zh/dictionary/function_fetching.md +0 -27
  1443. package/docs/zh/dictionary/insertion.md +0 -64
  1444. package/docs/zh/dictionary/nesting.md +39 -0
  1445. package/docs/zh/dictionary/translation.md +0 -84
  1446. package/docs/zh/formatters.md +77 -0
  1447. package/docs/zh/how_works_intlayer.md +4 -4
  1448. package/docs/zh/intlayer_CMS.md +21 -0
  1449. package/docs/zh/intlayer_with_analog.md +4 -170
  1450. package/docs/zh/intlayer_with_angular_19.md +0 -248
  1451. package/docs/zh/intlayer_with_astro.md +242 -60
  1452. package/docs/zh/intlayer_with_astro_lit.md +108 -74
  1453. package/docs/zh/intlayer_with_astro_preact.md +102 -68
  1454. package/docs/zh/intlayer_with_astro_react.md +104 -70
  1455. package/docs/zh/intlayer_with_astro_solid.md +104 -70
  1456. package/docs/zh/intlayer_with_astro_svelte.md +104 -70
  1457. package/docs/zh/intlayer_with_astro_vanilla.md +101 -69
  1458. package/docs/zh/intlayer_with_astro_vue.md +96 -62
  1459. package/docs/zh/intlayer_with_create_react_app.md +0 -305
  1460. package/docs/zh/intlayer_with_express.md +0 -23
  1461. package/docs/zh/intlayer_with_lynx+react.md +0 -275
  1462. package/docs/zh/intlayer_with_nestjs.md +0 -18
  1463. package/docs/zh/intlayer_with_nextjs_14.md +63 -25
  1464. package/docs/zh/intlayer_with_nextjs_15.md +64 -14
  1465. package/docs/zh/intlayer_with_nextjs_16.md +129 -87
  1466. package/docs/zh/intlayer_with_nextjs_compiler.md +152 -140
  1467. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +1 -1
  1468. package/docs/zh/intlayer_with_nextjs_page_router.md +51 -15
  1469. package/docs/zh/intlayer_with_nuxt.md +0 -162
  1470. package/docs/zh/intlayer_with_react_native+expo.md +134 -151
  1471. package/docs/zh/intlayer_with_react_router_v7.md +1 -342
  1472. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -332
  1473. package/docs/zh/intlayer_with_storybook.md +0 -240
  1474. package/docs/zh/intlayer_with_svelte_kit.md +1 -549
  1475. package/docs/zh/intlayer_with_tanstack+solid.md +1 -646
  1476. package/docs/zh/intlayer_with_tanstack.md +1 -644
  1477. package/docs/zh/intlayer_with_vanilla.md +0 -283
  1478. package/docs/zh/intlayer_with_vite+lit.md +1 -411
  1479. package/docs/zh/intlayer_with_vite+preact.md +1 -241
  1480. package/docs/zh/intlayer_with_vite+react.md +2 -2
  1481. package/docs/zh/intlayer_with_vite+react_compiler.md +1 -192
  1482. package/docs/zh/intlayer_with_vite+solid.md +1 -306
  1483. package/docs/zh/intlayer_with_vite+svelte.md +104 -78
  1484. package/docs/zh/intlayer_with_vite+vanilla.md +1 -442
  1485. package/docs/zh/intlayer_with_vite+vue.md +95 -136
  1486. package/docs/zh/mcp_server.md +26 -0
  1487. package/docs/zh/migration_from_i18next_to_intlayer.md +330 -0
  1488. package/docs/zh/migration_from_next-i18next_to_intlayer.md +355 -0
  1489. package/docs/zh/migration_from_next-intl_to_intlayer.md +365 -0
  1490. package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +328 -0
  1491. package/docs/zh/migration_from_react-i18next_to_intlayer.md +384 -0
  1492. package/docs/zh/migration_from_vue-i18n_to_intlayer.md +359 -0
  1493. package/docs/zh/packages/intlayer/getLocalizedUrl.md +73 -0
  1494. package/docs/zh/packages/intlayer/getMultilingualUrls.md +112 -0
  1495. package/docs/zh/packages/react-intlayer/useDictionary.md +0 -129
  1496. package/docs/zh/packages/react-intlayer/useIntlayer.md +0 -51
  1497. package/docs/zh/packages/react-native-intlayer/exports.md +48 -14
  1498. package/docs/zh/releases/v6.md +28 -0
  1499. package/docs/zh/releases/v7.md +128 -0
  1500. package/docs/zh/releases/v8.md +190 -0
  1501. package/docs/zh/releases/v9.md +37 -1
  1502. package/docs/zh/roadmap.md +6 -0
  1503. package/docs/zh/vs_code_extension.md +0 -7
  1504. package/frequent_questions/pt/translated_path_url.md +1 -1
  1505. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-11-20
3
- updatedAt: 2026-05-31
3
+ updatedAt: 2026-06-23
4
4
  title: "SvelteKit i18n - 翻译你的应用的完整指南"
5
5
  description: "告别 i18next。2026 年构建多语言 (i18n) SvelteKit 应用的完整指南。使用 AI 代理翻译并优化包体积、SEO 和性能。"
6
6
  keywords:
@@ -94,342 +94,6 @@ Intlayer 不仅仅是一个 i18n 解决方案,还提供了一个**自托管的
94
94
 
95
95
  ---
96
96
 
97
- ## 在 SvelteKit 应用中设置 Intlayer 的分步指南
98
-
99
- 首先,创建一个新的 SvelteKit 项目。以下是我们将要构建的最终结构:
100
-
101
- ```bash
102
- .
103
- ├── intlayer.config.ts
104
- ├── package.json
105
- ├── src
106
- │ ├── app.d.ts
107
- │   ├── app.html
108
- │   ├── hooks.server.ts
109
- │   ├── lib
110
- │   │   ├── getLocale.ts
111
- │   │   ├── LocaleSwitcher.svelte
112
- │   │   └── LocalizedLink.svelte
113
- │   ├── params
114
- │   │   └── locale.ts
115
- │   └── routes
116
- │   ├── [[locale=locale]]
117
- │   │   ├── +layout.svelte
118
- │   │   ├── +layout.ts
119
- │   │   ├── +page.svelte
120
- │   │   ├── +page.ts
121
- │   │   ├── about
122
- │   │   │   ├── +page.svelte
123
- │   │   │   ├── +page.ts
124
- │   │   │   └── page.content.ts
125
- │   │   ├── Counter.content.ts
126
- │   │   ├── Counter.svelte
127
- │   │   ├── Header.content.ts
128
- │   │   ├── Header.svelte
129
- │   │   ├── home.content.ts
130
- │   │   └── layout.content.ts
131
- │   ├── +layout.svelte
132
- │   └── layout.css
133
- ├── static
134
- │   ├── favicon.svg
135
- │   └── robots.txt
136
- ├── svelte.config.js
137
- ├── tsconfig.json
138
- └── vite.config.ts
139
- ```
140
-
141
- ### 第一步:安装依赖
142
-
143
- 使用 npm 安装必要的包:
144
-
145
- ```bash packageManager="npm"
146
- npx intlayer-cli init --interactive
147
- ```
148
-
149
- ```bash packageManager="pnpm"
150
- pnpm dlx intlayer-cli init --interactive
151
- ```
152
-
153
- ```bash packageManager="yarn"
154
- yarn dlx intlayer-cli init --interactive
155
- ```
156
-
157
- ```bash packageManager="bun"
158
- bunx intlayer-cli init --interactive
159
- ```
160
-
161
- > `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
162
-
163
- > 该命令将检测您的环境并安装所需的软件包。例如:
164
-
165
- ```bash packageManager="npm"
166
- npm install intlayer svelte-intlayer
167
- npm install vite-intlayer --save-dev
168
- ```
169
-
170
- ```bash packageManager="pnpm"
171
- pnpm add intlayer svelte-intlayer
172
- pnpm add vite-intlayer --save-dev
173
- ```
174
-
175
- ```bash packageManager="yarn"
176
- yarn add intlayer svelte-intlayer
177
- yarn add vite-intlayer --save-dev
178
- ```
179
-
180
- ```bash packageManager="bun"
181
- bun add intlayer svelte-intlayer
182
- bun add vite-intlayer --save-dev
183
- ```
184
-
185
- - **intlayer**:核心的国际化(i18n)包。
186
- - **svelte-intlayer**:为 Svelte/SvelteKit 提供上下文提供者和存储。
187
- - **vite-intlayer**:Vite 插件,用于将内容声明集成到构建流程中。
188
-
189
- ### 第二步:配置你的项目
190
-
191
- 在项目根目录创建一个配置文件:
192
-
193
- ```typescript fileName="intlayer.config.ts"
194
- import { Locales, type IntlayerConfig } from "intlayer";
195
-
196
- const config: IntlayerConfig = {
197
- internationalization: {
198
- locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
199
- defaultLocale: Locales.ENGLISH,
200
- },
201
- };
202
-
203
- export default config;
204
- ```
205
-
206
- ### 第3步:在你的 Vite 配置中集成 Intlayer
207
-
208
- 更新你的 `vite.config.ts` 文件以包含 Intlayer 插件。该插件负责内容文件的转译。
209
-
210
- ```typescript fileName="vite.config.ts"
211
- import { sveltekit } from "@sveltejs/kit/vite";
212
- import { defineConfig } from "vite";
213
- import { intlayer } from "vite-intlayer";
214
-
215
- export default defineConfig({
216
- plugins: [intlayer(), sveltekit()], // 顺序很重要,Intlayer 应该放在 SvelteKit 之前
217
- });
218
- ```
219
-
220
- ### 第4步:声明您的内容
221
-
222
- 在您的 `src` 文件夹中的任意位置创建内容声明文件(例如,`src/lib/content` 或与组件放在一起)。这些文件使用 `t()` 函数为每个语言环境定义您的应用程序可翻译的内容。
223
-
224
- ```ts fileName="src/features/hero/hero.content.ts" contentDeclarationFormat=["typescript", "esm", "cjs"]
225
- import { t, type Dictionary } from "intlayer";
226
-
227
- const heroContent = {
228
- key: "hero-section",
229
- content: {
230
- title: t({
231
- en: "Welcome to SvelteKit",
232
- fr: "Bienvenue sur SvelteKit",
233
- es: "Bienvenido a SvelteKit",
234
- }),
235
- },
236
- } satisfies Dictionary;
237
-
238
- export default heroContent;
239
- ```
240
-
241
- ### 第5步:在您的组件中使用 Intlayer
242
-
243
- 现在你可以在任何 Svelte 组件中使用 `useIntlayer` 函数。它返回一个响应式存储,当语言环境变化时会自动更新。该函数会自动遵循当前语言环境(无论是在 SSR 还是客户端导航期间)。
244
-
245
- > **注意:** `useIntlayer` 返回一个 Svelte 存储,因此你需要使用 `---
246
- > createdAt: 2025-11-20
247
- > updatedAt: 2026-05-31
248
- > title: 如何翻译您的 SvelteKit 应用 – 2025 年国际化 (i18n) 指南
249
- > description: 了解如何使您的 SvelteKit 网站支持多语言。按照文档使用服务器端渲染 (SSR) 进行国际化 (i18n) 和翻译。
250
- > keywords:
251
-
252
- - 国际化
253
- - 文档
254
- - Intlayer
255
- - SvelteKit
256
- - JavaScript
257
- - SSR
258
- slugs:
259
- - doc
260
- - environment
261
- - sveltekit
262
- applicationTemplate: https://github.com/aymericzip/intlayer-sveltekit-template
263
- history:
264
- - version: 7.1.10
265
- date: 2025-11-20
266
- changes: 初始化历史记录
267
-
268
- ---
269
-
270
- # 使用 Intlayer 翻译您的 SvelteKit 网站 | 国际化 (i18n)
271
-
272
- ## 目录
273
-
274
- <TOC/>
275
-
276
- ## 什么是 Intlayer?
277
-
278
- **Intlayer** 是一个创新的开源国际化 (i18n) 库,旨在简化现代 Web 应用中的多语言支持。它与 **SvelteKit** 的服务器端渲染 (SSR) 功能无缝协作。
279
-
280
- 使用 Intlayer,您可以:
281
-
282
- - **通过组件级声明式字典轻松管理翻译**。
283
- - **动态本地化元数据、路由和内容**。
284
- - **通过自动生成的类型确保 TypeScript 支持**。
285
- - **利用 SvelteKit 的 SSR 实现对搜索引擎友好的国际化**。
286
-
287
- ---
288
-
289
- ## 在 SvelteKit 应用中设置 Intlayer 的分步指南
290
-
291
- 首先,创建一个新的 SvelteKit 项目。以下是我们将要构建的最终结构:
292
-
293
- ```bash
294
- .
295
- ├── intlayer.config.ts
296
- ├── package.json
297
- ├── src
298
- │ ├── app.d.ts
299
- │   ├── app.html
300
- │   ├── hooks.server.ts
301
- │   ├── lib
302
- │   │   ├── getLocale.ts
303
- │   │   ├── LocaleSwitcher.svelte
304
- │   │   └── LocalizedLink.svelte
305
- │   ├── params
306
- │   │   └── locale.ts
307
- │   └── routes
308
- │   ├── [[locale=locale]]
309
- │   │   ├── +layout.svelte
310
- │   │   ├── +layout.ts
311
- │   │   ├── +page.svelte
312
- │   │   ├── +page.ts
313
- │   │   ├── about
314
- │   │   │   ├── +page.svelte
315
- │   │   │   ├── +page.ts
316
- │   │   │   └── page.content.ts
317
- │   │   ├── Counter.content.ts
318
- │   │   ├── Counter.svelte
319
- │   │   ├── Header.content.ts
320
- │   │   ├── Header.svelte
321
- │   │   ├── home.content.ts
322
- │   │   └── layout.content.ts
323
- │   ├── +layout.svelte
324
- │   └── layout.css
325
- ├── static
326
- │   ├── favicon.svg
327
- │   └── robots.txt
328
- ├── svelte.config.js
329
- ├── tsconfig.json
330
- └── vite.config.ts
331
- ```
332
-
333
- ### 第一步:安装依赖
334
-
335
- 使用 npm 安装必要的包:
336
-
337
- ```bash packageManager="npm"
338
- npx intlayer-cli init --interactive
339
- ```
340
-
341
- ```bash packageManager="pnpm"
342
- pnpm dlx intlayer-cli init --interactive
343
- ```
344
-
345
- ```bash packageManager="yarn"
346
- yarn dlx intlayer-cli init --interactive
347
- ```
348
-
349
- ```bash packageManager="bun"
350
- bunx intlayer-cli init --interactive
351
- ```
352
-
353
- > `--interactive` 标志是可选的。如果您是 AI 代理,请使用 `intlayer-cli init`。
354
-
355
- > 该命令将检测您的环境并安装所需的软件包。例如:
356
-
357
- ```bash packageManager="npm"
358
- npm install intlayer svelte-intlayer
359
- npm install vite-intlayer --save-dev
360
- ```
361
-
362
- ```bash packageManager="pnpm"
363
- pnpm add intlayer svelte-intlayer
364
- pnpm add vite-intlayer --save-dev
365
- ```
366
-
367
- ```bash packageManager="yarn"
368
- yarn add intlayer svelte-intlayer
369
- yarn add vite-intlayer --save-dev
370
- ```
371
-
372
- ```bash packageManager="bun"
373
- bun add intlayer svelte-intlayer
374
- bun add vite-intlayer --save-dev
375
- ```
376
-
377
- - **intlayer**:核心的国际化(i18n)包。
378
- - **svelte-intlayer**:为 Svelte/SvelteKit 提供上下文提供者和存储。
379
- - **vite-intlayer**:Vite 插件,用于将内容声明集成到构建流程中。
380
-
381
- ### 第二步:配置你的项目
382
-
383
- 在项目根目录创建一个配置文件:
384
-
385
- ```typescript fileName="intlayer.config.ts"
386
- import { Locales, type IntlayerConfig } from "intlayer";
387
-
388
- const config: IntlayerConfig = {
389
- internationalization: {
390
- locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
391
- defaultLocale: Locales.ENGLISH,
392
- },
393
- };
394
-
395
- export default config;
396
- ```
397
-
398
- ### 第3步:在你的 Vite 配置中集成 Intlayer
399
-
400
- 更新你的 `vite.config.ts` 文件以包含 Intlayer 插件。该插件负责内容文件的转译。
401
-
402
- ```typescript fileName="vite.config.ts"
403
- import { sveltekit } from "@sveltejs/kit/vite";
404
- import { defineConfig } from "vite";
405
- import { intlayer } from "vite-intlayer";
406
-
407
- export default defineConfig({
408
- plugins: [intlayer(), sveltekit()], // 顺序很重要,Intlayer 应该放在 SvelteKit 之前
409
- });
410
- ```
411
-
412
- ### 第4步:声明您的内容
413
-
414
- 在您的 `src` 文件夹中的任意位置创建内容声明文件(例如,`src/lib/content` 或与组件放在一起)。这些文件使用 `t()` 函数为每个语言环境定义您的应用程序可翻译的内容。
415
-
416
- ```ts fileName="src/features/hero/hero.content.ts" contentDeclarationFormat=["typescript", "esm", "cjs"]
417
- import { t, type Dictionary } from "intlayer";
418
-
419
- const heroContent = {
420
- key: "hero-section",
421
- content: {
422
- title: t({
423
- en: "Welcome to SvelteKit",
424
- fr: "Bienvenue sur SvelteKit",
425
- es: "Bienvenido a SvelteKit",
426
- }),
427
- },
428
- } satisfies Dictionary;
429
-
430
- export default heroContent;
431
- ```
432
-
433
97
  ### 第5步:在您的组件中使用 Intlayer
434
98
 
435
99
  前缀来访问其响应式值(例如,`$content.title`)。
@@ -706,218 +370,6 @@ bun run build # Or bun run dev
706
370
 
707
371
  </Steps>
708
372
 
709
- ### 第7步:处理服务器端的语言环境检测(Hooks)
710
-
711
- 在 SvelteKit 中,服务器需要知道用户的语言环境,以便在 SSR 期间渲染正确的内容。我们使用 `hooks.server.ts` 从 URL 或 cookie 中检测语言环境。
712
-
713
- 创建或修改 `src/hooks.server.ts`:
714
-
715
- ```typescript fileName="src/hooks.server.ts"
716
- import type { Handle } from "@sveltejs/kit";
717
- import { getLocalizedUrl } from "intlayer";
718
- import { getLocale } from "$lib/getLocale";
719
-
720
- export const handle: Handle = async ({ event, resolve }) => {
721
- const detectedLocale = getLocale(event);
722
-
723
- // 检查当前路径是否已以某个语言环境开头(例如 /fr, /en)
724
- const pathname = event.url.pathname;
725
- const targetPathname = getLocalizedUrl(pathname, detectedLocale);
726
-
727
- // 如果 URL 中没有语言环境(例如用户访问 "/"),则重定向
728
- if (targetPathname !== pathname) {
729
- return new Response(undefined, {
730
- headers: { Location: targetPathname },
731
- status: 307, // 临时重定向
732
- });
733
- }
734
-
735
- return resolve(event, {
736
- transformPageChunk: ({ html }) => html.replace("%lang%", detectedLocale),
737
- });
738
- };
739
- ```
740
-
741
- 然后,创建一个辅助函数从请求事件中获取用户的语言环境:
742
-
743
- ```typescript fileName="src/lib/getLocale.ts"
744
- import {
745
- configuration,
746
- getLocaleFromStorage,
747
- localeDetector,
748
- type Locale,
749
- } from "intlayer";
750
- import type { RequestEvent } from "@sveltejs/kit";
751
-
752
- /**
753
- * 从请求事件中获取用户的语言环境。
754
- * 此函数用于 `src/hooks.server.ts` 中的 `handle` 钩子。
755
- *
756
- * 它首先尝试从 Intlayer 存储(cookies 或自定义头)中获取语言环境。
757
- * 如果未找到语言环境,则回退到浏览器的 "Accept-Language" 协商。
758
- *
759
- * @param event - 来自 SvelteKit 的请求事件
760
- * @returns 用户的语言环境
761
- */
762
- export const getLocale = (event: RequestEvent): Locale => {
763
- const defaultLocale = configuration?.internationalization?.defaultLocale;
764
-
765
- // 尝试从 Intlayer 存储(Cookies 或头)中获取语言环境
766
- const storedLocale = getLocaleFromStorage({
767
- // SvelteKit cookies 访问
768
- getCookie: (name: string) => event.cookies.get(name) ?? null,
769
- // SvelteKit headers 访问
770
- getHeader: (name: string) => event.request.headers.get(name) ?? null,
771
- });
772
-
773
- if (storedLocale) {
774
- return storedLocale;
775
- }
776
-
777
- // 回退到浏览器的 "Accept-Language" 协商
778
- const negotiatorHeaders: Record<string, string> = {};
779
-
780
- // 将 SvelteKit Headers 对象转换为普通的 Record<string, string>
781
- event.request.headers.forEach((value, key) => {
782
- negotiatorHeaders[key] = value;
783
- });
784
-
785
- // 从 `Accept-Language` 头检查语言环境
786
- const userFallbackLocale = localeDetector(negotiatorHeaders);
787
-
788
- if (userFallbackLocale) {
789
- return userFallbackLocale;
790
- }
791
-
792
- // 如果没有匹配,返回默认语言环境
793
- return defaultLocale;
794
- };
795
- ```
796
-
797
- > `getLocaleFromStorage` 将根据您的配置从请求头或 cookie 中检查语言环境。更多详情请参见 [Configuration](https://intlayer.org/doc/configuration)。
798
-
799
- > `localeDetector` 函数会处理 `Accept-Language` 请求头并返回最佳匹配的语言环境。
800
-
801
- 如果未配置语言环境,我们希望返回 404 错误。为简化操作,我们可以创建一个 `match` 函数来检查语言环境是否有效:
802
-
803
- ```ts fileName="/src/params/locale.ts"import { defaultLocale, locales, type Locale } from "intlayer";
804
- export const match = (param: Locale = defaultLocale): boolean =>
805
- locales.includes(param);
806
- ```
807
-
808
- > **注意:** 请确保您的 `src/app.d.ts` 中包含语言环境的定义:
809
- >
810
- > ```typescript
811
- > declare global {
812
- > namespace App {
813
- > interface Locals {
814
- > locale: import("intlayer").Locale;
815
- > }
816
- > }
817
- > }
818
- > ```
819
-
820
- 对于 `+layout.svelte` 文件,我们可以删除所有内容,只保留与国际化无关的静态内容:
821
-
822
- ```svelte fileName="src/+layout.svelte"
823
- <script lang="ts">
824
- import './layout.css';
825
-
826
- let { children } = $props();
827
- </script>
828
-
829
- <div class="app">
830
- {@render children()}
831
- </div>
832
-
833
- <style>
834
- .app {
835
- /* */
836
- }
837
- </style>
838
- ```
839
-
840
- 然后,在 `[[locale=locale]]` 组下创建一个新的页面和布局:
841
-
842
- ```ts fileName="src/routes/[[locale=locale]]/+layout.ts"
843
- import type { Load } from "@sveltejs/kit";
844
- import { defaultLocale, type Locale } from "intlayer";
845
-
846
- export const prerender = true;
847
-
848
- // 使用通用的 Load 类型
849
- export const load: Load = ({ params }) => {
850
- const locale: Locale = (params.locale as Locale) ?? defaultLocale;
851
-
852
- return {
853
- locale,
854
- };
855
- };
856
- ```
857
-
858
- ```svelte fileName="src/routes/[[locale=locale]]/+layout.svelte"
859
- <script lang="ts">
860
- import type { Snippet } from 'svelte';
861
- import { useIntlayer, setupIntlayer } from "svelte-intlayer";
862
- import Header from './Header.svelte';
863
- import type { LayoutData } from './$types';
864
-
865
- let { children, data }: { children: Snippet, data: LayoutData } = $props();
866
-
867
- // 使用路由中的 locale 初始化 Intlayer
868
- $effect(() => {
869
- setupIntlayer(data.locale);
870
- });
871
- // 使用布局内容字典
872
- const layoutContent = useIntlayer('layout');
873
- </script>
874
-
875
- <Header />
876
-
877
- <main>
878
- {@render children()}
879
- </main>
880
-
881
- <footer>
882
- <p>
883
- {$layoutContent.footer.prefix.value}{' '}
884
- <a href="https://svelte.dev/docs/kit">{$layoutContent.footer.linkLabel.value}</a>{' '}
885
- {$layoutContent.footer.suffix.value}
886
- </p>
887
- </footer>
888
-
889
- <style>
890
- /* */
891
- </style>
892
- ```
893
-
894
- ```ts fileName="src/routes/[[locale=locale]]/+page.ts"
895
- export const prerender = true;
896
- ```
897
-
898
- ```svelte fileName="src/routes/[[locale=locale]]/+page.svelte"
899
- <script lang="ts">
900
- import { useIntlayer } from "svelte-intlayer";
901
-
902
- // 使用主页内容字典
903
- const homeContent = useIntlayer('home');
904
- </script>
905
-
906
- <svelte:head>
907
- <title>{$homeContent.title.value}</title>
908
- </svelte:head>
909
-
910
- <section>
911
- <h1>
912
- {$homeContent.title}
913
- </h1>
914
- </section>
915
-
916
- <style>
917
- /* */
918
- </style>
919
- ```
920
-
921
373
  ### Git 配置
922
374
 
923
375
  建议忽略 Intlayer 生成的文件。