@intlayer/docs 8.4.10 → 8.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +40 -0
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +40 -0
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +2 -0
  6. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  7. package/docs/ar/dictionary/html.md +32 -25
  8. package/docs/ar/dictionary/markdown.md +33 -35
  9. package/docs/ar/intlayer_with_analog.md +10 -27
  10. package/docs/ar/intlayer_with_angular.md +1 -12
  11. package/docs/ar/intlayer_with_nextjs_14.md +1 -1
  12. package/docs/ar/intlayer_with_nextjs_page_router.md +1 -1
  13. package/docs/ar/intlayer_with_react_router_v7.md +6 -1
  14. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +6 -1
  15. package/docs/ar/intlayer_with_storybook.md +2 -5
  16. package/docs/ar/intlayer_with_svelte_kit.md +9 -5
  17. package/docs/ar/intlayer_with_vite+lit.md +689 -0
  18. package/docs/ar/intlayer_with_vite+react.md +16 -4
  19. package/docs/ar/intlayer_with_vite+solid.md +1 -1
  20. package/docs/ar/intlayer_with_vite+svelte.md +13 -6
  21. package/docs/ar/intlayer_with_vite+vanilla.md +722 -0
  22. package/docs/ar/intlayer_with_vite+vue.md +24 -8
  23. package/docs/ar/packages/react-intlayer/MarkdownRenderer.md +1 -1
  24. package/docs/ar/packages/svelte-intlayer/useRewriteURL.md +1 -1
  25. package/docs/ar/releases/v8.md +27 -27
  26. package/docs/bn/intlayer_with_storybook.md +2 -5
  27. package/docs/bn/intlayer_with_vite+lit.md +689 -0
  28. package/docs/bn/intlayer_with_vite+vanilla.md +722 -0
  29. package/docs/cs/intlayer_with_storybook.md +2 -5
  30. package/docs/cs/intlayer_with_vite+lit.md +689 -0
  31. package/docs/cs/intlayer_with_vite+vanilla.md +722 -0
  32. package/docs/de/compiler.md +6 -1
  33. package/docs/de/configuration.md +12 -9
  34. package/docs/de/dictionary/html.md +151 -26
  35. package/docs/de/dictionary/markdown.md +154 -42
  36. package/docs/de/intlayer_with_analog.md +10 -27
  37. package/docs/de/intlayer_with_angular.md +1 -12
  38. package/docs/de/intlayer_with_nextjs_14.md +1 -1
  39. package/docs/de/intlayer_with_nextjs_page_router.md +1 -1
  40. package/docs/de/intlayer_with_react_router_v7.md +6 -1
  41. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +6 -1
  42. package/docs/de/intlayer_with_storybook.md +2 -5
  43. package/docs/de/intlayer_with_svelte_kit.md +9 -5
  44. package/docs/de/intlayer_with_vite+lit.md +698 -0
  45. package/docs/de/intlayer_with_vite+react.md +16 -4
  46. package/docs/de/intlayer_with_vite+solid.md +1 -1
  47. package/docs/de/intlayer_with_vite+svelte.md +19 -6
  48. package/docs/de/intlayer_with_vite+vanilla.md +722 -0
  49. package/docs/de/intlayer_with_vite+vue.md +24 -8
  50. package/docs/de/packages/react-intlayer/MarkdownRenderer.md +1 -1
  51. package/docs/de/packages/svelte-intlayer/useRewriteURL.md +1 -1
  52. package/docs/de/releases/v8.md +27 -27
  53. package/docs/en/compiler.md +6 -1
  54. package/docs/en/configuration.md +12 -9
  55. package/docs/en/dictionary/html.md +152 -27
  56. package/docs/en/dictionary/markdown.md +154 -38
  57. package/docs/en/intlayer_with_analog.md +10 -27
  58. package/docs/en/intlayer_with_angular.md +1 -12
  59. package/docs/en/intlayer_with_nextjs_14.md +1 -1
  60. package/docs/en/intlayer_with_nextjs_16.md +12 -3
  61. package/docs/en/intlayer_with_nextjs_compiler.md +16 -4
  62. package/docs/en/intlayer_with_nextjs_page_router.md +1 -1
  63. package/docs/en/intlayer_with_react_router_v7.md +17 -4
  64. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +18 -4
  65. package/docs/en/intlayer_with_storybook.md +2 -5
  66. package/docs/en/intlayer_with_svelte_kit.md +21 -8
  67. package/docs/en/intlayer_with_tanstack.md +12 -3
  68. package/docs/en/intlayer_with_vite+lit.md +703 -0
  69. package/docs/en/intlayer_with_vite+preact.md +31 -3
  70. package/docs/en/intlayer_with_vite+react.md +28 -7
  71. package/docs/en/intlayer_with_vite+react_compiler.md +4 -1
  72. package/docs/en/intlayer_with_vite+solid.md +31 -3
  73. package/docs/en/intlayer_with_vite+svelte.md +30 -9
  74. package/docs/en/intlayer_with_vite+vanilla.md +725 -0
  75. package/docs/en/intlayer_with_vite+vue.md +41 -10
  76. package/docs/en/packages/react-intlayer/MarkdownRenderer.md +1 -1
  77. package/docs/en/packages/svelte-intlayer/useRewriteURL.md +1 -1
  78. package/docs/en/readme.md +1 -0
  79. package/docs/en/releases/v8.md +27 -27
  80. package/docs/en-GB/compiler.md +4 -1
  81. package/docs/en-GB/configuration.md +4 -1
  82. package/docs/en-GB/dictionary/html.md +32 -25
  83. package/docs/en-GB/dictionary/markdown.md +34 -36
  84. package/docs/en-GB/intlayer_with_analog.md +10 -27
  85. package/docs/en-GB/intlayer_with_angular.md +1 -12
  86. package/docs/en-GB/intlayer_with_nextjs_14.md +1 -1
  87. package/docs/en-GB/intlayer_with_nextjs_page_router.md +1 -1
  88. package/docs/en-GB/intlayer_with_react_router_v7.md +6 -1
  89. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +6 -1
  90. package/docs/en-GB/intlayer_with_storybook.md +2 -5
  91. package/docs/en-GB/intlayer_with_svelte_kit.md +9 -5
  92. package/docs/en-GB/intlayer_with_vite+lit.md +703 -0
  93. package/docs/en-GB/intlayer_with_vite+react.md +15 -3
  94. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  95. package/docs/en-GB/intlayer_with_vite+svelte.md +17 -5
  96. package/docs/en-GB/intlayer_with_vite+vanilla.md +725 -0
  97. package/docs/en-GB/intlayer_with_vite+vue.md +19 -7
  98. package/docs/en-GB/packages/react-intlayer/MarkdownRenderer.md +1 -1
  99. package/docs/en-GB/packages/svelte-intlayer/useRewriteURL.md +1 -1
  100. package/docs/en-GB/releases/v8.md +27 -27
  101. package/docs/es/compiler.md +6 -1
  102. package/docs/es/configuration.md +12 -9
  103. package/docs/es/dictionary/html.md +152 -27
  104. package/docs/es/dictionary/markdown.md +155 -43
  105. package/docs/es/intlayer_with_analog.md +10 -27
  106. package/docs/es/intlayer_with_angular.md +1 -12
  107. package/docs/es/intlayer_with_nextjs_14.md +1 -1
  108. package/docs/es/intlayer_with_nextjs_page_router.md +1 -1
  109. package/docs/es/intlayer_with_react_router_v7.md +6 -1
  110. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +6 -1
  111. package/docs/es/intlayer_with_storybook.md +2 -5
  112. package/docs/es/intlayer_with_svelte_kit.md +9 -5
  113. package/docs/es/intlayer_with_vite+lit.md +698 -0
  114. package/docs/es/intlayer_with_vite+react.md +16 -4
  115. package/docs/es/intlayer_with_vite+solid.md +1 -1
  116. package/docs/es/intlayer_with_vite+svelte.md +16 -6
  117. package/docs/es/intlayer_with_vite+vanilla.md +722 -0
  118. package/docs/es/intlayer_with_vite+vue.md +24 -8
  119. package/docs/es/packages/react-intlayer/MarkdownRenderer.md +1 -1
  120. package/docs/es/packages/svelte-intlayer/useRewriteURL.md +1 -1
  121. package/docs/es/releases/v8.md +27 -27
  122. package/docs/fr/compiler.md +8 -3
  123. package/docs/fr/configuration.md +12 -9
  124. package/docs/fr/dictionary/html.md +151 -26
  125. package/docs/fr/dictionary/markdown.md +155 -43
  126. package/docs/fr/intlayer_with_analog.md +10 -27
  127. package/docs/fr/intlayer_with_angular.md +1 -12
  128. package/docs/fr/intlayer_with_nextjs_14.md +1 -1
  129. package/docs/fr/intlayer_with_nextjs_page_router.md +1 -1
  130. package/docs/fr/intlayer_with_react_router_v7.md +6 -1
  131. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  132. package/docs/fr/intlayer_with_storybook.md +2 -5
  133. package/docs/fr/intlayer_with_svelte_kit.md +9 -5
  134. package/docs/fr/intlayer_with_vite+lit.md +698 -0
  135. package/docs/fr/intlayer_with_vite+react.md +16 -4
  136. package/docs/fr/intlayer_with_vite+solid.md +1 -1
  137. package/docs/fr/intlayer_with_vite+svelte.md +19 -6
  138. package/docs/fr/intlayer_with_vite+vanilla.md +722 -0
  139. package/docs/fr/intlayer_with_vite+vue.md +24 -8
  140. package/docs/fr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  141. package/docs/fr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  142. package/docs/fr/releases/v8.md +27 -27
  143. package/docs/hi/dictionary/html.md +32 -25
  144. package/docs/hi/dictionary/markdown.md +35 -37
  145. package/docs/hi/intlayer_with_analog.md +10 -27
  146. package/docs/hi/intlayer_with_angular.md +1 -12
  147. package/docs/hi/intlayer_with_nextjs_14.md +1 -1
  148. package/docs/hi/intlayer_with_nextjs_page_router.md +1 -1
  149. package/docs/hi/intlayer_with_react_router_v7.md +6 -1
  150. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  151. package/docs/hi/intlayer_with_storybook.md +2 -5
  152. package/docs/hi/intlayer_with_svelte_kit.md +9 -5
  153. package/docs/hi/intlayer_with_vite+lit.md +689 -0
  154. package/docs/hi/intlayer_with_vite+react.md +16 -4
  155. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  156. package/docs/hi/intlayer_with_vite+svelte.md +13 -6
  157. package/docs/hi/intlayer_with_vite+vanilla.md +722 -0
  158. package/docs/hi/intlayer_with_vite+vue.md +24 -8
  159. package/docs/hi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  160. package/docs/hi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  161. package/docs/hi/releases/v8.md +27 -27
  162. package/docs/id/dictionary/html.md +32 -25
  163. package/docs/id/dictionary/markdown.md +35 -37
  164. package/docs/id/intlayer_with_analog.md +10 -27
  165. package/docs/id/intlayer_with_angular.md +1 -12
  166. package/docs/id/intlayer_with_nextjs_14.md +1 -1
  167. package/docs/id/intlayer_with_nextjs_page_router.md +1 -1
  168. package/docs/id/intlayer_with_react_router_v7.md +6 -1
  169. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +6 -1
  170. package/docs/id/intlayer_with_storybook.md +2 -5
  171. package/docs/id/intlayer_with_svelte_kit.md +9 -5
  172. package/docs/id/intlayer_with_vite+lit.md +689 -0
  173. package/docs/id/intlayer_with_vite+react.md +16 -4
  174. package/docs/id/intlayer_with_vite+solid.md +1 -1
  175. package/docs/id/intlayer_with_vite+svelte.md +13 -6
  176. package/docs/id/intlayer_with_vite+vanilla.md +722 -0
  177. package/docs/id/intlayer_with_vite+vue.md +19 -7
  178. package/docs/id/packages/react-intlayer/MarkdownRenderer.md +1 -1
  179. package/docs/id/packages/svelte-intlayer/useRewriteURL.md +1 -1
  180. package/docs/id/releases/v8.md +27 -27
  181. package/docs/it/compiler.md +8 -3
  182. package/docs/it/configuration.md +12 -9
  183. package/docs/it/dictionary/html.md +151 -26
  184. package/docs/it/dictionary/markdown.md +155 -39
  185. package/docs/it/intlayer_with_analog.md +10 -27
  186. package/docs/it/intlayer_with_angular.md +1 -12
  187. package/docs/it/intlayer_with_nextjs_14.md +1 -1
  188. package/docs/it/intlayer_with_nextjs_page_router.md +1 -1
  189. package/docs/it/intlayer_with_react_router_v7.md +6 -1
  190. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +6 -1
  191. package/docs/it/intlayer_with_storybook.md +2 -5
  192. package/docs/it/intlayer_with_svelte_kit.md +9 -5
  193. package/docs/it/intlayer_with_vite+lit.md +698 -0
  194. package/docs/it/intlayer_with_vite+react.md +16 -4
  195. package/docs/it/intlayer_with_vite+solid.md +1 -1
  196. package/docs/it/intlayer_with_vite+svelte.md +13 -6
  197. package/docs/it/intlayer_with_vite+vanilla.md +722 -0
  198. package/docs/it/intlayer_with_vite+vue.md +24 -8
  199. package/docs/it/packages/react-intlayer/MarkdownRenderer.md +1 -1
  200. package/docs/it/packages/svelte-intlayer/useRewriteURL.md +1 -1
  201. package/docs/it/releases/v8.md +27 -27
  202. package/docs/ja/dictionary/html.md +153 -29
  203. package/docs/ja/dictionary/markdown.md +154 -42
  204. package/docs/ja/intlayer_with_analog.md +10 -27
  205. package/docs/ja/intlayer_with_angular.md +1 -12
  206. package/docs/ja/intlayer_with_nextjs_14.md +1 -1
  207. package/docs/ja/intlayer_with_nextjs_page_router.md +1 -1
  208. package/docs/ja/intlayer_with_react_router_v7.md +6 -1
  209. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +6 -1
  210. package/docs/ja/intlayer_with_storybook.md +2 -5
  211. package/docs/ja/intlayer_with_vite+lit.md +698 -0
  212. package/docs/ja/intlayer_with_vite+solid.md +1 -1
  213. package/docs/ja/intlayer_with_vite+svelte.md +13 -6
  214. package/docs/ja/intlayer_with_vite+vanilla.md +722 -0
  215. package/docs/ja/intlayer_with_vite+vue.md +24 -8
  216. package/docs/ja/packages/react-intlayer/MarkdownRenderer.md +1 -1
  217. package/docs/ja/packages/svelte-intlayer/useRewriteURL.md +1 -1
  218. package/docs/ja/releases/v8.md +27 -27
  219. package/docs/ko/dictionary/html.md +154 -30
  220. package/docs/ko/dictionary/markdown.md +155 -43
  221. package/docs/ko/intlayer_with_analog.md +10 -27
  222. package/docs/ko/intlayer_with_angular.md +1 -12
  223. package/docs/ko/intlayer_with_nextjs_14.md +1 -1
  224. package/docs/ko/intlayer_with_nextjs_page_router.md +1 -1
  225. package/docs/ko/intlayer_with_react_router_v7.md +6 -1
  226. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +6 -1
  227. package/docs/ko/intlayer_with_storybook.md +2 -5
  228. package/docs/ko/intlayer_with_svelte_kit.md +9 -5
  229. package/docs/ko/intlayer_with_vite+lit.md +698 -0
  230. package/docs/ko/intlayer_with_vite+react.md +16 -4
  231. package/docs/ko/intlayer_with_vite+solid.md +1 -1
  232. package/docs/ko/intlayer_with_vite+svelte.md +13 -6
  233. package/docs/ko/intlayer_with_vite+vanilla.md +722 -0
  234. package/docs/ko/intlayer_with_vite+vue.md +24 -8
  235. package/docs/ko/packages/react-intlayer/MarkdownRenderer.md +1 -1
  236. package/docs/ko/packages/svelte-intlayer/useRewriteURL.md +1 -1
  237. package/docs/ko/releases/v8.md +27 -27
  238. package/docs/nl/intlayer_with_storybook.md +2 -5
  239. package/docs/nl/intlayer_with_vite+lit.md +689 -0
  240. package/docs/nl/intlayer_with_vite+vanilla.md +722 -0
  241. package/docs/pl/dictionary/html.md +151 -26
  242. package/docs/pl/dictionary/markdown.md +155 -43
  243. package/docs/pl/intlayer_with_analog.md +10 -27
  244. package/docs/pl/intlayer_with_angular.md +1 -12
  245. package/docs/pl/intlayer_with_nextjs_14.md +1 -1
  246. package/docs/pl/intlayer_with_nextjs_page_router.md +1 -1
  247. package/docs/pl/intlayer_with_react_router_v7.md +6 -1
  248. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +6 -1
  249. package/docs/pl/intlayer_with_storybook.md +2 -5
  250. package/docs/pl/intlayer_with_svelte_kit.md +9 -5
  251. package/docs/pl/intlayer_with_vite+lit.md +689 -0
  252. package/docs/pl/intlayer_with_vite+react.md +16 -4
  253. package/docs/pl/intlayer_with_vite+solid.md +1 -1
  254. package/docs/pl/intlayer_with_vite+svelte.md +13 -6
  255. package/docs/pl/intlayer_with_vite+vanilla.md +722 -0
  256. package/docs/pl/intlayer_with_vite+vue.md +19 -7
  257. package/docs/pl/packages/react-intlayer/MarkdownRenderer.md +1 -1
  258. package/docs/pl/packages/svelte-intlayer/useRewriteURL.md +1 -1
  259. package/docs/pl/releases/v8.md +27 -27
  260. package/docs/pt/compiler.md +7 -2
  261. package/docs/pt/configuration.md +11 -9
  262. package/docs/pt/dictionary/html.md +132 -26
  263. package/docs/pt/dictionary/markdown.md +155 -43
  264. package/docs/pt/intlayer_with_analog.md +10 -27
  265. package/docs/pt/intlayer_with_angular.md +1 -12
  266. package/docs/pt/intlayer_with_nextjs_14.md +1 -1
  267. package/docs/pt/intlayer_with_nextjs_page_router.md +1 -1
  268. package/docs/pt/intlayer_with_react_router_v7.md +6 -1
  269. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +6 -1
  270. package/docs/pt/intlayer_with_storybook.md +2 -5
  271. package/docs/pt/intlayer_with_svelte_kit.md +9 -5
  272. package/docs/pt/intlayer_with_vite+lit.md +698 -0
  273. package/docs/pt/intlayer_with_vite+react.md +16 -4
  274. package/docs/pt/intlayer_with_vite+solid.md +1 -1
  275. package/docs/pt/intlayer_with_vite+svelte.md +16 -6
  276. package/docs/pt/intlayer_with_vite+vanilla.md +722 -0
  277. package/docs/pt/intlayer_with_vite+vue.md +24 -8
  278. package/docs/pt/packages/react-intlayer/MarkdownRenderer.md +1 -1
  279. package/docs/pt/packages/svelte-intlayer/useRewriteURL.md +1 -1
  280. package/docs/pt/releases/v8.md +27 -27
  281. package/docs/ru/dictionary/html.md +153 -29
  282. package/docs/ru/dictionary/markdown.md +155 -41
  283. package/docs/ru/intlayer_with_analog.md +10 -27
  284. package/docs/ru/intlayer_with_angular.md +1 -12
  285. package/docs/ru/intlayer_with_nextjs_14.md +1 -1
  286. package/docs/ru/intlayer_with_nextjs_page_router.md +1 -1
  287. package/docs/ru/intlayer_with_react_router_v7.md +6 -1
  288. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +6 -1
  289. package/docs/ru/intlayer_with_storybook.md +2 -5
  290. package/docs/ru/intlayer_with_svelte_kit.md +9 -5
  291. package/docs/ru/intlayer_with_vite+lit.md +698 -0
  292. package/docs/ru/intlayer_with_vite+react.md +16 -4
  293. package/docs/ru/intlayer_with_vite+solid.md +1 -1
  294. package/docs/ru/intlayer_with_vite+svelte.md +13 -6
  295. package/docs/ru/intlayer_with_vite+vanilla.md +722 -0
  296. package/docs/ru/intlayer_with_vite+vue.md +24 -8
  297. package/docs/ru/packages/react-intlayer/MarkdownRenderer.md +1 -1
  298. package/docs/ru/packages/svelte-intlayer/useRewriteURL.md +1 -1
  299. package/docs/ru/releases/v8.md +27 -27
  300. package/docs/tr/dictionary/html.md +134 -29
  301. package/docs/tr/dictionary/markdown.md +155 -41
  302. package/docs/tr/intlayer_with_analog.md +10 -27
  303. package/docs/tr/intlayer_with_angular.md +1 -12
  304. package/docs/tr/intlayer_with_nextjs_14.md +1 -1
  305. package/docs/tr/intlayer_with_nextjs_page_router.md +1 -1
  306. package/docs/tr/intlayer_with_react_router_v7.md +6 -1
  307. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +6 -1
  308. package/docs/tr/intlayer_with_storybook.md +2 -5
  309. package/docs/tr/intlayer_with_svelte_kit.md +9 -5
  310. package/docs/tr/intlayer_with_vite+lit.md +689 -0
  311. package/docs/tr/intlayer_with_vite+react.md +16 -4
  312. package/docs/tr/intlayer_with_vite+solid.md +1 -1
  313. package/docs/tr/intlayer_with_vite+svelte.md +13 -6
  314. package/docs/tr/intlayer_with_vite+vanilla.md +722 -0
  315. package/docs/tr/intlayer_with_vite+vue.md +19 -7
  316. package/docs/tr/packages/react-intlayer/MarkdownRenderer.md +1 -1
  317. package/docs/tr/packages/svelte-intlayer/useRewriteURL.md +1 -1
  318. package/docs/tr/releases/v8.md +27 -27
  319. package/docs/uk/dictionary/html.md +32 -25
  320. package/docs/uk/dictionary/markdown.md +35 -37
  321. package/docs/uk/intlayer_with_analog.md +10 -27
  322. package/docs/uk/intlayer_with_angular.md +1 -12
  323. package/docs/uk/intlayer_with_nextjs_14.md +1 -1
  324. package/docs/uk/intlayer_with_nextjs_page_router.md +1 -1
  325. package/docs/uk/intlayer_with_react_router_v7.md +5 -1
  326. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +6 -1
  327. package/docs/uk/intlayer_with_storybook.md +2 -5
  328. package/docs/uk/intlayer_with_svelte_kit.md +9 -5
  329. package/docs/uk/intlayer_with_vite+lit.md +689 -0
  330. package/docs/uk/intlayer_with_vite+react.md +16 -4
  331. package/docs/uk/intlayer_with_vite+solid.md +1 -1
  332. package/docs/uk/intlayer_with_vite+svelte.md +18 -6
  333. package/docs/uk/intlayer_with_vite+vanilla.md +722 -0
  334. package/docs/uk/intlayer_with_vite+vue.md +19 -7
  335. package/docs/uk/packages/react-intlayer/MarkdownRenderer.md +1 -1
  336. package/docs/uk/packages/svelte-intlayer/useRewriteURL.md +1 -1
  337. package/docs/uk/releases/v8.md +27 -27
  338. package/docs/ur/intlayer_with_storybook.md +2 -5
  339. package/docs/ur/intlayer_with_vite+lit.md +689 -0
  340. package/docs/ur/intlayer_with_vite+vanilla.md +722 -0
  341. package/docs/vi/dictionary/html.md +32 -25
  342. package/docs/vi/dictionary/markdown.md +35 -37
  343. package/docs/vi/intlayer_with_analog.md +10 -27
  344. package/docs/vi/intlayer_with_angular.md +1 -12
  345. package/docs/vi/intlayer_with_nextjs_14.md +1 -1
  346. package/docs/vi/intlayer_with_nextjs_page_router.md +1 -1
  347. package/docs/vi/intlayer_with_react_router_v7.md +6 -1
  348. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +6 -1
  349. package/docs/vi/intlayer_with_storybook.md +2 -5
  350. package/docs/vi/intlayer_with_svelte_kit.md +9 -5
  351. package/docs/vi/intlayer_with_vite+lit.md +689 -0
  352. package/docs/vi/intlayer_with_vite+react.md +16 -4
  353. package/docs/vi/intlayer_with_vite+solid.md +1 -1
  354. package/docs/vi/intlayer_with_vite+svelte.md +17 -5
  355. package/docs/vi/intlayer_with_vite+vanilla.md +722 -0
  356. package/docs/vi/intlayer_with_vite+vue.md +19 -7
  357. package/docs/vi/packages/react-intlayer/MarkdownRenderer.md +1 -1
  358. package/docs/vi/packages/svelte-intlayer/useRewriteURL.md +1 -1
  359. package/docs/vi/releases/v8.md +27 -27
  360. package/docs/zh/compiler.md +8 -3
  361. package/docs/zh/configuration.md +4 -1
  362. package/docs/zh/dictionary/html.md +153 -29
  363. package/docs/zh/dictionary/markdown.md +155 -39
  364. package/docs/zh/intlayer_with_analog.md +10 -27
  365. package/docs/zh/intlayer_with_angular.md +1 -12
  366. package/docs/zh/intlayer_with_nextjs_14.md +1 -1
  367. package/docs/zh/intlayer_with_nextjs_page_router.md +1 -1
  368. package/docs/zh/intlayer_with_react_router_v7.md +6 -1
  369. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +6 -1
  370. package/docs/zh/intlayer_with_storybook.md +2 -5
  371. package/docs/zh/intlayer_with_svelte_kit.md +9 -5
  372. package/docs/zh/intlayer_with_vite+lit.md +698 -0
  373. package/docs/zh/intlayer_with_vite+react.md +16 -4
  374. package/docs/zh/intlayer_with_vite+solid.md +1 -1
  375. package/docs/zh/intlayer_with_vite+svelte.md +16 -6
  376. package/docs/zh/intlayer_with_vite+vanilla.md +722 -0
  377. package/docs/zh/intlayer_with_vite+vue.md +19 -7
  378. package/docs/zh/packages/react-intlayer/MarkdownRenderer.md +1 -1
  379. package/docs/zh/packages/svelte-intlayer/useRewriteURL.md +1 -1
  380. package/docs/zh/releases/v8.md +27 -27
  381. package/package.json +6 -6
  382. package/src/generated/docs.entry.ts +40 -0
