@intlayer/docs 8.11.2 → 8.12.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1187) hide show
  1. package/blog/ar/i18n_using_next-i18next.md +63 -23
  2. package/blog/ar/i18n_using_next-intl.md +54 -20
  3. package/blog/ar/list_i18n_technologies/frameworks/angular.md +3 -3
  4. package/blog/ar/list_i18n_technologies/frameworks/react-native.md +3 -3
  5. package/blog/ar/list_i18n_technologies/frameworks/react.md +3 -3
  6. package/blog/ar/list_i18n_technologies/frameworks/svelte.md +3 -3
  7. package/blog/ar/list_i18n_technologies/frameworks/vue.md +3 -3
  8. package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  9. package/blog/de/i18n_using_next-i18next.md +64 -23
  10. package/blog/de/i18n_using_next-intl.md +54 -20
  11. package/blog/de/list_i18n_technologies/frameworks/angular.md +3 -3
  12. package/blog/de/list_i18n_technologies/frameworks/react-native.md +3 -3
  13. package/blog/de/list_i18n_technologies/frameworks/react.md +3 -3
  14. package/blog/de/list_i18n_technologies/frameworks/svelte.md +3 -3
  15. package/blog/de/list_i18n_technologies/frameworks/vue.md +3 -3
  16. package/blog/de/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  17. package/blog/en/i18n_using_next-i18next.md +62 -21
  18. package/blog/en/i18n_using_next-intl.md +52 -18
  19. package/blog/en/list_i18n_technologies/frameworks/angular.md +1 -1
  20. package/blog/en/list_i18n_technologies/frameworks/react-native.md +2 -2
  21. package/blog/en/list_i18n_technologies/frameworks/react.md +1 -1
  22. package/blog/en/list_i18n_technologies/frameworks/svelte.md +1 -1
  23. package/blog/en/list_i18n_technologies/frameworks/vue.md +1 -1
  24. package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +2 -2
  25. package/blog/en-GB/i18n_using_next-i18next.md +64 -23
  26. package/blog/en-GB/i18n_using_next-intl.md +54 -20
  27. package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +3 -3
  28. package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +3 -3
  29. package/blog/en-GB/list_i18n_technologies/frameworks/react.md +3 -3
  30. package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +3 -3
  31. package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +3 -3
  32. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  33. package/blog/es/i18n_using_next-i18next.md +64 -23
  34. package/blog/es/i18n_using_next-intl.md +55 -20
  35. package/blog/es/list_i18n_technologies/frameworks/angular.md +3 -3
  36. package/blog/es/list_i18n_technologies/frameworks/react-native.md +3 -3
  37. package/blog/es/list_i18n_technologies/frameworks/react.md +3 -3
  38. package/blog/es/list_i18n_technologies/frameworks/svelte.md +3 -3
  39. package/blog/es/list_i18n_technologies/frameworks/vue.md +3 -3
  40. package/blog/es/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  41. package/blog/fr/i18n_using_next-i18next.md +64 -23
  42. package/blog/fr/i18n_using_next-intl.md +55 -20
  43. package/blog/fr/list_i18n_technologies/frameworks/angular.md +3 -3
  44. package/blog/fr/list_i18n_technologies/frameworks/react-native.md +3 -3
  45. package/blog/fr/list_i18n_technologies/frameworks/react.md +3 -3
  46. package/blog/fr/list_i18n_technologies/frameworks/svelte.md +3 -3
  47. package/blog/fr/list_i18n_technologies/frameworks/vue.md +3 -3
  48. package/blog/fr/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  49. package/blog/hi/i18n_using_next-i18next.md +64 -23
  50. package/blog/hi/i18n_using_next-intl.md +54 -20
  51. package/blog/hi/list_i18n_technologies/frameworks/angular.md +3 -3
  52. package/blog/hi/list_i18n_technologies/frameworks/react-native.md +3 -3
  53. package/blog/hi/list_i18n_technologies/frameworks/react.md +3 -3
  54. package/blog/hi/list_i18n_technologies/frameworks/svelte.md +3 -3
  55. package/blog/hi/list_i18n_technologies/frameworks/vue.md +3 -3
  56. package/blog/hi/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  57. package/blog/id/i18n_using_next-i18next.md +64 -23
  58. package/blog/id/i18n_using_next-intl.md +54 -20
  59. package/blog/id/list_i18n_technologies/frameworks/angular.md +3 -3
  60. package/blog/id/list_i18n_technologies/frameworks/react-native.md +3 -3
  61. package/blog/id/list_i18n_technologies/frameworks/react.md +3 -3
  62. package/blog/id/list_i18n_technologies/frameworks/svelte.md +3 -3
  63. package/blog/id/list_i18n_technologies/frameworks/vue.md +3 -3
  64. package/blog/id/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  65. package/blog/it/i18n_using_next-i18next.md +64 -23
  66. package/blog/it/i18n_using_next-intl.md +54 -20
  67. package/blog/it/list_i18n_technologies/frameworks/angular.md +3 -3
  68. package/blog/it/list_i18n_technologies/frameworks/react-native.md +3 -3
  69. package/blog/it/list_i18n_technologies/frameworks/react.md +3 -3
  70. package/blog/it/list_i18n_technologies/frameworks/svelte.md +3 -3
  71. package/blog/it/list_i18n_technologies/frameworks/vue.md +3 -3
  72. package/blog/it/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  73. package/blog/ja/i18n_using_next-i18next.md +64 -23
  74. package/blog/ja/i18n_using_next-intl.md +55 -20
  75. package/blog/ja/list_i18n_technologies/frameworks/angular.md +3 -3
  76. package/blog/ja/list_i18n_technologies/frameworks/react-native.md +3 -3
  77. package/blog/ja/list_i18n_technologies/frameworks/react.md +3 -3
  78. package/blog/ja/list_i18n_technologies/frameworks/svelte.md +3 -3
  79. package/blog/ja/list_i18n_technologies/frameworks/vue.md +3 -3
  80. package/blog/ja/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  81. package/blog/ko/i18n_using_next-i18next.md +64 -23
  82. package/blog/ko/i18n_using_next-intl.md +55 -20
  83. package/blog/ko/list_i18n_technologies/frameworks/angular.md +3 -3
  84. package/blog/ko/list_i18n_technologies/frameworks/react-native.md +3 -3
  85. package/blog/ko/list_i18n_technologies/frameworks/react.md +3 -3
  86. package/blog/ko/list_i18n_technologies/frameworks/svelte.md +3 -3
  87. package/blog/ko/list_i18n_technologies/frameworks/vue.md +3 -3
  88. package/blog/ko/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  89. package/blog/pl/i18n_using_next-i18next.md +64 -23
  90. package/blog/pl/i18n_using_next-intl.md +54 -20
  91. package/blog/pl/list_i18n_technologies/frameworks/angular.md +3 -3
  92. package/blog/pl/list_i18n_technologies/frameworks/react-native.md +3 -3
  93. package/blog/pl/list_i18n_technologies/frameworks/react.md +3 -3
  94. package/blog/pl/list_i18n_technologies/frameworks/svelte.md +3 -3
  95. package/blog/pl/list_i18n_technologies/frameworks/vue.md +3 -3
  96. package/blog/pl/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  97. package/blog/pt/i18n_using_next-i18next.md +64 -23
  98. package/blog/pt/i18n_using_next-intl.md +54 -20
  99. package/blog/pt/list_i18n_technologies/frameworks/angular.md +3 -3
  100. package/blog/pt/list_i18n_technologies/frameworks/react-native.md +3 -3
  101. package/blog/pt/list_i18n_technologies/frameworks/react.md +3 -3
  102. package/blog/pt/list_i18n_technologies/frameworks/svelte.md +3 -3
  103. package/blog/pt/list_i18n_technologies/frameworks/vue.md +3 -3
  104. package/blog/pt/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  105. package/blog/ru/i18n_using_next-i18next.md +64 -23
  106. package/blog/ru/i18n_using_next-intl.md +55 -20
  107. package/blog/ru/list_i18n_technologies/frameworks/angular.md +3 -3
  108. package/blog/ru/list_i18n_technologies/frameworks/react-native.md +3 -3
  109. package/blog/ru/list_i18n_technologies/frameworks/react.md +3 -3
  110. package/blog/ru/list_i18n_technologies/frameworks/svelte.md +3 -3
  111. package/blog/ru/list_i18n_technologies/frameworks/vue.md +3 -3
  112. package/blog/ru/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  113. package/blog/tr/i18n_using_next-i18next.md +64 -23
  114. package/blog/tr/i18n_using_next-intl.md +54 -20
  115. package/blog/tr/list_i18n_technologies/frameworks/angular.md +3 -3
  116. package/blog/tr/list_i18n_technologies/frameworks/react-native.md +3 -3
  117. package/blog/tr/list_i18n_technologies/frameworks/react.md +3 -3
  118. package/blog/tr/list_i18n_technologies/frameworks/svelte.md +3 -3
  119. package/blog/tr/list_i18n_technologies/frameworks/vue.md +3 -3
  120. package/blog/tr/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  121. package/blog/uk/i18n_using_next-i18next.md +64 -23
  122. package/blog/uk/i18n_using_next-intl.md +54 -20
  123. package/blog/uk/list_i18n_technologies/frameworks/angular.md +3 -3
  124. package/blog/uk/list_i18n_technologies/frameworks/react-native.md +3 -3
  125. package/blog/uk/list_i18n_technologies/frameworks/react.md +3 -3
  126. package/blog/uk/list_i18n_technologies/frameworks/svelte.md +3 -3
  127. package/blog/uk/list_i18n_technologies/frameworks/vue.md +3 -3
  128. package/blog/uk/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  129. package/blog/vi/i18n_using_next-i18next.md +64 -23
  130. package/blog/vi/i18n_using_next-intl.md +54 -20
  131. package/blog/vi/list_i18n_technologies/frameworks/angular.md +3 -3
  132. package/blog/vi/list_i18n_technologies/frameworks/react-native.md +3 -3
  133. package/blog/vi/list_i18n_technologies/frameworks/react.md +3 -3
  134. package/blog/vi/list_i18n_technologies/frameworks/svelte.md +3 -3
  135. package/blog/vi/list_i18n_technologies/frameworks/vue.md +3 -3
  136. package/blog/vi/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  137. package/blog/zh/i18n_using_next-i18next.md +64 -23
  138. package/blog/zh/i18n_using_next-intl.md +55 -20
  139. package/blog/zh/list_i18n_technologies/frameworks/angular.md +3 -3
  140. package/blog/zh/list_i18n_technologies/frameworks/react-native.md +3 -3
  141. package/blog/zh/list_i18n_technologies/frameworks/react.md +3 -3
  142. package/blog/zh/list_i18n_technologies/frameworks/svelte.md +3 -3
  143. package/blog/zh/list_i18n_technologies/frameworks/vue.md +3 -3
  144. package/blog/zh/next-i18next_vs_next-intl_vs_intlayer.md +3 -3
  145. package/dist/cjs/common.cjs +1 -1
  146. package/dist/cjs/common.cjs.map +1 -1
  147. package/dist/cjs/generated/docs.entry.cjs +20 -20
  148. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  149. package/dist/esm/common.mjs +1 -1
  150. package/dist/esm/common.mjs.map +1 -1
  151. package/dist/esm/generated/docs.entry.mjs +20 -20
  152. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  153. package/dist/types/generated/docs.entry.d.ts +1 -1
  154. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  155. package/docs/ar/cli/build.md +1 -1
  156. package/docs/ar/cli/index.md +1 -1
  157. package/docs/ar/interest_of_intlayer.md +39 -192
  158. package/docs/ar/intlayer_with_adonisjs.md +3 -3
  159. package/docs/ar/intlayer_with_analog.md +53 -16
  160. package/docs/ar/intlayer_with_angular_19.md +53 -16
  161. package/docs/ar/intlayer_with_angular_21.md +53 -16
  162. package/docs/ar/intlayer_with_astro.md +106 -66
  163. package/docs/ar/intlayer_with_astro_lit.md +113 -70
  164. package/docs/ar/intlayer_with_astro_preact.md +107 -64
  165. package/docs/ar/intlayer_with_astro_react.md +109 -66
  166. package/docs/ar/intlayer_with_astro_solid.md +109 -66
  167. package/docs/ar/intlayer_with_astro_svelte.md +109 -66
  168. package/docs/ar/intlayer_with_astro_vanilla.md +106 -65
  169. package/docs/ar/intlayer_with_astro_vue.md +109 -66
  170. package/docs/ar/intlayer_with_create_react_app.md +33 -12
  171. package/docs/ar/intlayer_with_express.md +3 -3
  172. package/docs/ar/intlayer_with_fastify.md +3 -3
  173. package/docs/ar/intlayer_with_hono.md +3 -3
  174. package/docs/ar/intlayer_with_lynx+react.md +31 -10
  175. package/docs/ar/intlayer_with_nestjs.md +3 -14
  176. package/docs/ar/intlayer_with_next-i18next.md +3 -3
  177. package/docs/ar/intlayer_with_next-intl.md +3 -3
  178. package/docs/ar/intlayer_with_nextjs_14.md +73 -24
  179. package/docs/ar/intlayer_with_nextjs_15.md +74 -27
  180. package/docs/ar/intlayer_with_nextjs_16.md +74 -26
  181. package/docs/ar/intlayer_with_nextjs_compiler.md +70 -46
  182. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +64 -21
  183. package/docs/ar/intlayer_with_nextjs_page_router.md +71 -23
  184. package/docs/ar/intlayer_with_nuxt.md +88 -45
  185. package/docs/ar/intlayer_with_react_native+expo.md +72 -10
  186. package/docs/ar/intlayer_with_react_router_v7.md +79 -23
  187. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +79 -23
  188. package/docs/ar/intlayer_with_storybook.md +59 -18
  189. package/docs/ar/intlayer_with_svelte_kit.md +99 -36
  190. package/docs/ar/intlayer_with_tanstack+solid.md +86 -28
  191. package/docs/ar/intlayer_with_tanstack.md +96 -38
  192. package/docs/ar/intlayer_with_vanilla.md +58 -22
  193. package/docs/ar/intlayer_with_vite+lit.md +71 -22
  194. package/docs/ar/intlayer_with_vite+preact.md +108 -60
  195. package/docs/ar/intlayer_with_vite+react.md +97 -52
  196. package/docs/ar/intlayer_with_vite+react_compiler.md +24 -9
  197. package/docs/ar/intlayer_with_vite+solid.md +93 -45
  198. package/docs/ar/intlayer_with_vite+svelte.md +77 -31
  199. package/docs/ar/intlayer_with_vite+vanilla.md +73 -23
  200. package/docs/ar/intlayer_with_vite+vue.md +122 -74
  201. package/docs/ar/introduction.md +92 -38
  202. package/docs/ar/lsp.md +351 -0
  203. package/docs/bn/cli/index.md +1 -1
  204. package/docs/bn/intlayer_with_angular_21.md +3 -3
  205. package/docs/bn/intlayer_with_fastify.md +3 -3
  206. package/docs/bn/intlayer_with_hono.md +3 -3
  207. package/docs/bn/intlayer_with_storybook.md +2 -2
  208. package/docs/bn/intlayer_with_vanilla.md +3 -3
  209. package/docs/bn/intlayer_with_vite+lit.md +3 -3
  210. package/docs/bn/intlayer_with_vite+vanilla.md +3 -3
  211. package/docs/bn/introduction.md +82 -37
  212. package/docs/cs/cli/index.md +1 -1
  213. package/docs/cs/interest_of_intlayer.md +63 -7
  214. package/docs/cs/intlayer_with_angular_21.md +25 -9
  215. package/docs/cs/intlayer_with_fastify.md +3 -3
  216. package/docs/cs/intlayer_with_hono.md +3 -3
  217. package/docs/cs/intlayer_with_storybook.md +30 -10
  218. package/docs/cs/intlayer_with_vanilla.md +33 -12
  219. package/docs/cs/intlayer_with_vite+lit.md +43 -15
  220. package/docs/cs/intlayer_with_vite+vanilla.md +45 -16
  221. package/docs/cs/introduction.md +76 -31
  222. package/docs/de/cli/build.md +1 -1
  223. package/docs/de/cli/index.md +1 -1
  224. package/docs/de/interest_of_intlayer.md +134 -78
  225. package/docs/de/intlayer_with_adonisjs.md +3 -3
  226. package/docs/de/intlayer_with_analog.md +70 -16
  227. package/docs/de/intlayer_with_angular_19.md +70 -16
  228. package/docs/de/intlayer_with_angular_21.md +70 -16
  229. package/docs/de/intlayer_with_astro.md +123 -66
  230. package/docs/de/intlayer_with_astro_lit.md +130 -70
  231. package/docs/de/intlayer_with_astro_preact.md +124 -64
  232. package/docs/de/intlayer_with_astro_react.md +126 -66
  233. package/docs/de/intlayer_with_astro_solid.md +126 -66
  234. package/docs/de/intlayer_with_astro_svelte.md +126 -66
  235. package/docs/de/intlayer_with_astro_vanilla.md +123 -65
  236. package/docs/de/intlayer_with_astro_vue.md +126 -66
  237. package/docs/de/intlayer_with_create_react_app.md +33 -12
  238. package/docs/de/intlayer_with_express.md +3 -3
  239. package/docs/de/intlayer_with_fastify.md +3 -3
  240. package/docs/de/intlayer_with_hono.md +3 -3
  241. package/docs/de/intlayer_with_lynx+react.md +48 -10
  242. package/docs/de/intlayer_with_nestjs.md +3 -14
  243. package/docs/de/intlayer_with_next-i18next.md +3 -3
  244. package/docs/de/intlayer_with_next-intl.md +3 -3
  245. package/docs/de/intlayer_with_nextjs_14.md +90 -24
  246. package/docs/de/intlayer_with_nextjs_15.md +90 -26
  247. package/docs/de/intlayer_with_nextjs_16.md +159 -92
  248. package/docs/de/intlayer_with_nextjs_compiler.md +9 -4
  249. package/docs/de/intlayer_with_nextjs_no_locale_path.md +84 -22
  250. package/docs/de/intlayer_with_nextjs_page_router.md +87 -22
  251. package/docs/de/intlayer_with_nuxt.md +105 -45
  252. package/docs/de/intlayer_with_react_native+expo.md +90 -11
  253. package/docs/de/intlayer_with_react_router_v7.md +96 -23
  254. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +76 -19
  255. package/docs/de/intlayer_with_storybook.md +76 -18
  256. package/docs/de/intlayer_with_svelte_kit.md +117 -38
  257. package/docs/de/intlayer_with_tanstack+solid.md +106 -29
  258. package/docs/de/intlayer_with_tanstack.md +106 -29
  259. package/docs/de/intlayer_with_vanilla.md +75 -22
  260. package/docs/de/intlayer_with_vite+lit.md +88 -22
  261. package/docs/de/intlayer_with_vite+preact.md +142 -77
  262. package/docs/de/intlayer_with_vite+react.md +131 -69
  263. package/docs/de/intlayer_with_vite+react_compiler.md +24 -9
  264. package/docs/de/intlayer_with_vite+solid.md +127 -62
  265. package/docs/de/intlayer_with_vite+svelte.md +114 -49
  266. package/docs/de/intlayer_with_vite+vanilla.md +90 -23
  267. package/docs/de/intlayer_with_vite+vue.md +134 -69
  268. package/docs/de/introduction.md +85 -32
  269. package/docs/de/lsp.md +351 -0
  270. package/docs/de/releases/v7.md +1 -1
  271. package/docs/en/cli/build.md +1 -1
  272. package/docs/en/cli/index.md +1 -1
  273. package/docs/en/interest_of_intlayer.md +59 -3
  274. package/docs/en/intlayer_with_adonisjs.md +2 -2
  275. package/docs/en/intlayer_with_analog.md +69 -15
  276. package/docs/en/intlayer_with_angular_19.md +69 -15
  277. package/docs/en/intlayer_with_angular_21.md +69 -15
  278. package/docs/en/intlayer_with_astro.md +128 -67
  279. package/docs/en/intlayer_with_astro_lit.md +129 -69
  280. package/docs/en/intlayer_with_astro_preact.md +129 -69
  281. package/docs/en/intlayer_with_astro_react.md +125 -65
  282. package/docs/en/intlayer_with_astro_solid.md +125 -65
  283. package/docs/en/intlayer_with_astro_svelte.md +125 -65
  284. package/docs/en/intlayer_with_astro_vanilla.md +122 -64
  285. package/docs/en/intlayer_with_astro_vue.md +125 -65
  286. package/docs/en/intlayer_with_create_react_app.md +79 -18
  287. package/docs/en/intlayer_with_express.md +2 -2
  288. package/docs/en/intlayer_with_fastify.md +2 -2
  289. package/docs/en/intlayer_with_hono.md +2 -2
  290. package/docs/en/intlayer_with_lynx+react.md +47 -9
  291. package/docs/en/intlayer_with_nestjs.md +2 -13
  292. package/docs/en/intlayer_with_next-i18next.md +2 -2
  293. package/docs/en/intlayer_with_next-intl.md +2 -2
  294. package/docs/en/intlayer_with_nextjs_14.md +92 -24
  295. package/docs/en/intlayer_with_nextjs_15.md +92 -24
  296. package/docs/en/intlayer_with_nextjs_16.md +94 -26
  297. package/docs/en/intlayer_with_nextjs_compiler.md +38 -13
  298. package/docs/en/intlayer_with_nextjs_no_locale_path.md +83 -21
  299. package/docs/en/intlayer_with_nextjs_page_router.md +86 -21
  300. package/docs/en/intlayer_with_nuxt.md +104 -44
  301. package/docs/en/intlayer_with_react_native+expo.md +46 -10
  302. package/docs/en/intlayer_with_react_router_v7.md +91 -22
  303. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +84 -21
  304. package/docs/en/intlayer_with_storybook.md +75 -17
  305. package/docs/en/intlayer_with_svelte_kit.md +86 -21
  306. package/docs/en/intlayer_with_tanstack+solid.md +105 -28
  307. package/docs/en/intlayer_with_tanstack.md +105 -28
  308. package/docs/en/intlayer_with_vanilla.md +74 -21
  309. package/docs/en/intlayer_with_vite+lit.md +87 -21
  310. package/docs/en/intlayer_with_vite+preact.md +86 -21
  311. package/docs/en/intlayer_with_vite+react.md +83 -20
  312. package/docs/en/intlayer_with_vite+react_compiler.md +23 -8
  313. package/docs/en/intlayer_with_vite+solid.md +83 -20
  314. package/docs/en/intlayer_with_vite+svelte.md +86 -21
  315. package/docs/en/intlayer_with_vite+vanilla.md +89 -22
  316. package/docs/en/intlayer_with_vite+vue.md +83 -20
  317. package/docs/en/introduction.md +44 -3
  318. package/docs/en/lsp.md +351 -0
  319. package/docs/en/mcp_server.md +22 -0
  320. package/docs/en-GB/cli/build.md +1 -1
  321. package/docs/en-GB/cli/index.md +1 -1
  322. package/docs/en-GB/interest_of_intlayer.md +79 -23
  323. package/docs/en-GB/intlayer_with_adonisjs.md +3 -3
  324. package/docs/en-GB/intlayer_with_analog.md +70 -16
  325. package/docs/en-GB/intlayer_with_angular_19.md +70 -16
  326. package/docs/en-GB/intlayer_with_angular_21.md +70 -16
  327. package/docs/en-GB/intlayer_with_astro.md +123 -66
  328. package/docs/en-GB/intlayer_with_astro_lit.md +130 -70
  329. package/docs/en-GB/intlayer_with_astro_preact.md +124 -64
  330. package/docs/en-GB/intlayer_with_astro_react.md +126 -66
  331. package/docs/en-GB/intlayer_with_astro_solid.md +126 -66
  332. package/docs/en-GB/intlayer_with_astro_svelte.md +126 -66
  333. package/docs/en-GB/intlayer_with_astro_vanilla.md +123 -65
  334. package/docs/en-GB/intlayer_with_astro_vue.md +126 -66
  335. package/docs/en-GB/intlayer_with_create_react_app.md +52 -17
  336. package/docs/en-GB/intlayer_with_express.md +3 -3
  337. package/docs/en-GB/intlayer_with_fastify.md +3 -3
  338. package/docs/en-GB/intlayer_with_hono.md +3 -3
  339. package/docs/en-GB/intlayer_with_lynx+react.md +48 -10
  340. package/docs/en-GB/intlayer_with_nestjs.md +3 -14
  341. package/docs/en-GB/intlayer_with_next-i18next.md +3 -3
  342. package/docs/en-GB/intlayer_with_next-intl.md +3 -3
  343. package/docs/en-GB/intlayer_with_nextjs_14.md +90 -24
  344. package/docs/en-GB/intlayer_with_nextjs_15.md +90 -26
  345. package/docs/en-GB/intlayer_with_nextjs_16.md +93 -27
  346. package/docs/en-GB/intlayer_with_nextjs_compiler.md +36 -13
  347. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +84 -22
  348. package/docs/en-GB/intlayer_with_nextjs_page_router.md +87 -22
  349. package/docs/en-GB/intlayer_with_nuxt.md +105 -45
  350. package/docs/en-GB/intlayer_with_react_native+expo.md +89 -10
  351. package/docs/en-GB/intlayer_with_react_router_v7.md +89 -22
  352. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +89 -22
  353. package/docs/en-GB/intlayer_with_storybook.md +76 -18
  354. package/docs/en-GB/intlayer_with_svelte_kit.md +105 -27
  355. package/docs/en-GB/intlayer_with_tanstack+solid.md +106 -29
  356. package/docs/en-GB/intlayer_with_tanstack.md +103 -28
  357. package/docs/en-GB/intlayer_with_vanilla.md +75 -22
  358. package/docs/en-GB/intlayer_with_vite+lit.md +88 -22
  359. package/docs/en-GB/intlayer_with_vite+preact.md +85 -21
  360. package/docs/en-GB/intlayer_with_vite+react.md +81 -20
  361. package/docs/en-GB/intlayer_with_vite+react_compiler.md +24 -9
  362. package/docs/en-GB/intlayer_with_vite+solid.md +85 -21
  363. package/docs/en-GB/intlayer_with_vite+svelte.md +155 -94
  364. package/docs/en-GB/intlayer_with_vite+vanilla.md +90 -23
  365. package/docs/en-GB/intlayer_with_vite+vue.md +91 -23
  366. package/docs/en-GB/introduction.md +74 -27
  367. package/docs/en-GB/lsp.md +351 -0
  368. package/docs/en-GB/mcp_server.md +22 -0
  369. package/docs/es/agent_skills.md +2 -2
  370. package/docs/es/benchmark/nextjs.md +3 -3
  371. package/docs/es/benchmark/solid.md +3 -3
  372. package/docs/es/benchmark/svelte.md +3 -3
  373. package/docs/es/benchmark/tanstack.md +2 -2
  374. package/docs/es/benchmark/vue.md +3 -3
  375. package/docs/es/bundle_optimization.md +1 -1
  376. package/docs/es/cli/build.md +1 -1
  377. package/docs/es/cli/index.md +2 -2
  378. package/docs/es/cli/live.md +2 -2
  379. package/docs/es/compiler.md +1 -1
  380. package/docs/es/component_i18n.md +1 -1
  381. package/docs/es/custom_domains.md +3 -3
  382. package/docs/es/dictionary/condition.md +1 -1
  383. package/docs/es/dictionary/content_file.md +4 -4
  384. package/docs/es/dictionary/gender.md +1 -1
  385. package/docs/es/dictionary/html.md +7 -7
  386. package/docs/es/dictionary/insertion.md +1 -1
  387. package/docs/es/dictionary/markdown.md +7 -7
  388. package/docs/es/dictionary/plurial.md +1 -1
  389. package/docs/es/how_works_intlayer.md +2 -2
  390. package/docs/es/interest_of_intlayer.md +132 -75
  391. package/docs/es/intlayer_CMS.md +3 -3
  392. package/docs/es/intlayer_with_adonisjs.md +3 -3
  393. package/docs/es/intlayer_with_analog.md +70 -16
  394. package/docs/es/intlayer_with_angular_19.md +70 -16
  395. package/docs/es/intlayer_with_angular_21.md +70 -16
  396. package/docs/es/intlayer_with_astro.md +123 -66
  397. package/docs/es/intlayer_with_astro_lit.md +130 -70
  398. package/docs/es/intlayer_with_astro_preact.md +124 -64
  399. package/docs/es/intlayer_with_astro_react.md +126 -66
  400. package/docs/es/intlayer_with_astro_solid.md +126 -66
  401. package/docs/es/intlayer_with_astro_svelte.md +126 -66
  402. package/docs/es/intlayer_with_astro_vanilla.md +123 -65
  403. package/docs/es/intlayer_with_astro_vue.md +126 -66
  404. package/docs/es/intlayer_with_create_react_app.md +34 -13
  405. package/docs/es/intlayer_with_express.md +3 -3
  406. package/docs/es/intlayer_with_fastify.md +3 -3
  407. package/docs/es/intlayer_with_hono.md +3 -3
  408. package/docs/es/intlayer_with_lynx+react.md +48 -10
  409. package/docs/es/intlayer_with_nestjs.md +3 -14
  410. package/docs/es/intlayer_with_next-i18next.md +4 -4
  411. package/docs/es/intlayer_with_next-intl.md +5 -5
  412. package/docs/es/intlayer_with_nextjs_14.md +92 -26
  413. package/docs/es/intlayer_with_nextjs_15.md +92 -28
  414. package/docs/es/intlayer_with_nextjs_16.md +115 -48
  415. package/docs/es/intlayer_with_nextjs_compiler.md +41 -16
  416. package/docs/es/intlayer_with_nextjs_no_locale_path.md +84 -22
  417. package/docs/es/intlayer_with_nextjs_page_router.md +89 -24
  418. package/docs/es/intlayer_with_nuxt.md +107 -47
  419. package/docs/es/intlayer_with_react_native+expo.md +89 -10
  420. package/docs/es/intlayer_with_react_router_v7.md +96 -23
  421. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +85 -22
  422. package/docs/es/intlayer_with_storybook.md +76 -18
  423. package/docs/es/intlayer_with_svelte_kit.md +107 -28
  424. package/docs/es/intlayer_with_tanstack+solid.md +106 -29
  425. package/docs/es/intlayer_with_tanstack.md +106 -29
  426. package/docs/es/intlayer_with_vanilla.md +75 -22
  427. package/docs/es/intlayer_with_vite+lit.md +88 -22
  428. package/docs/es/intlayer_with_vite+preact.md +88 -23
  429. package/docs/es/intlayer_with_vite+react.md +85 -22
  430. package/docs/es/intlayer_with_vite+react_compiler.md +24 -9
  431. package/docs/es/intlayer_with_vite+solid.md +88 -23
  432. package/docs/es/intlayer_with_vite+svelte.md +88 -23
  433. package/docs/es/intlayer_with_vite+vanilla.md +90 -23
  434. package/docs/es/intlayer_with_vite+vue.md +88 -23
  435. package/docs/es/introduction.md +78 -26
  436. package/docs/es/lsp.md +351 -0
  437. package/docs/es/mcp_server.md +22 -0
  438. package/docs/es/packages/express-intlayer/t.md +1 -1
  439. package/docs/es/packages/next-intlayer/useDictionary.md +1 -1
  440. package/docs/es/packages/next-intlayer/useIntlayer.md +1 -1
  441. package/docs/es/packages/react-intlayer/useDictionary.md +1 -1
  442. package/docs/es/plugins/sync-json.md +1 -1
  443. package/docs/es/readme.md +1 -1
  444. package/docs/es/releases/v6.md +2 -2
  445. package/docs/es/releases/v7.md +2 -2
  446. package/docs/es/releases/v8.md +2 -2
  447. package/docs/es/roadmap.md +1 -1
  448. package/docs/es/testing.md +1 -1
  449. package/docs/fr/benchmark/tanstack.md +7 -7
  450. package/docs/fr/cli/build.md +1 -1
  451. package/docs/fr/cli/index.md +1 -1
  452. package/docs/fr/interest_of_intlayer.md +129 -72
  453. package/docs/fr/intlayer_with_adonisjs.md +3 -3
  454. package/docs/fr/intlayer_with_analog.md +70 -16
  455. package/docs/fr/intlayer_with_angular_19.md +70 -16
  456. package/docs/fr/intlayer_with_angular_21.md +70 -16
  457. package/docs/fr/intlayer_with_astro.md +123 -66
  458. package/docs/fr/intlayer_with_astro_lit.md +130 -70
  459. package/docs/fr/intlayer_with_astro_preact.md +130 -70
  460. package/docs/fr/intlayer_with_astro_react.md +126 -66
  461. package/docs/fr/intlayer_with_astro_solid.md +126 -66
  462. package/docs/fr/intlayer_with_astro_svelte.md +126 -66
  463. package/docs/fr/intlayer_with_astro_vanilla.md +123 -65
  464. package/docs/fr/intlayer_with_astro_vue.md +126 -66
  465. package/docs/fr/intlayer_with_create_react_app.md +33 -12
  466. package/docs/fr/intlayer_with_express.md +3 -3
  467. package/docs/fr/intlayer_with_fastify.md +3 -3
  468. package/docs/fr/intlayer_with_hono.md +3 -3
  469. package/docs/fr/intlayer_with_lynx+react.md +48 -10
  470. package/docs/fr/intlayer_with_nestjs.md +3 -14
  471. package/docs/fr/intlayer_with_next-i18next.md +3 -3
  472. package/docs/fr/intlayer_with_next-intl.md +3 -3
  473. package/docs/fr/intlayer_with_nextjs_14.md +91 -25
  474. package/docs/fr/intlayer_with_nextjs_15.md +91 -27
  475. package/docs/fr/intlayer_with_nextjs_16.md +96 -28
  476. package/docs/fr/intlayer_with_nextjs_compiler.md +39 -14
  477. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +84 -22
  478. package/docs/fr/intlayer_with_nextjs_page_router.md +87 -22
  479. package/docs/fr/intlayer_with_nuxt.md +105 -45
  480. package/docs/fr/intlayer_with_react_native+expo.md +89 -10
  481. package/docs/fr/intlayer_with_react_router_v7.md +96 -23
  482. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +89 -22
  483. package/docs/fr/intlayer_with_storybook.md +76 -18
  484. package/docs/fr/intlayer_with_svelte_kit.md +107 -28
  485. package/docs/fr/intlayer_with_tanstack+solid.md +106 -29
  486. package/docs/fr/intlayer_with_tanstack.md +106 -29
  487. package/docs/fr/intlayer_with_vanilla.md +75 -22
  488. package/docs/fr/intlayer_with_vite+lit.md +88 -22
  489. package/docs/fr/intlayer_with_vite+preact.md +87 -22
  490. package/docs/fr/intlayer_with_vite+react.md +84 -21
  491. package/docs/fr/intlayer_with_vite+react_compiler.md +24 -9
  492. package/docs/fr/intlayer_with_vite+solid.md +87 -22
  493. package/docs/fr/intlayer_with_vite+svelte.md +87 -22
  494. package/docs/fr/intlayer_with_vite+vanilla.md +90 -23
  495. package/docs/fr/intlayer_with_vite+vue.md +87 -22
  496. package/docs/fr/introduction.md +77 -25
  497. package/docs/fr/lsp.md +351 -0
  498. package/docs/fr/mcp_server.md +22 -0
  499. package/docs/fr/readme.md +1 -1
  500. package/docs/hi/cli/build.md +1 -1
  501. package/docs/hi/cli/index.md +1 -1
  502. package/docs/hi/interest_of_intlayer.md +39 -192
  503. package/docs/hi/intlayer_with_adonisjs.md +3 -3
  504. package/docs/hi/intlayer_with_analog.md +53 -16
  505. package/docs/hi/intlayer_with_angular_19.md +53 -16
  506. package/docs/hi/intlayer_with_angular_21.md +53 -16
  507. package/docs/hi/intlayer_with_astro.md +106 -66
  508. package/docs/hi/intlayer_with_astro_lit.md +113 -70
  509. package/docs/hi/intlayer_with_astro_preact.md +107 -64
  510. package/docs/hi/intlayer_with_astro_react.md +109 -66
  511. package/docs/hi/intlayer_with_astro_solid.md +109 -66
  512. package/docs/hi/intlayer_with_astro_svelte.md +109 -66
  513. package/docs/hi/intlayer_with_astro_vanilla.md +106 -65
  514. package/docs/hi/intlayer_with_astro_vue.md +109 -66
  515. package/docs/hi/intlayer_with_create_react_app.md +33 -12
  516. package/docs/hi/intlayer_with_express.md +3 -3
  517. package/docs/hi/intlayer_with_fastify.md +3 -3
  518. package/docs/hi/intlayer_with_hono.md +3 -3
  519. package/docs/hi/intlayer_with_lynx+react.md +31 -10
  520. package/docs/hi/intlayer_with_nestjs.md +3 -14
  521. package/docs/hi/intlayer_with_next-i18next.md +3 -3
  522. package/docs/hi/intlayer_with_next-intl.md +3 -3
  523. package/docs/hi/intlayer_with_nextjs_14.md +73 -24
  524. package/docs/hi/intlayer_with_nextjs_15.md +73 -26
  525. package/docs/hi/intlayer_with_nextjs_16.md +74 -26
  526. package/docs/hi/intlayer_with_nextjs_compiler.md +84 -60
  527. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +67 -22
  528. package/docs/hi/intlayer_with_nextjs_page_router.md +70 -22
  529. package/docs/hi/intlayer_with_nuxt.md +88 -45
  530. package/docs/hi/intlayer_with_react_native+expo.md +72 -10
  531. package/docs/hi/intlayer_with_react_router_v7.md +79 -23
  532. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +79 -23
  533. package/docs/hi/intlayer_with_storybook.md +59 -18
  534. package/docs/hi/intlayer_with_svelte_kit.md +100 -38
  535. package/docs/hi/intlayer_with_tanstack+solid.md +86 -28
  536. package/docs/hi/intlayer_with_tanstack.md +86 -28
  537. package/docs/hi/intlayer_with_vanilla.md +58 -22
  538. package/docs/hi/intlayer_with_vite+lit.md +71 -22
  539. package/docs/hi/intlayer_with_vite+preact.md +125 -77
  540. package/docs/hi/intlayer_with_vite+react.md +114 -69
  541. package/docs/hi/intlayer_with_vite+react_compiler.md +24 -9
  542. package/docs/hi/intlayer_with_vite+solid.md +110 -62
  543. package/docs/hi/intlayer_with_vite+svelte.md +94 -48
  544. package/docs/hi/intlayer_with_vite+vanilla.md +73 -23
  545. package/docs/hi/intlayer_with_vite+vue.md +117 -69
  546. package/docs/hi/introduction.md +97 -44
  547. package/docs/hi/lsp.md +351 -0
  548. package/docs/id/cli/build.md +1 -1
  549. package/docs/id/cli/index.md +1 -1
  550. package/docs/id/interest_of_intlayer.md +58 -192
  551. package/docs/id/intlayer_with_adonisjs.md +3 -3
  552. package/docs/id/intlayer_with_analog.md +70 -16
  553. package/docs/id/intlayer_with_angular_19.md +70 -16
  554. package/docs/id/intlayer_with_angular_21.md +70 -16
  555. package/docs/id/intlayer_with_astro.md +123 -66
  556. package/docs/id/intlayer_with_astro_lit.md +130 -70
  557. package/docs/id/intlayer_with_astro_preact.md +124 -64
  558. package/docs/id/intlayer_with_astro_react.md +126 -66
  559. package/docs/id/intlayer_with_astro_solid.md +126 -66
  560. package/docs/id/intlayer_with_astro_svelte.md +126 -66
  561. package/docs/id/intlayer_with_astro_vanilla.md +123 -65
  562. package/docs/id/intlayer_with_astro_vue.md +126 -66
  563. package/docs/id/intlayer_with_create_react_app.md +33 -12
  564. package/docs/id/intlayer_with_express.md +3 -3
  565. package/docs/id/intlayer_with_fastify.md +3 -3
  566. package/docs/id/intlayer_with_hono.md +3 -3
  567. package/docs/id/intlayer_with_lynx+react.md +48 -10
  568. package/docs/id/intlayer_with_nestjs.md +3 -13
  569. package/docs/id/intlayer_with_next-i18next.md +3 -3
  570. package/docs/id/intlayer_with_next-intl.md +3 -3
  571. package/docs/id/intlayer_with_nextjs_14.md +93 -25
  572. package/docs/id/intlayer_with_nextjs_15.md +93 -25
  573. package/docs/id/intlayer_with_nextjs_16.md +91 -26
  574. package/docs/id/intlayer_with_nextjs_compiler.md +101 -80
  575. package/docs/id/intlayer_with_nextjs_no_locale_path.md +84 -22
  576. package/docs/id/intlayer_with_nextjs_page_router.md +87 -22
  577. package/docs/id/intlayer_with_nuxt.md +105 -45
  578. package/docs/id/intlayer_with_react_native+expo.md +89 -10
  579. package/docs/id/intlayer_with_react_router_v7.md +96 -23
  580. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +96 -23
  581. package/docs/id/intlayer_with_storybook.md +76 -18
  582. package/docs/id/intlayer_with_svelte_kit.md +117 -38
  583. package/docs/id/intlayer_with_tanstack+solid.md +103 -28
  584. package/docs/id/intlayer_with_tanstack.md +103 -28
  585. package/docs/id/intlayer_with_vanilla.md +75 -22
  586. package/docs/id/intlayer_with_vite+lit.md +88 -22
  587. package/docs/id/intlayer_with_vite+preact.md +142 -77
  588. package/docs/id/intlayer_with_vite+react.md +131 -69
  589. package/docs/id/intlayer_with_vite+react_compiler.md +24 -9
  590. package/docs/id/intlayer_with_vite+solid.md +127 -62
  591. package/docs/id/intlayer_with_vite+svelte.md +111 -48
  592. package/docs/id/intlayer_with_vite+vanilla.md +90 -23
  593. package/docs/id/intlayer_with_vite+vue.md +134 -69
  594. package/docs/id/introduction.md +81 -36
  595. package/docs/id/lsp.md +351 -0
  596. package/docs/it/cli/build.md +1 -1
  597. package/docs/it/cli/index.md +1 -1
  598. package/docs/it/interest_of_intlayer.md +138 -82
  599. package/docs/it/intlayer_with_adonisjs.md +3 -3
  600. package/docs/it/intlayer_with_analog.md +70 -16
  601. package/docs/it/intlayer_with_angular_19.md +70 -16
  602. package/docs/it/intlayer_with_angular_21.md +70 -16
  603. package/docs/it/intlayer_with_astro.md +123 -66
  604. package/docs/it/intlayer_with_astro_lit.md +130 -70
  605. package/docs/it/intlayer_with_astro_preact.md +124 -64
  606. package/docs/it/intlayer_with_astro_react.md +126 -66
  607. package/docs/it/intlayer_with_astro_solid.md +126 -66
  608. package/docs/it/intlayer_with_astro_svelte.md +126 -66
  609. package/docs/it/intlayer_with_astro_vanilla.md +123 -65
  610. package/docs/it/intlayer_with_astro_vue.md +126 -66
  611. package/docs/it/intlayer_with_create_react_app.md +36 -13
  612. package/docs/it/intlayer_with_express.md +3 -3
  613. package/docs/it/intlayer_with_fastify.md +3 -3
  614. package/docs/it/intlayer_with_hono.md +3 -3
  615. package/docs/it/intlayer_with_lynx+react.md +48 -10
  616. package/docs/it/intlayer_with_nestjs.md +3 -14
  617. package/docs/it/intlayer_with_next-i18next.md +3 -3
  618. package/docs/it/intlayer_with_next-intl.md +3 -3
  619. package/docs/it/intlayer_with_nextjs_14.md +109 -44
  620. package/docs/it/intlayer_with_nextjs_15.md +90 -26
  621. package/docs/it/intlayer_with_nextjs_16.md +92 -27
  622. package/docs/it/intlayer_with_nextjs_compiler.md +84 -60
  623. package/docs/it/intlayer_with_nextjs_no_locale_path.md +84 -22
  624. package/docs/it/intlayer_with_nextjs_page_router.md +87 -22
  625. package/docs/it/intlayer_with_nuxt.md +105 -45
  626. package/docs/it/intlayer_with_react_native+expo.md +89 -10
  627. package/docs/it/intlayer_with_react_router_v7.md +96 -23
  628. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +89 -22
  629. package/docs/it/intlayer_with_storybook.md +76 -18
  630. package/docs/it/intlayer_with_svelte_kit.md +149 -70
  631. package/docs/it/intlayer_with_tanstack+solid.md +106 -29
  632. package/docs/it/intlayer_with_tanstack.md +106 -29
  633. package/docs/it/intlayer_with_vanilla.md +75 -22
  634. package/docs/it/intlayer_with_vite+lit.md +88 -22
  635. package/docs/it/intlayer_with_vite+preact.md +142 -77
  636. package/docs/it/intlayer_with_vite+react.md +131 -69
  637. package/docs/it/intlayer_with_vite+react_compiler.md +24 -9
  638. package/docs/it/intlayer_with_vite+solid.md +127 -62
  639. package/docs/it/intlayer_with_vite+svelte.md +111 -48
  640. package/docs/it/intlayer_with_vite+vanilla.md +90 -23
  641. package/docs/it/intlayer_with_vite+vue.md +156 -91
  642. package/docs/it/introduction.md +87 -33
  643. package/docs/it/lsp.md +351 -0
  644. package/docs/it/releases/v7.md +1 -1
  645. package/docs/ja/cli/build.md +1 -1
  646. package/docs/ja/cli/index.md +1 -1
  647. package/docs/ja/interest_of_intlayer.md +123 -86
  648. package/docs/ja/intlayer_with_adonisjs.md +3 -3
  649. package/docs/ja/intlayer_with_analog.md +53 -16
  650. package/docs/ja/intlayer_with_angular_19.md +53 -16
  651. package/docs/ja/intlayer_with_angular_21.md +53 -16
  652. package/docs/ja/intlayer_with_astro.md +106 -66
  653. package/docs/ja/intlayer_with_astro_lit.md +113 -70
  654. package/docs/ja/intlayer_with_astro_preact.md +113 -70
  655. package/docs/ja/intlayer_with_astro_react.md +109 -66
  656. package/docs/ja/intlayer_with_astro_solid.md +109 -66
  657. package/docs/ja/intlayer_with_astro_svelte.md +109 -66
  658. package/docs/ja/intlayer_with_astro_vanilla.md +106 -65
  659. package/docs/ja/intlayer_with_astro_vue.md +109 -66
  660. package/docs/ja/intlayer_with_create_react_app.md +33 -12
  661. package/docs/ja/intlayer_with_express.md +3 -3
  662. package/docs/ja/intlayer_with_fastify.md +3 -3
  663. package/docs/ja/intlayer_with_hono.md +3 -3
  664. package/docs/ja/intlayer_with_lynx+react.md +31 -10
  665. package/docs/ja/intlayer_with_nestjs.md +3 -14
  666. package/docs/ja/intlayer_with_next-i18next.md +3 -3
  667. package/docs/ja/intlayer_with_next-intl.md +3 -3
  668. package/docs/ja/intlayer_with_nextjs_14.md +73 -24
  669. package/docs/ja/intlayer_with_nextjs_15.md +73 -26
  670. package/docs/ja/intlayer_with_nextjs_16.md +74 -26
  671. package/docs/ja/intlayer_with_nextjs_compiler.md +101 -80
  672. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +64 -21
  673. package/docs/ja/intlayer_with_nextjs_page_router.md +70 -22
  674. package/docs/ja/intlayer_with_nuxt.md +88 -45
  675. package/docs/ja/intlayer_with_react_native+expo.md +73 -11
  676. package/docs/ja/intlayer_with_react_router_v7.md +41 -13
  677. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +72 -22
  678. package/docs/ja/intlayer_with_storybook.md +59 -18
  679. package/docs/ja/intlayer_with_svelte_kit.md +37 -11
  680. package/docs/ja/intlayer_with_tanstack+solid.md +89 -29
  681. package/docs/ja/intlayer_with_tanstack.md +89 -29
  682. package/docs/ja/intlayer_with_vanilla.md +58 -22
  683. package/docs/ja/intlayer_with_vite+lit.md +71 -22
  684. package/docs/ja/intlayer_with_vite+preact.md +37 -11
  685. package/docs/ja/intlayer_with_vite+react.md +19 -111
  686. package/docs/ja/intlayer_with_vite+react_compiler.md +24 -9
  687. package/docs/ja/intlayer_with_vite+solid.md +113 -63
  688. package/docs/ja/intlayer_with_vite+svelte.md +94 -48
  689. package/docs/ja/intlayer_with_vite+vanilla.md +73 -23
  690. package/docs/ja/intlayer_with_vite+vue.md +117 -69
  691. package/docs/ja/introduction.md +95 -41
  692. package/docs/ja/lsp.md +351 -0
  693. package/docs/ko/cli/build.md +1 -1
  694. package/docs/ko/cli/index.md +1 -1
  695. package/docs/ko/interest_of_intlayer.md +148 -92
  696. package/docs/ko/intlayer_with_adonisjs.md +3 -3
  697. package/docs/ko/intlayer_with_analog.md +48 -10
  698. package/docs/ko/intlayer_with_angular_19.md +48 -10
  699. package/docs/ko/intlayer_with_angular_21.md +48 -10
  700. package/docs/ko/intlayer_with_astro.md +48 -10
  701. package/docs/ko/intlayer_with_astro_lit.md +48 -10
  702. package/docs/ko/intlayer_with_astro_preact.md +48 -10
  703. package/docs/ko/intlayer_with_astro_react.md +48 -10
  704. package/docs/ko/intlayer_with_astro_solid.md +48 -10
  705. package/docs/ko/intlayer_with_astro_svelte.md +48 -10
  706. package/docs/ko/intlayer_with_astro_vanilla.md +48 -10
  707. package/docs/ko/intlayer_with_astro_vue.md +48 -10
  708. package/docs/ko/intlayer_with_create_react_app.md +18 -7
  709. package/docs/ko/intlayer_with_express.md +3 -3
  710. package/docs/ko/intlayer_with_fastify.md +3 -3
  711. package/docs/ko/intlayer_with_hono.md +3 -3
  712. package/docs/ko/intlayer_with_lynx+react.md +48 -10
  713. package/docs/ko/intlayer_with_nestjs.md +3 -14
  714. package/docs/ko/intlayer_with_next-i18next.md +3 -3
  715. package/docs/ko/intlayer_with_next-intl.md +3 -3
  716. package/docs/ko/intlayer_with_nextjs_14.md +51 -12
  717. package/docs/ko/intlayer_with_nextjs_15.md +51 -14
  718. package/docs/ko/intlayer_with_nextjs_16.md +57 -15
  719. package/docs/ko/intlayer_with_nextjs_compiler.md +9 -4
  720. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +57 -13
  721. package/docs/ko/intlayer_with_nextjs_page_router.md +51 -11
  722. package/docs/ko/intlayer_with_nuxt.md +48 -10
  723. package/docs/ko/intlayer_with_react_native+expo.md +91 -10
  724. package/docs/ko/intlayer_with_react_router_v7.md +155 -110
  725. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +155 -110
  726. package/docs/ko/intlayer_with_storybook.md +48 -10
  727. package/docs/ko/intlayer_with_svelte_kit.md +55 -12
  728. package/docs/ko/intlayer_with_tanstack+solid.md +48 -11
  729. package/docs/ko/intlayer_with_tanstack.md +48 -11
  730. package/docs/ko/intlayer_with_vanilla.md +45 -13
  731. package/docs/ko/intlayer_with_vite+lit.md +48 -10
  732. package/docs/ko/intlayer_with_vite+preact.md +54 -11
  733. package/docs/ko/intlayer_with_vite+react.md +54 -11
  734. package/docs/ko/intlayer_with_vite+react_compiler.md +3 -3
  735. package/docs/ko/intlayer_with_vite+solid.md +54 -11
  736. package/docs/ko/intlayer_with_vite+svelte.md +151 -107
  737. package/docs/ko/intlayer_with_vite+vanilla.md +48 -10
  738. package/docs/ko/intlayer_with_vite+vue.md +54 -11
  739. package/docs/ko/introduction.md +101 -47
  740. package/docs/ko/lsp.md +351 -0
  741. package/docs/nl/cli/index.md +1 -1
  742. package/docs/nl/interest_of_intlayer.md +140 -84
  743. package/docs/nl/intlayer_with_angular_21.md +25 -9
  744. package/docs/nl/intlayer_with_fastify.md +3 -3
  745. package/docs/nl/intlayer_with_hono.md +3 -3
  746. package/docs/nl/intlayer_with_storybook.md +30 -10
  747. package/docs/nl/intlayer_with_vanilla.md +33 -12
  748. package/docs/nl/intlayer_with_vite+lit.md +43 -15
  749. package/docs/nl/intlayer_with_vite+vanilla.md +45 -16
  750. package/docs/nl/introduction.md +81 -34
  751. package/docs/pl/benchmark/nextjs.md +6 -6
  752. package/docs/pl/benchmark/svelte.md +1 -1
  753. package/docs/pl/benchmark/tanstack.md +3 -3
  754. package/docs/pl/bundle_optimization.md +1 -1
  755. package/docs/pl/cli/build.md +1 -1
  756. package/docs/pl/cli/index.md +1 -1
  757. package/docs/pl/compiler.md +1 -1
  758. package/docs/pl/component_i18n.md +1 -1
  759. package/docs/pl/configuration.md +12 -12
  760. package/docs/pl/dictionary/content_file.md +1 -1
  761. package/docs/pl/dictionary/function_fetching.md +1 -1
  762. package/docs/pl/how_works_intlayer.md +1 -1
  763. package/docs/pl/interest_of_intlayer.md +132 -76
  764. package/docs/pl/intlayer_CMS.md +1 -1
  765. package/docs/pl/intlayer_with_adonisjs.md +3 -3
  766. package/docs/pl/intlayer_with_analog.md +53 -16
  767. package/docs/pl/intlayer_with_angular_19.md +53 -16
  768. package/docs/pl/intlayer_with_angular_21.md +53 -16
  769. package/docs/pl/intlayer_with_astro.md +106 -66
  770. package/docs/pl/intlayer_with_astro_lit.md +113 -70
  771. package/docs/pl/intlayer_with_astro_preact.md +107 -64
  772. package/docs/pl/intlayer_with_astro_react.md +109 -66
  773. package/docs/pl/intlayer_with_astro_solid.md +109 -66
  774. package/docs/pl/intlayer_with_astro_svelte.md +109 -66
  775. package/docs/pl/intlayer_with_astro_vanilla.md +106 -65
  776. package/docs/pl/intlayer_with_astro_vue.md +109 -66
  777. package/docs/pl/intlayer_with_create_react_app.md +33 -12
  778. package/docs/pl/intlayer_with_express.md +3 -3
  779. package/docs/pl/intlayer_with_fastify.md +3 -3
  780. package/docs/pl/intlayer_with_hono.md +3 -3
  781. package/docs/pl/intlayer_with_lynx+react.md +31 -10
  782. package/docs/pl/intlayer_with_nestjs.md +3 -13
  783. package/docs/pl/intlayer_with_next-i18next.md +3 -3
  784. package/docs/pl/intlayer_with_next-intl.md +3 -3
  785. package/docs/pl/intlayer_with_nextjs_14.md +76 -25
  786. package/docs/pl/intlayer_with_nextjs_15.md +76 -25
  787. package/docs/pl/intlayer_with_nextjs_16.md +143 -93
  788. package/docs/pl/intlayer_with_nextjs_compiler.md +84 -60
  789. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +67 -22
  790. package/docs/pl/intlayer_with_nextjs_page_router.md +70 -22
  791. package/docs/pl/intlayer_with_nuxt.md +88 -45
  792. package/docs/pl/intlayer_with_react_native+expo.md +72 -10
  793. package/docs/pl/intlayer_with_react_router_v7.md +79 -23
  794. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +72 -22
  795. package/docs/pl/intlayer_with_storybook.md +59 -18
  796. package/docs/pl/intlayer_with_svelte_kit.md +103 -39
  797. package/docs/pl/intlayer_with_tanstack+solid.md +86 -28
  798. package/docs/pl/intlayer_with_tanstack.md +86 -28
  799. package/docs/pl/intlayer_with_vanilla.md +58 -22
  800. package/docs/pl/intlayer_with_vite+lit.md +71 -22
  801. package/docs/pl/intlayer_with_vite+preact.md +125 -77
  802. package/docs/pl/intlayer_with_vite+react.md +114 -69
  803. package/docs/pl/intlayer_with_vite+react_compiler.md +25 -10
  804. package/docs/pl/intlayer_with_vite+solid.md +110 -62
  805. package/docs/pl/intlayer_with_vite+svelte.md +94 -48
  806. package/docs/pl/intlayer_with_vite+vanilla.md +73 -23
  807. package/docs/pl/intlayer_with_vite+vue.md +139 -91
  808. package/docs/pl/introduction.md +85 -43
  809. package/docs/pl/lsp.md +351 -0
  810. package/docs/pl/releases/v7.md +1 -1
  811. package/docs/pl/releases/v8.md +2 -2
  812. package/docs/pt/agent_skills.md +2 -2
  813. package/docs/pt/cli/build.md +1 -1
  814. package/docs/pt/cli/index.md +1 -1
  815. package/docs/pt/dictionary/html.md +5 -5
  816. package/docs/pt/dictionary/markdown.md +7 -7
  817. package/docs/pt/how_works_intlayer.md +2 -2
  818. package/docs/pt/interest_of_intlayer.md +141 -85
  819. package/docs/pt/intlayer_with_adonisjs.md +3 -3
  820. package/docs/pt/intlayer_with_analog.md +70 -16
  821. package/docs/pt/intlayer_with_angular_19.md +70 -16
  822. package/docs/pt/intlayer_with_angular_21.md +70 -16
  823. package/docs/pt/intlayer_with_astro.md +123 -66
  824. package/docs/pt/intlayer_with_astro_lit.md +130 -70
  825. package/docs/pt/intlayer_with_astro_preact.md +124 -64
  826. package/docs/pt/intlayer_with_astro_react.md +126 -66
  827. package/docs/pt/intlayer_with_astro_solid.md +126 -66
  828. package/docs/pt/intlayer_with_astro_svelte.md +126 -66
  829. package/docs/pt/intlayer_with_astro_vanilla.md +123 -65
  830. package/docs/pt/intlayer_with_astro_vue.md +126 -66
  831. package/docs/pt/intlayer_with_create_react_app.md +36 -13
  832. package/docs/pt/intlayer_with_express.md +3 -3
  833. package/docs/pt/intlayer_with_fastify.md +3 -3
  834. package/docs/pt/intlayer_with_hono.md +3 -3
  835. package/docs/pt/intlayer_with_lynx+react.md +48 -10
  836. package/docs/pt/intlayer_with_nestjs.md +3 -14
  837. package/docs/pt/intlayer_with_next-i18next.md +3 -3
  838. package/docs/pt/intlayer_with_next-intl.md +3 -3
  839. package/docs/pt/intlayer_with_nextjs_14.md +90 -24
  840. package/docs/pt/intlayer_with_nextjs_15.md +90 -26
  841. package/docs/pt/intlayer_with_nextjs_16.md +113 -46
  842. package/docs/pt/intlayer_with_nextjs_compiler.md +39 -14
  843. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +84 -22
  844. package/docs/pt/intlayer_with_nextjs_page_router.md +87 -22
  845. package/docs/pt/intlayer_with_nuxt.md +107 -47
  846. package/docs/pt/intlayer_with_react_native+expo.md +89 -10
  847. package/docs/pt/intlayer_with_react_router_v7.md +95 -24
  848. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +89 -22
  849. package/docs/pt/intlayer_with_storybook.md +76 -18
  850. package/docs/pt/intlayer_with_svelte_kit.md +152 -71
  851. package/docs/pt/intlayer_with_tanstack+solid.md +106 -29
  852. package/docs/pt/intlayer_with_tanstack.md +106 -29
  853. package/docs/pt/intlayer_with_vanilla.md +75 -22
  854. package/docs/pt/intlayer_with_vite+lit.md +88 -22
  855. package/docs/pt/intlayer_with_vite+preact.md +88 -23
  856. package/docs/pt/intlayer_with_vite+react.md +85 -22
  857. package/docs/pt/intlayer_with_vite+react_compiler.md +24 -9
  858. package/docs/pt/intlayer_with_vite+solid.md +88 -23
  859. package/docs/pt/intlayer_with_vite+svelte.md +115 -50
  860. package/docs/pt/intlayer_with_vite+vanilla.md +90 -23
  861. package/docs/pt/intlayer_with_vite+vue.md +88 -23
  862. package/docs/pt/introduction.md +96 -40
  863. package/docs/pt/lsp.md +351 -0
  864. package/docs/pt/readme.md +1 -1
  865. package/docs/ru/benchmark/svelte.md +1 -1
  866. package/docs/ru/bundle_optimization.md +1 -1
  867. package/docs/ru/cli/build.md +1 -1
  868. package/docs/ru/cli/index.md +1 -1
  869. package/docs/ru/configuration.md +2 -2
  870. package/docs/ru/dictionary/content_file.md +2 -2
  871. package/docs/ru/interest_of_intlayer.md +130 -74
  872. package/docs/ru/intlayer_CMS.md +1 -1
  873. package/docs/ru/intlayer_with_adonisjs.md +3 -3
  874. package/docs/ru/intlayer_with_analog.md +70 -16
  875. package/docs/ru/intlayer_with_angular_19.md +70 -16
  876. package/docs/ru/intlayer_with_angular_21.md +70 -16
  877. package/docs/ru/intlayer_with_astro.md +123 -66
  878. package/docs/ru/intlayer_with_astro_lit.md +130 -70
  879. package/docs/ru/intlayer_with_astro_preact.md +130 -70
  880. package/docs/ru/intlayer_with_astro_react.md +126 -66
  881. package/docs/ru/intlayer_with_astro_solid.md +126 -66
  882. package/docs/ru/intlayer_with_astro_svelte.md +126 -66
  883. package/docs/ru/intlayer_with_astro_vanilla.md +123 -65
  884. package/docs/ru/intlayer_with_astro_vue.md +126 -66
  885. package/docs/ru/intlayer_with_create_react_app.md +33 -12
  886. package/docs/ru/intlayer_with_express.md +3 -3
  887. package/docs/ru/intlayer_with_fastify.md +3 -3
  888. package/docs/ru/intlayer_with_hono.md +3 -3
  889. package/docs/ru/intlayer_with_lynx+react.md +48 -10
  890. package/docs/ru/intlayer_with_nestjs.md +3 -14
  891. package/docs/ru/intlayer_with_next-i18next.md +3 -3
  892. package/docs/ru/intlayer_with_next-intl.md +3 -3
  893. package/docs/ru/intlayer_with_nextjs_14.md +90 -24
  894. package/docs/ru/intlayer_with_nextjs_15.md +93 -27
  895. package/docs/ru/intlayer_with_nextjs_16.md +159 -92
  896. package/docs/ru/intlayer_with_nextjs_compiler.md +86 -62
  897. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +81 -21
  898. package/docs/ru/intlayer_with_nextjs_page_router.md +87 -22
  899. package/docs/ru/intlayer_with_nuxt.md +105 -45
  900. package/docs/ru/intlayer_with_react_native+expo.md +89 -10
  901. package/docs/ru/intlayer_with_react_router_v7.md +96 -23
  902. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +89 -22
  903. package/docs/ru/intlayer_with_storybook.md +76 -18
  904. package/docs/ru/intlayer_with_svelte_kit.md +117 -38
  905. package/docs/ru/intlayer_with_tanstack+solid.md +106 -29
  906. package/docs/ru/intlayer_with_tanstack.md +106 -29
  907. package/docs/ru/intlayer_with_vanilla.md +75 -22
  908. package/docs/ru/intlayer_with_vite+lit.md +88 -22
  909. package/docs/ru/intlayer_with_vite+preact.md +142 -77
  910. package/docs/ru/intlayer_with_vite+react.md +130 -68
  911. package/docs/ru/intlayer_with_vite+react_compiler.md +25 -10
  912. package/docs/ru/intlayer_with_vite+solid.md +127 -62
  913. package/docs/ru/intlayer_with_vite+svelte.md +111 -48
  914. package/docs/ru/intlayer_with_vite+vanilla.md +90 -23
  915. package/docs/ru/intlayer_with_vite+vue.md +134 -69
  916. package/docs/ru/introduction.md +85 -32
  917. package/docs/ru/lsp.md +351 -0
  918. package/docs/ru/packages/vite-intlayer/exports.md +7 -7
  919. package/docs/ru/releases/v6.md +2 -2
  920. package/docs/ru/releases/v7.md +2 -2
  921. package/docs/ru/roadmap.md +1 -1
  922. package/docs/ru/testing.md +1 -1
  923. package/docs/tr/benchmark/index.md +1 -1
  924. package/docs/tr/benchmark/nextjs.md +7 -7
  925. package/docs/tr/benchmark/solid.md +2 -2
  926. package/docs/tr/benchmark/svelte.md +2 -2
  927. package/docs/tr/benchmark/tanstack.md +4 -4
  928. package/docs/tr/benchmark/vue.md +3 -3
  929. package/docs/tr/bundle_optimization.md +1 -1
  930. package/docs/tr/cli/build.md +1 -1
  931. package/docs/tr/cli/index.md +1 -1
  932. package/docs/tr/component_i18n.md +1 -1
  933. package/docs/tr/dictionary/content_file.md +2 -2
  934. package/docs/tr/dictionary/html.md +5 -5
  935. package/docs/tr/dictionary/markdown.md +7 -7
  936. package/docs/tr/how_works_intlayer.md +2 -2
  937. package/docs/tr/interest_of_intlayer.md +152 -96
  938. package/docs/tr/intlayer_CMS.md +1 -1
  939. package/docs/tr/intlayer_with_adonisjs.md +3 -3
  940. package/docs/tr/intlayer_with_analog.md +70 -16
  941. package/docs/tr/intlayer_with_angular_19.md +70 -16
  942. package/docs/tr/intlayer_with_angular_21.md +70 -16
  943. package/docs/tr/intlayer_with_astro.md +123 -66
  944. package/docs/tr/intlayer_with_astro_lit.md +138 -78
  945. package/docs/tr/intlayer_with_astro_preact.md +132 -72
  946. package/docs/tr/intlayer_with_astro_react.md +134 -74
  947. package/docs/tr/intlayer_with_astro_solid.md +134 -74
  948. package/docs/tr/intlayer_with_astro_svelte.md +134 -74
  949. package/docs/tr/intlayer_with_astro_vanilla.md +131 -73
  950. package/docs/tr/intlayer_with_astro_vue.md +126 -66
  951. package/docs/tr/intlayer_with_create_react_app.md +33 -12
  952. package/docs/tr/intlayer_with_express.md +3 -3
  953. package/docs/tr/intlayer_with_fastify.md +3 -3
  954. package/docs/tr/intlayer_with_hono.md +3 -3
  955. package/docs/tr/intlayer_with_lynx+react.md +48 -10
  956. package/docs/tr/intlayer_with_nestjs.md +3 -14
  957. package/docs/tr/intlayer_with_next-i18next.md +3 -3
  958. package/docs/tr/intlayer_with_next-intl.md +3 -3
  959. package/docs/tr/intlayer_with_nextjs_14.md +13 -6
  960. package/docs/tr/intlayer_with_nextjs_15.md +91 -27
  961. package/docs/tr/intlayer_with_nextjs_16.md +160 -93
  962. package/docs/tr/intlayer_with_nextjs_compiler.md +102 -81
  963. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +85 -23
  964. package/docs/tr/intlayer_with_nextjs_page_router.md +88 -23
  965. package/docs/tr/intlayer_with_nuxt.md +105 -45
  966. package/docs/tr/intlayer_with_react_native+expo.md +90 -11
  967. package/docs/tr/intlayer_with_react_router_v7.md +96 -23
  968. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +89 -22
  969. package/docs/tr/intlayer_with_storybook.md +76 -18
  970. package/docs/tr/intlayer_with_svelte_kit.md +117 -38
  971. package/docs/tr/intlayer_with_tanstack+solid.md +103 -28
  972. package/docs/tr/intlayer_with_tanstack.md +103 -28
  973. package/docs/tr/intlayer_with_vanilla.md +75 -22
  974. package/docs/tr/intlayer_with_vite+lit.md +89 -23
  975. package/docs/tr/intlayer_with_vite+preact.md +143 -78
  976. package/docs/tr/intlayer_with_vite+react.md +132 -70
  977. package/docs/tr/intlayer_with_vite+react_compiler.md +26 -11
  978. package/docs/tr/intlayer_with_vite+solid.md +128 -63
  979. package/docs/tr/intlayer_with_vite+svelte.md +112 -49
  980. package/docs/tr/intlayer_with_vite+vanilla.md +91 -24
  981. package/docs/tr/intlayer_with_vite+vue.md +135 -70
  982. package/docs/tr/introduction.md +103 -49
  983. package/docs/tr/lsp.md +351 -0
  984. package/docs/tr/packages/next-intlayer/useIntlayer.md +1 -1
  985. package/docs/tr/packages/vite-intlayer/intlayerPrune.md +1 -1
  986. package/docs/tr/readme.md +1 -1
  987. package/docs/tr/releases/v7.md +1 -1
  988. package/docs/tr/releases/v8.md +1 -1
  989. package/docs/uk/cli/build.md +1 -1
  990. package/docs/uk/cli/index.md +1 -1
  991. package/docs/uk/interest_of_intlayer.md +58 -192
  992. package/docs/uk/intlayer_with_adonisjs.md +3 -3
  993. package/docs/uk/intlayer_with_analog.md +70 -16
  994. package/docs/uk/intlayer_with_angular_19.md +70 -16
  995. package/docs/uk/intlayer_with_angular_21.md +70 -16
  996. package/docs/uk/intlayer_with_astro.md +123 -66
  997. package/docs/uk/intlayer_with_astro_lit.md +130 -70
  998. package/docs/uk/intlayer_with_astro_preact.md +124 -64
  999. package/docs/uk/intlayer_with_astro_react.md +126 -66
  1000. package/docs/uk/intlayer_with_astro_solid.md +126 -66
  1001. package/docs/uk/intlayer_with_astro_svelte.md +126 -66
  1002. package/docs/uk/intlayer_with_astro_vanilla.md +123 -65
  1003. package/docs/uk/intlayer_with_astro_vue.md +126 -66
  1004. package/docs/uk/intlayer_with_create_react_app.md +33 -12
  1005. package/docs/uk/intlayer_with_express.md +3 -3
  1006. package/docs/uk/intlayer_with_fastify.md +3 -3
  1007. package/docs/uk/intlayer_with_hono.md +3 -3
  1008. package/docs/uk/intlayer_with_lynx+react.md +48 -10
  1009. package/docs/uk/intlayer_with_nestjs.md +3 -13
  1010. package/docs/uk/intlayer_with_next-i18next.md +3 -3
  1011. package/docs/uk/intlayer_with_next-intl.md +3 -3
  1012. package/docs/uk/intlayer_with_nextjs_14.md +93 -25
  1013. package/docs/uk/intlayer_with_nextjs_15.md +93 -25
  1014. package/docs/uk/intlayer_with_nextjs_16.md +159 -92
  1015. package/docs/uk/intlayer_with_nextjs_compiler.md +101 -80
  1016. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +84 -22
  1017. package/docs/uk/intlayer_with_nextjs_page_router.md +87 -22
  1018. package/docs/uk/intlayer_with_nuxt.md +105 -45
  1019. package/docs/uk/intlayer_with_react_native+expo.md +88 -11
  1020. package/docs/uk/intlayer_with_react_router_v7.md +96 -23
  1021. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +89 -22
  1022. package/docs/uk/intlayer_with_storybook.md +76 -18
  1023. package/docs/uk/intlayer_with_svelte_kit.md +97 -32
  1024. package/docs/uk/intlayer_with_tanstack+solid.md +104 -29
  1025. package/docs/uk/intlayer_with_tanstack.md +103 -28
  1026. package/docs/uk/intlayer_with_vanilla.md +75 -22
  1027. package/docs/uk/intlayer_with_vite+lit.md +88 -22
  1028. package/docs/uk/intlayer_with_vite+preact.md +142 -77
  1029. package/docs/uk/intlayer_with_vite+react.md +131 -69
  1030. package/docs/uk/intlayer_with_vite+react_compiler.md +24 -9
  1031. package/docs/uk/intlayer_with_vite+solid.md +127 -62
  1032. package/docs/uk/intlayer_with_vite+svelte.md +114 -49
  1033. package/docs/uk/intlayer_with_vite+vanilla.md +91 -24
  1034. package/docs/uk/intlayer_with_vite+vue.md +134 -69
  1035. package/docs/uk/introduction.md +82 -40
  1036. package/docs/uk/lsp.md +351 -0
  1037. package/docs/ur/cli/index.md +1 -1
  1038. package/docs/ur/interest_of_intlayer.md +125 -88
  1039. package/docs/ur/intlayer_with_angular_21.md +25 -9
  1040. package/docs/ur/intlayer_with_fastify.md +3 -3
  1041. package/docs/ur/intlayer_with_hono.md +3 -3
  1042. package/docs/ur/intlayer_with_storybook.md +30 -10
  1043. package/docs/ur/intlayer_with_vanilla.md +33 -12
  1044. package/docs/ur/intlayer_with_vite+lit.md +43 -15
  1045. package/docs/ur/intlayer_with_vite+vanilla.md +45 -16
  1046. package/docs/ur/introduction.md +82 -37
  1047. package/docs/vi/benchmark/index.md +1 -1
  1048. package/docs/vi/benchmark/nextjs.md +5 -5
  1049. package/docs/vi/benchmark/tanstack.md +2 -2
  1050. package/docs/vi/cli/build.md +1 -1
  1051. package/docs/vi/cli/index.md +1 -1
  1052. package/docs/vi/how_works_intlayer.md +2 -2
  1053. package/docs/vi/interest_of_intlayer.md +58 -192
  1054. package/docs/vi/intlayer_with_adonisjs.md +3 -3
  1055. package/docs/vi/intlayer_with_analog.md +70 -16
  1056. package/docs/vi/intlayer_with_angular_19.md +70 -16
  1057. package/docs/vi/intlayer_with_angular_21.md +70 -16
  1058. package/docs/vi/intlayer_with_astro.md +123 -66
  1059. package/docs/vi/intlayer_with_astro_lit.md +130 -70
  1060. package/docs/vi/intlayer_with_astro_preact.md +124 -64
  1061. package/docs/vi/intlayer_with_astro_react.md +126 -66
  1062. package/docs/vi/intlayer_with_astro_solid.md +126 -66
  1063. package/docs/vi/intlayer_with_astro_svelte.md +126 -66
  1064. package/docs/vi/intlayer_with_astro_vanilla.md +123 -65
  1065. package/docs/vi/intlayer_with_astro_vue.md +126 -66
  1066. package/docs/vi/intlayer_with_create_react_app.md +33 -12
  1067. package/docs/vi/intlayer_with_express.md +3 -3
  1068. package/docs/vi/intlayer_with_fastify.md +3 -3
  1069. package/docs/vi/intlayer_with_hono.md +3 -3
  1070. package/docs/vi/intlayer_with_lynx+react.md +48 -10
  1071. package/docs/vi/intlayer_with_nestjs.md +3 -13
  1072. package/docs/vi/intlayer_with_next-i18next.md +3 -3
  1073. package/docs/vi/intlayer_with_next-intl.md +3 -3
  1074. package/docs/vi/intlayer_with_nextjs_14.md +93 -25
  1075. package/docs/vi/intlayer_with_nextjs_15.md +76 -26
  1076. package/docs/vi/intlayer_with_nextjs_16.md +160 -93
  1077. package/docs/vi/intlayer_with_nextjs_compiler.md +101 -80
  1078. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +81 -21
  1079. package/docs/vi/intlayer_with_nextjs_page_router.md +87 -22
  1080. package/docs/vi/intlayer_with_nuxt.md +105 -45
  1081. package/docs/vi/intlayer_with_react_native+expo.md +89 -10
  1082. package/docs/vi/intlayer_with_react_router_v7.md +96 -23
  1083. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +96 -23
  1084. package/docs/vi/intlayer_with_storybook.md +76 -18
  1085. package/docs/vi/intlayer_with_svelte_kit.md +117 -38
  1086. package/docs/vi/intlayer_with_tanstack+solid.md +103 -28
  1087. package/docs/vi/intlayer_with_tanstack.md +103 -28
  1088. package/docs/vi/intlayer_with_vanilla.md +75 -22
  1089. package/docs/vi/intlayer_with_vite+lit.md +88 -22
  1090. package/docs/vi/intlayer_with_vite+preact.md +142 -77
  1091. package/docs/vi/intlayer_with_vite+react.md +131 -69
  1092. package/docs/vi/intlayer_with_vite+react_compiler.md +24 -9
  1093. package/docs/vi/intlayer_with_vite+solid.md +127 -62
  1094. package/docs/vi/intlayer_with_vite+svelte.md +113 -50
  1095. package/docs/vi/intlayer_with_vite+vanilla.md +90 -23
  1096. package/docs/vi/intlayer_with_vite+vue.md +134 -69
  1097. package/docs/vi/introduction.md +88 -42
  1098. package/docs/vi/lsp.md +351 -0
  1099. package/docs/vi/releases/v7.md +1 -1
  1100. package/docs/zh/benchmark/nextjs.md +1 -1
  1101. package/docs/zh/benchmark/solid.md +1 -1
  1102. package/docs/zh/benchmark/svelte.md +1 -1
  1103. package/docs/zh/benchmark/vue.md +2 -2
  1104. package/docs/zh/bundle_optimization.md +13 -13
  1105. package/docs/zh/cli/build.md +1 -1
  1106. package/docs/zh/cli/index.md +1 -1
  1107. package/docs/zh/component_i18n.md +1 -1
  1108. package/docs/zh/dictionary/content_file.md +2 -2
  1109. package/docs/zh/dictionary/html.md +6 -6
  1110. package/docs/zh/dictionary/markdown.md +7 -7
  1111. package/docs/zh/how_works_intlayer.md +1 -1
  1112. package/docs/zh/interest_of_intlayer.md +122 -85
  1113. package/docs/zh/intlayer_with_adonisjs.md +3 -3
  1114. package/docs/zh/intlayer_with_analog.md +31 -10
  1115. package/docs/zh/intlayer_with_angular_19.md +31 -10
  1116. package/docs/zh/intlayer_with_angular_21.md +53 -16
  1117. package/docs/zh/intlayer_with_astro.md +31 -10
  1118. package/docs/zh/intlayer_with_astro_lit.md +31 -10
  1119. package/docs/zh/intlayer_with_astro_preact.md +31 -10
  1120. package/docs/zh/intlayer_with_astro_react.md +31 -10
  1121. package/docs/zh/intlayer_with_astro_solid.md +31 -10
  1122. package/docs/zh/intlayer_with_astro_svelte.md +31 -10
  1123. package/docs/zh/intlayer_with_astro_vanilla.md +31 -10
  1124. package/docs/zh/intlayer_with_astro_vue.md +31 -10
  1125. package/docs/zh/intlayer_with_create_react_app.md +3 -3
  1126. package/docs/zh/intlayer_with_express.md +3 -3
  1127. package/docs/zh/intlayer_with_fastify.md +3 -3
  1128. package/docs/zh/intlayer_with_hono.md +3 -3
  1129. package/docs/zh/intlayer_with_lynx+react.md +31 -10
  1130. package/docs/zh/intlayer_with_nestjs.md +3 -14
  1131. package/docs/zh/intlayer_with_next-i18next.md +3 -3
  1132. package/docs/zh/intlayer_with_next-intl.md +3 -3
  1133. package/docs/zh/intlayer_with_nextjs_14.md +52 -17
  1134. package/docs/zh/intlayer_with_nextjs_15.md +56 -21
  1135. package/docs/zh/intlayer_with_nextjs_16.md +42 -17
  1136. package/docs/zh/intlayer_with_nextjs_compiler.md +171 -157
  1137. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +140 -104
  1138. package/docs/zh/intlayer_with_nextjs_page_router.md +49 -15
  1139. package/docs/zh/intlayer_with_nuxt.md +73 -40
  1140. package/docs/zh/intlayer_with_react_native+expo.md +72 -10
  1141. package/docs/zh/intlayer_with_react_router_v7.md +38 -12
  1142. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +38 -12
  1143. package/docs/zh/intlayer_with_storybook.md +31 -10
  1144. package/docs/zh/intlayer_with_svelte_kit.md +262 -226
  1145. package/docs/zh/intlayer_with_tanstack+solid.md +31 -11
  1146. package/docs/zh/intlayer_with_tanstack.md +31 -11
  1147. package/docs/zh/intlayer_with_vanilla.md +28 -13
  1148. package/docs/zh/intlayer_with_vite+lit.md +31 -10
  1149. package/docs/zh/intlayer_with_vite+preact.md +137 -108
  1150. package/docs/zh/intlayer_with_vite+react.md +99 -64
  1151. package/docs/zh/intlayer_with_vite+react_compiler.md +3 -3
  1152. package/docs/zh/intlayer_with_vite+solid.md +83 -53
  1153. package/docs/zh/intlayer_with_vite+svelte.md +82 -44
  1154. package/docs/zh/intlayer_with_vite+vanilla.md +31 -10
  1155. package/docs/zh/intlayer_with_vite+vue.md +124 -86
  1156. package/docs/zh/introduction.md +100 -46
  1157. package/docs/zh/lsp.md +351 -0
  1158. package/docs/zh/releases/v8.md +3 -3
  1159. package/docs/zh/roadmap.md +1 -1
  1160. package/docs/zh-TW/interest_of_intlayer.md +135 -98
  1161. package/docs/zh-TW/intlayer_with_angular_21.md +25 -9
  1162. package/docs/zh-TW/introduction.md +207 -0
  1163. package/package.json +7 -7
  1164. package/src/common.ts +1 -1
  1165. package/src/generated/docs.entry.ts +20 -20
  1166. package/docs/ar/index.md +0 -164
  1167. package/docs/bn/index.md +0 -183
  1168. package/docs/cs/index.md +0 -183
  1169. package/docs/de/index.md +0 -166
  1170. package/docs/en/index.md +0 -183
  1171. package/docs/en-GB/index.md +0 -170
  1172. package/docs/es/index.md +0 -165
  1173. package/docs/fr/index.md +0 -163
  1174. package/docs/hi/index.md +0 -166
  1175. package/docs/id/index.md +0 -176
  1176. package/docs/it/index.md +0 -166
  1177. package/docs/ja/index.md +0 -164
  1178. package/docs/ko/index.md +0 -164
  1179. package/docs/nl/index.md +0 -183
  1180. package/docs/pl/index.md +0 -176
  1181. package/docs/pt/index.md +0 -166
  1182. package/docs/ru/index.md +0 -163
  1183. package/docs/tr/index.md +0 -166
  1184. package/docs/uk/index.md +0 -175
  1185. package/docs/ur/index.md +0 -183
  1186. package/docs/vi/index.md +0 -174
  1187. package/docs/zh/index.md +0 -183