@@ -17,6 +17,12 @@ slugs:
17
17
  - content
18
18
  - markdown
19
19
  history:
20
+ - version: 8.5.0
21
+ date: 2026-03-24
22
+ changes: "Add `intlayerMarkdown` plugin object; use `app.use(intlayerMarkdown)` instead of `app.use(installIntlayerMarkdown)`"
23
+ - version: 8.5.0
24
+ date: 2026-03-24
25
+ changes: "move import from `{{framework}}-intlayer` to `{{framework}}-intlayer/markdown`"
20
26
  - version: 8.0.0
21
27
  date: 2026-01-22
22
28
  changes: "Menambahkan utilitas MarkdownRenderer / useMarkdownRenderer / renderMarkdown dan opsi forceInline"
@@ -32,7 +38,7 @@ history:
32
38
 
33
39
  Intlayer mendukung konten teks kaya yang didefinisikan menggunakan sintaks Markdown. Ini memungkinkan Anda menulis dan memelihara konten dengan format kaya secara mudah, seperti blog, artikel, dan lainnya.
34
40
 
35
- ## Bagian 1: Mendeklarasikan Konten Markdown
41
+ ## Mendeklarasikan Konten Markdown
36
42
 
37
43
  Anda dapat menyatakan konten Markdown menggunakan fungsi `md` atau cukup sebagai string (jika mengandung sintaks Markdown).