@@ -16,7 +16,7 @@ const getFile = async (files, docKey, locale = defaultLocale) => {
16
16
  if (!files[docKey]) throw new Error(`File ${docKey} not found`);
17
17
  const file = await files[docKey]?.[locale];
18
18
  if (!file) {
19
- const englishFile = await files[docKey][defaultLocale];
19
+ const englishFile = await files[docKey]?.[defaultLocale];
20
20
  if (!englishFile) throw new Error(`File ${docKey} not found`);
21
21
  return englishFile;
22
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"common.mjs","names":[],"sources":["../../src/common.ts"],"sourcesContent":["import { join } from 'node:path';\nimport { getLocalizedUrl } from '@intlayer/core/localization';\nimport { getMarkdownMetadata } from '@intlayer/core/transpiler';\nimport * as Locales from '@intlayer/types/locales';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\nexport const defaultLocale = Locales.ENGLISH;\n\nexport const GITHUB_URL_PREFIX =\n 'https://github.com/aymericzip/intlayer/blob/main/docs';\nexport const URL_PREFIX = 'https://intlayer.org/';\n\nexport const getKeys = <T extends Record<string, any>>(obj: T): (keyof T)[] =>\n Object.keys(obj) as (keyof T)[];\n\nexport const getFiles = async <\n F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n lang: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<string, string>> => {\n const filesEntries = await Promise.all(\n Object.entries(files)\n .map(([key, value]) => [key, value[lang as LocalesValues]])\n .map(async ([key, value]) => [key, await value])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFile = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<string> => {\n const fileRecord = files[docKey];\n\n if (!fileRecord) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n const file = await files[docKey]?.[locale];\n\n if (!file) {\n const englishFile = await files[docKey][defaultLocale as LocalesValues];\n\n if (!englishFile) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n return englishFile;\n }\n\n return file;\n};\n\nexport type FileMetadata = {\n docKey: string;\n url: string;\n relativeUrl: string;\n githubUrl: string;\n title: string;\n slugs: string[];\n description: string;\n keywords: string[];\n updatedAt: string;\n createdAt: string;\n author?: string;\n youtubeVideo?: string;\n applicationTemplate?: string;\n applicationShowcase?: string;\n history?: {\n version: string;\n date: string;\n changes: string;\n }[];\n};\n\nexport const formatMetadata = (\n docKey: string,\n file: string,\n locale: LocalesValues = defaultLocale as LocalesValues\n): FileMetadata => {\n const metadata = getMarkdownMetadata(file);\n\n const slugs = (metadata.slugs ?? []).map(String);\n const keywords = (metadata.keywords ?? []).map(String);\n\n const relativeUrl = join('/', ...slugs);\n\n const slicedDocKey = docKey.slice(1);\n\n return {\n ...metadata,\n docKey,\n slugs,\n keywords,\n githubUrl: `${GITHUB_URL_PREFIX}${slicedDocKey}`.replace(\n '/en/',\n `/${locale}/`\n ),\n relativeUrl: getLocalizedUrl(relativeUrl, locale),\n url: getLocalizedUrl(join(URL_PREFIX, relativeUrl), locale),\n } as FileMetadata;\n};\n\nexport const getFileMetadata = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n R extends FileMetadata,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<R> => {\n const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\n};\n\nexport const getFileMetadataRecord = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<keyof F, FileMetadata>> => {\n const results = await Promise.allSettled(\n Object.entries(files).map(async ([key]) => {\n const metadata = await getFileMetadata(files, key as keyof F, locale);\n return [key, metadata] as [string, FileMetadata];\n })\n );\n const filesEntries = results\n .filter(\n (r): r is PromiseFulfilledResult<[string, FileMetadata]> =>\n r.status === 'fulfilled'\n )\n .map((r) => r.value);\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult as Record<keyof F, FileMetadata>;\n};\n\nexport const getFileMetadataBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray: FileMetadata[] = Object.values(filesMetadata).filter(\n (fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n if (locale !== defaultLocale) {\n const localizedFileMetadata = await Promise.all(\n fileMetadataArray.map(\n async (fileMetadata) =>\n await getFileMetadata(files, fileMetadata.docKey, locale)\n )\n );\n\n return localizedFileMetadata;\n }\n\n return fileMetadataArray;\n};\n\nexport const getFileBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray = Object.values(filesMetadata).filter((fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n const fileList = await Promise.all(\n fileMetadataArray.map(async (fileMetadata) => {\n const file = await getFile(files, fileMetadata.docKey, locale);\n return file;\n })\n );\n\n return fileList;\n};\n"],"mappings":"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"}
1
+ {"version":3,"file":"common.mjs","names":[],"sources":["../../src/common.ts"],"sourcesContent":["import { join } from 'node:path';\nimport { getLocalizedUrl } from '@intlayer/core/localization';\nimport { getMarkdownMetadata } from '@intlayer/core/transpiler';\nimport * as Locales from '@intlayer/types/locales';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\nexport const defaultLocale = Locales.ENGLISH;\n\nexport const GITHUB_URL_PREFIX =\n 'https://github.com/aymericzip/intlayer/blob/main/docs';\nexport const URL_PREFIX = 'https://intlayer.org/';\n\nexport const getKeys = <T extends Record<string, any>>(obj: T): (keyof T)[] =>\n Object.keys(obj) as (keyof T)[];\n\nexport const getFiles = async <\n F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n lang: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<string, string>> => {\n const filesEntries = await Promise.all(\n Object.entries(files)\n .map(([key, value]) => [key, value[lang as LocalesValues]])\n .map(async ([key, value]) => [key, await value])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFile = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<string> => {\n const fileRecord = files[docKey];\n\n if (!fileRecord) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n const file = await files[docKey]?.[locale];\n\n if (!file) {\n const englishFile = await files[docKey]?.[defaultLocale as LocalesValues];\n\n if (!englishFile) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n return englishFile;\n }\n\n return file;\n};\n\nexport type FileMetadata = {\n docKey: string;\n url: string;\n relativeUrl: string;\n githubUrl: string;\n title: string;\n slugs: string[];\n description: string;\n keywords: string[];\n updatedAt: string;\n createdAt: string;\n author?: string;\n youtubeVideo?: string;\n applicationTemplate?: string;\n applicationShowcase?: string;\n history?: {\n version: string;\n date: string;\n changes: string;\n }[];\n};\n\nexport const formatMetadata = (\n docKey: string,\n file: string,\n locale: LocalesValues = defaultLocale as LocalesValues\n): FileMetadata => {\n const metadata = getMarkdownMetadata(file);\n\n const slugs = (metadata.slugs ?? []).map(String);\n const keywords = (metadata.keywords ?? []).map(String);\n\n const relativeUrl = join('/', ...slugs);\n\n const slicedDocKey = docKey.slice(1);\n\n return {\n ...metadata,\n docKey,\n slugs,\n keywords,\n githubUrl: `${GITHUB_URL_PREFIX}${slicedDocKey}`.replace(\n '/en/',\n `/${locale}/`\n ),\n relativeUrl: getLocalizedUrl(relativeUrl, locale),\n url: getLocalizedUrl(join(URL_PREFIX, relativeUrl), locale),\n } as FileMetadata;\n};\n\nexport const getFileMetadata = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n R extends FileMetadata,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<R> => {\n const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\n};\n\nexport const getFileMetadataRecord = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<keyof F, FileMetadata>> => {\n const results = await Promise.allSettled(\n Object.entries(files).map(async ([key]) => {\n const metadata = await getFileMetadata(files, key as keyof F, locale);\n return [key, metadata] as [string, FileMetadata];\n })\n );\n const filesEntries = results\n .filter(\n (r): r is PromiseFulfilledResult<[string, FileMetadata]> =>\n r.status === 'fulfilled'\n )\n .map((r) => r.value);\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult as Record<keyof F, FileMetadata>;\n};\n\nexport const getFileMetadataBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray: FileMetadata[] = Object.values(filesMetadata).filter(\n (fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n if (locale !== defaultLocale) {\n const localizedFileMetadata = await Promise.all(\n fileMetadataArray.map(\n async (fileMetadata) =>\n await getFileMetadata(files, fileMetadata.docKey, locale)\n )\n );\n\n return localizedFileMetadata;\n }\n\n return fileMetadataArray;\n};\n\nexport const getFileBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray = Object.values(filesMetadata).filter((fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n const fileList = await Promise.all(\n fileMetadataArray.map(async (fileMetadata) => {\n const file = await getFile(files, fileMetadata.docKey, locale);\n return file;\n })\n );\n\n return fileList;\n};\n"],"mappings":"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"}
@@ -1044,26 +1044,6 @@ const docsEntry = {
1044
1044
  vi: readLocale("how_works_intlayer.md", "vi"),
1045
1045
  uk: readLocale("how_works_intlayer.md", "uk")
1046
1046
  },
1047
- "./docs/en/index.md": {
1048
- en: readLocale("index.md", "en"),
1049
- ru: readLocale("index.md", "ru"),
1050
- ja: readLocale("index.md", "ja"),
1051
- fr: readLocale("index.md", "fr"),
1052
- ko: readLocale("index.md", "ko"),
1053
- zh: readLocale("index.md", "zh"),
1054
- es: readLocale("index.md", "es"),
1055
- de: readLocale("index.md", "de"),
1056
- ar: readLocale("index.md", "ar"),
1057
- it: readLocale("index.md", "it"),
1058
- "en-GB": readLocale("index.md", "en-GB"),
1059
- pt: readLocale("index.md", "pt"),
1060
- hi: readLocale("index.md", "hi"),
1061
- tr: readLocale("index.md", "tr"),
1062
- pl: readLocale("index.md", "pl"),
1063
- id: readLocale("index.md", "id"),
1064
- vi: readLocale("index.md", "vi"),
1065
- uk: readLocale("index.md", "uk")
1066
- },
1067
1047
  "./docs/en/interest_of_intlayer.md": {
1068
1048
  en: readLocale("interest_of_intlayer.md", "en"),
1069
1049
  ru: readLocale("interest_of_intlayer.md", "ru"),
@@ -2024,6 +2004,26 @@ const docsEntry = {
2024
2004
  vi: readLocale("locale_mapper.md", "vi"),
2025
2005
  uk: readLocale("locale_mapper.md", "uk")
2026
2006
  },
2007
+ "./docs/en/lsp.md": {
2008
+ en: readLocale("lsp.md", "en"),
2009
+ ru: readLocale("lsp.md", "ru"),
2010
+ ja: readLocale("lsp.md", "ja"),
2011
+ fr: readLocale("lsp.md", "fr"),
2012
+ ko: readLocale("lsp.md", "ko"),
2013
+ zh: readLocale("lsp.md", "zh"),
2014
+ es: readLocale("lsp.md", "es"),
2015
+ de: readLocale("lsp.md", "de"),
2016
+ ar: readLocale("lsp.md", "ar"),
2017
+ it: readLocale("lsp.md", "it"),
2018
+ "en-GB": readLocale("lsp.md", "en-GB"),
2019
+ pt: readLocale("lsp.md", "pt"),
2020
+ hi: readLocale("lsp.md", "hi"),
2021
+ tr: readLocale("lsp.md", "tr"),
2022
+ pl: readLocale("lsp.md", "pl"),
2023
+ id: readLocale("lsp.md", "id"),
2024
+ vi: readLocale("lsp.md", "vi"),
2025
+ uk: readLocale("lsp.md", "uk")
2026
+ },
2027
2027
  "./docs/en/mcp_server.md": {
2028
2028
  en: readLocale("mcp_server.md", "en"),
2029
2029
  ru: readLocale("mcp_server.md", "ru"),