38
44
 
@@ -90,7 +96,7 @@ Anda dapat menyatakan konten Markdown menggunakan fungsi `md` atau cukup sebagai
90
96
 
91
97
  ---
92
98
 
93
- ## Bagian 2: Merender Markdown
99
+ ## Merender Markdown
94
100
 
95
101
  Proses merender dapat ditangani secara otomatis oleh sistem konten Intlayer atau secara manual menggunakan alat khusus.
96
102
 
@@ -213,7 +219,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
213
219
  Merender string Markdown dengan opsi tertentu.
214
220
 
215
221
  ```tsx
216
- import { MarkdownRenderer } from "react-intlayer";
222
+ import { MarkdownRenderer } from "react-intlayer/markdown";
217
223
 
218
224
  <MarkdownRenderer forceBlock={true} tagfilter={true}>
219
225
  {"# My Title"}
@@ -225,7 +231,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
225
231
  Dapatkan fungsi renderer yang telah dikonfigurasi sebelumnya.
226
232
 
227
233
  ```tsx
228
- import { useMarkdownRenderer } from "react-intlayer";
234
+ import { useMarkdownRenderer } from "react-intlayer/markdown";
229
235
 
230
236
  const renderMarkdown = useMarkdownRenderer({
231
237
  forceBlock: true,
@@ -239,7 +245,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
239
245
  Utilitas mandiri untuk merender di luar komponen.
240
246
 
241
247
  ```tsx
242
- import { renderMarkdown } from "react-intlayer";
248
+ import { renderMarkdown } from "react-intlayer/markdown";
243
249
 
244
250
  const jsx = renderMarkdown("# My Title", { forceBlock: true });
245
251
  ```
@@ -251,7 +257,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
251
257
 
252
258
  ```vue
253
259
  <script setup>
254
- import { MarkdownRenderer } from "vue-intlayer";
260
+ import { MarkdownRenderer } from "vue-intlayer/markdown";
255
261
  </script>
256
262
 
257
263
  <template>
@@ -266,7 +272,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
266
272
 
267
273
  ```svelte
268
274
  <script lang="ts">
269
- import { MarkdownRenderer } from "svelte-intlayer";
275
+ import { MarkdownRenderer } from "svelte-intlayer/markdown";
270
276
  </script>
271
277
 
272
278
  <MarkdownRenderer forceBlock={true} value="# My Title" />
@@ -276,7 +282,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
276
282
 
277
283
  ```svelte
278
284
  <script lang="ts">
279
- import { useMarkdownRenderer } from "svelte-intlayer";
285
+ import { useMarkdownRenderer } from "svelte-intlayer/markdown";
280
286
  const render = useMarkdownRenderer();
281
287
  </script>
282
288
 
@@ -287,7 +293,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
287
293
 
288
294
  ```svelte
289
295
  <script lang="ts">
290
- import { renderMarkdown } from "svelte-intlayer";
296
+ import { renderMarkdown } from "svelte-intlayer/markdown";
291
297
  </script>
292
298
 
293
299
  {@html renderMarkdown("# My Title")}
@@ -298,7 +304,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
298
304
  #### Komponen `<MarkdownRenderer />`
299
305
 
300
306
  ```tsx
301
- import { MarkdownRenderer } from "preact-intlayer";
307
+ import { MarkdownRenderer } from "preact-intlayer/markdown";
302
308
 
303
309
  <MarkdownRenderer forceBlock={true}>
304
310
  {"# My Title"}
@@ -308,7 +314,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
308
314
  #### `useMarkdownRenderer()` Hook
309
315
 
310
316
  ```tsx
311
- import { useMarkdownRenderer } from "preact-intlayer";
317
+ import { useMarkdownRenderer } from "preact-intlayer/markdown";
312
318
 
313
319
  const render = useMarkdownRenderer();
314
320
 
@@ -318,7 +324,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
318
324
  #### Utilitas `renderMarkdown()`
319
325
 
320
326
  ```tsx
321
- import { renderMarkdown } from "preact-intlayer";
327
+ import { renderMarkdown } from "preact-intlayer/markdown";
322
328
 
323
329
  return <div>{renderMarkdown("# My Title")}</div>;
324
330
  ```
@@ -328,7 +334,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
328
334
  #### Komponen `<MarkdownRenderer />`
329
335
 
330
336
  ```tsx
331
- import { MarkdownRenderer } from "solid-intlayer";
337
+ import { MarkdownRenderer } from "solid-intlayer/markdown";
332
338
 
333
339
  <MarkdownRenderer forceBlock={true}>
334
340
  {"# My Title"}
@@ -338,7 +344,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
338
344
  #### `useMarkdownRenderer()` Hook
339
345
 
340
346
  ```tsx
341
- import { useMarkdownRenderer } from "solid-intlayer";
347
+ import { useMarkdownRenderer } from "solid-intlayer/markdown";
342
348
 
343
349
  const render = useMarkdownRenderer();
344
350
 
@@ -348,7 +354,7 @@ Jika Anda perlu merender string Markdown mentah atau memiliki kontrol lebih atas
348
354
  #### Utilitas `renderMarkdown()`
349
355
 
350
356
  ```tsx
351
- import { renderMarkdown } from "solid-intlayer";
357
+ import { renderMarkdown } from "solid-intlayer/markdown";
352
358
 
353
359
  return <div>{renderMarkdown("# My Title")}</div>;
354
360
  ```
@@ -383,12 +389,10 @@ Anda dapat mengonfigurasi perenderan Markdown secara global untuk seluruh aplika
383
389
  <Tab label="React / Next.js" value="react">
384
390
 
385
391
  ```tsx fileName="AppProvider.tsx"
386
- import { MarkdownProvider } from "react-intlayer";
392
+ import { MarkdownProvider } from "react-intlayer/markdown";
387
393
 
388
394
  export const AppProvider = ({ children }) => (
389
395
  <MarkdownProvider
390
- forceBlock={true}
391
- tagfilter={true}
392
396
  components={{
393
397
  h1: ({ children }) => <h1 className="text-2xl font-bold">{children}</h1>,
394
398
  a: ({ href, children }) => <Link to={href}>{children}</Link>,
@@ -404,20 +408,20 @@ Anda dapat mengonfigurasi perenderan Markdown secara global untuk seluruh aplika
404
408
 
405
409
  ```typescript fileName="main.ts"
406
410
  import { createApp } from "vue";
407
- import { installIntlayer, installIntlayerMarkdown } from "vue-intlayer";
411
+ import { intlayer } from "vue-intlayer";
412
+ import { intlayerMarkdown } from "vue-intlayer/markdown";
408
413
  import App from "./App.vue";
409
414
 
410
415
  const app = createApp(App);
411
416
 
412
- app.use(installIntlayer);
413
- app.use(installIntlayerMarkdown, {
414
- forceBlock: true,
415
- tagfilter: true,
417
+ app.use(intlayer);
418
+ app.use(intlayerMarkdown, {
416
419
  components: {
417
- h1: {
418
- component: "h1",
419
- props: { class: "text-2xl font-bold" },
420
- },
420
+ h1: (props) =>
421
+ h('h1', { style: { color: 'orange' }, ...props }, props.children),
422
+ ComponentDemo: () => h('div', { style: { background: 'grey' } }, 'DEMO'),
423
+ bold: (props) => h('strong', props),
424
+ code: (props) => h('code', props),
421
425
  },
422
426
  });
423
427
 
@@ -429,13 +433,11 @@ Anda dapat mengonfigurasi perenderan Markdown secara global untuk seluruh aplika
429
433
 
430
434
  ```svelte fileName="App.svelte"
431
435
  <script lang="ts">
432
- import { MarkdownProvider } from "svelte-intlayer";
436
+ import { MarkdownProvider } from "svelte-intlayer/markdown";
433
437
  import MyHeading from "./MyHeading.svelte";
434
438
  </script>
435
439
 
436
440
  <MarkdownProvider
437
- forceBlock={true}
438
- tagfilter={true}
439
441
  components={{
440
442
  h1: MyHeading,
441
443
  }}
@@ -448,12 +450,10 @@ Anda dapat mengonfigurasi perenderan Markdown secara global untuk seluruh aplika
448
450
  <Tab label="Preact" value="preact">
449
451
 
450
452
  ```tsx fileName="AppProvider.tsx"
451
- import { MarkdownProvider } from "preact-intlayer";
453
+ import { MarkdownProvider } from "preact-intlayer/markdown";
452
454
 
453
455
  export const AppProvider = ({ children }) => (
454
456
  <MarkdownProvider
455
- forceBlock={true}
456
- tagfilter={true}
457
457
  components={{
458
458
  h1: ({ children }) => <h1 className="text-2xl font-bold">{children}</h1>,
459
459
  }}
@@ -467,12 +467,10 @@ Anda dapat mengonfigurasi perenderan Markdown secara global untuk seluruh aplika
467
467
  <Tab label="Solid" value="solid">
468
468
 
469
469
  ```tsx fileName="AppProvider.tsx"
470
- import { MarkdownProvider } from "solid-intlayer";
470
+ import { MarkdownProvider } from "solid-intlayer/markdown";
471
471
 
472
472
  export const AppProvider = (props) => (
473
473
  <MarkdownProvider
474
- forceBlock={true}
475
- tagfilter={true}
476
474
  components={{
477
475
  h1: (props) => <h1 className="text-2xl font-bold">{props.children}</h1>,
478
476
  }}
@@ -486,7 +484,7 @@ Anda dapat mengonfigurasi perenderan Markdown secara global untuk seluruh aplika
486
484
  <Tab label="Angular" value="angular">
487
485
 
488
486
  ```typescript fileName="app.config.ts"
489
- import { createIntlayerMarkdownProvider } from "angular-intlayer";
487
+ import { createIntlayerMarkdownProvider } from "angular-intlayer/markdown";
490
488
 
491
489
  export const appConfig: ApplicationConfig = {
492
490
  providers: [
@@ -14,7 +14,7 @@ slugs:
14
14
  - doc
15
15
  - environment
16
16
  - analog
17
- applicationTemplate: https://github.com/aymericzip/intlayer/tree/main/examples/analog-app-template
17
+ applicationTemplate: https://github.com/aymericzip/intlayer-analog-template
18
18
  history:
19
19
  - version: 8.0.4
20
20
  date: 2026-01-26
@@ -23,6 +23,14 @@ history:
23
23
 
24
24
  # Terjemahkan aplikasi Analog (Angular) Anda menggunakan Intlayer | Internasionalisasi (i18n)
25
25
 
26
+ <iframe
27
+ src="https://stackblitz.com/github/aymericzip/intlayer-analog-template?embed=1&ctl=1&file=intlayer.config.ts"
28
+ className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
29
+ title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
30
+ sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
31
+ loading="lazy"
32
+ />
33
+
26
34
  ## Daftar Isi
27
35
 
28
36
  <TOC/>
@@ -42,21 +50,7 @@ Dengan Intlayer, Anda dapat:
42
50
 
43
51
  ## Panduan Langkah demi Langkah untuk Menyiapkan Intlayer dalam Aplikasi Analog
44
52
 
45
- <Tabs defaultTab="code">
46
- <Tab label="Code" value="code">
47
-
48
- <iframe
49
- src="https://stackblitz.com/github/aymericzip/intlayer/tree/main/examples/vite-analog-app?embed=1&ctl=1&file=intlayer.config.ts"
50
- className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
51
- title="Demo CodeSandbox - How to Internationalize your application using Intlayer"
52
- sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
53
- loading="lazy"
54
- />
55
-
56
- </Tab>
57
- </Tabs>
58
-
59
- Lihat [Templat Aplikasi](https://github.com/aymericzip/intlayer/tree/main/examples/analog-app-template) di GitHub.
53
+ Lihat [Templat Aplikasi](https://github.com/aymericzip/intlayer-analog-template) di GitHub.
60
54
 
61
55
  ### Langkah 1: Instal Dependensi
62
56
 
@@ -273,17 +267,6 @@ import { useLocale } from "angular-intlayer";
273
267
  </select>
274
268
  </div>
275
269
  `,
276
- styles: [
277
- `
278
- .locale-switcher {
279
- margin: 1rem;
280
- padding: 0.5rem;
281
- border: 1px solid #ccc;
282
- border-radius: 4px;
283
- width: fit-content;
284
- }
285
- `,
286
- ],
287
270
  })
288
271
  export class LocaleSwitcherComponent {
289
272
  localeCtx = useLocale();
@@ -204,7 +204,7 @@ import { mergeConfig } from "angular-intlayer/webpack";
204
204
  export default mergeConfig({});
205
205
  ```
206
206
 
207
- > Fungsi `mergeConfig` mengonfigurasi Webpack dengan Intlayer. Ini menyuntikkan `IntlayerWebpackPlugin` (untuk menangani file deklarasi konten) dan mengatur alias untuk performa optimal.
207
+ > Fungsi `mergeConfig` mengonfigurasi Webpack dengan Intlayer. Ini menyuntikkan `IntlayerPlugin` (untuk menangani file deklarasi konten) dan mengatur alias untuk performa optimal.
208
208
 
209
209
  ### Langkah 4: Deklarasikan Konten Anda
210
210
 
@@ -331,17 +331,6 @@ import { useLocale } from "angular-intlayer";
331
331
  </select>
332
332
  </div>
333
333
  `,
334
- styles: [
335
- `
336
- .locale-switcher {
337
- margin: 1rem;
338
- padding: 0.5rem;
339
- border: 1px solid #ccc;
340
- border-radius: 4px;
341
- width: fit-content;
342
- }
343
- `,
344
- ],
345
334
  })
346
335
  export class LocaleSwitcherComponent {
347
336
  localeCtx = useLocale();
@@ -1472,7 +1472,7 @@ Link.displayName = "Link";
1472
1472
 
1473
1473
  import { getLocalizedUrl } from 'intlayer';
1474
1474
  import NextLink, { type LinkProps as NextLinkProps } from 'next/link';
1475
- import { useLocale } from 'next-intlayer';
1475
+ import { useLocale } from "next-intlayer";
1476
1476
  import { forwardRef, PropsWithChildren, type ForwardedRef } from 'react';
1477
1477
 
1478
1478
  /**
@@ -1320,7 +1320,7 @@ Link.displayName = "Link";
1320
1320
 
1321
1321
  import { getLocalizedUrl } from 'intlayer';
1322
1322
  import NextLink, { type LinkProps as NextLinkProps } from 'next/link';
1323
- import { useLocale } from 'next-intlayer';
1323
+ import { useLocale } from "next-intlayer";
1324
1324
  import { forwardRef, PropsWithChildren, type ForwardedRef } from 'react';
1325
1325
 
1326
1326
  /**
@@ -748,7 +748,12 @@ import { intlayer, intlayerProxy } from "vite-intlayer";
748
748
  import tsconfigPaths from "vite-tsconfig-paths";
749
749
 
750
750
  export default defineConfig({
751
- plugins: [reactRouter(), tsconfigPaths(), intlayer(), intlayerProxy()],
751
+ plugins: [
752
+ intlayerProxy(), // should be placed first
753
+ reactRouter(),
754
+ tsconfigPaths(),
755
+ intlayer(),
756
+ ],
752
757
  });
753
758
  ```
754
759
 
@@ -694,7 +694,12 @@ import { intlayer, intlayerProxy } from "vite-intlayer";
694
694
  import tsconfigPaths from "vite-tsconfig-paths";
695
695
 
696
696
  export default defineConfig({
697
- plugins: [reactRouter(), tsconfigPaths(), intlayer(), intlayerProxy()],
697
+ plugins: [
698
+ intlayerProxy(), // should be placed first
699
+ reactRouter(),
700
+ tsconfigPaths(),
701
+ intlayer(),
702
+ ],
698
703
  });
699
704
  ```
700
705
 
@@ -265,7 +265,7 @@ Untuk pengaturan Storybook berbasis Webpack (misalnya `@storybook/react-webpack5
265
265
 
266
266
  ```typescript fileName=".storybook/main.ts" codeFormat="typescript"
267
267
  import type { StorybookConfig } from "@storybook/react-webpack5";
268
- import { IntlayerWebpackPlugin } from "@intlayer/webpack";
268
+ import { IntlayerPlugin } from "@intlayer/webpack";
269
269
 
270
270
  const config: StorybookConfig = {
271
271
  stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
@@ -276,10 +276,7 @@ const config: StorybookConfig = {
276
276
  },
277
277
 
278
278
  webpackFinal: async (baseConfig) => {
279
- baseConfig.plugins = [
280
- ...(baseConfig.plugins ?? []),
281
- new IntlayerWebpackPlugin(),
282
- ];
279
+ baseConfig.plugins = [...(baseConfig.plugins ?? []), new IntlayerPlugin()];
283
280
  return baseConfig;
284
281
  },
285
282
  };
@@ -552,7 +552,7 @@ export const load: Load = ({ params }) => {
552
552
  ```svelte fileName="src/routes/[[locale=locale]]/+layout.svelte"
553
553
  <script lang="ts">
554
554
  import type { Snippet } from 'svelte';
555
- import { useIntlayer, setupIntlayer } from 'svelte-intlayer';
555
+ import { useIntlayer, setupIntlayer } from "svelte-intlayer";
556
556
  import Header from './Header.svelte';
557
557
  import type { LayoutData } from './$types';
558
558
 
@@ -591,7 +591,7 @@ export const prerender = true;
591
591
 
592
592
  ```svelte fileName="src/routes/[[locale=locale]]/+page.svelte"
593
593
  <script lang="ts">
594
- import { useIntlayer } from 'svelte-intlayer';
594
+ import { useIntlayer } from "svelte-intlayer";
595
595
 
596
596
  // Gunakan kamus konten home
597
597
  const homeContent = useIntlayer('home');
@@ -619,7 +619,7 @@ Untuk SEO, disarankan untuk menambahkan prefix locale pada rute Anda (misalnya,
619
619
  ```svelte fileName="src/lib/components/LocalizedLink.svelte"
620
620
  <script lang="ts">
621
621
  import { getLocalizedUrl } from "intlayer";
622
- import { useLocale } from 'svelte-intlayer';
622
+ import { useLocale } from "svelte-intlayer";
623
623
 
624
624
  let { href = "" } = $props();
625
625
  const { locale } = useLocale();
@@ -652,7 +652,7 @@ Untuk memungkinkan pengguna mengganti bahasa, perbarui URL.
652
652
  ```svelte fileName="src/lib/components/LanguageSwitcher.svelte"
653
653
  <script lang="ts">
654
654
  import { getLocalizedUrl, getLocaleName } from 'intlayer';
655
- import { useLocale } from 'svelte-intlayer';
655
+ import { useLocale } from "svelte-intlayer";
656
656
  import { page } from '$app/stores';
657
657
  import { goto } from '$app/navigation';
658
658
 
@@ -697,7 +697,11 @@ import { sveltekit } from "@sveltejs/kit/vite";
697
697
 
698
698
  // https://vitejs.dev/config/
699
699
  export default defineConfig({
700
- plugins: [intlayer(), intlayerProxy(), sveltekit()],
700
+ plugins: [
701
+ intlayerProxy(), // should be placed first
702
+ intlayer(),
703
+ sveltekit(),
704
+ ],],
701
705
  });
702
706
  ```
703
707