@intlayer/docs 8.3.0 → 8.3.2

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 (360) hide show
  1. package/blog/ar/i18n_using_next-i18next.md +1 -0
  2. package/blog/en-GB/next-i18next_vs_next-intl_vs_intlayer.md +0 -29
  3. package/blog/uk/internationalization_and_SEO.md +1 -1
  4. package/docs/ar/compiler.md +84 -49
  5. package/docs/ar/configuration.md +82 -58
  6. package/docs/ar/intlayer_with_analog.md +2 -2
  7. package/docs/ar/intlayer_with_angular.md +2 -2
  8. package/docs/ar/intlayer_with_astro.md +2 -2
  9. package/docs/ar/intlayer_with_lynx+react.md +2 -2
  10. package/docs/ar/intlayer_with_nextjs_16.md +174 -1
  11. package/docs/ar/intlayer_with_nextjs_compiler.md +174 -1
  12. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +4 -7
  13. package/docs/ar/intlayer_with_react_native+expo.md +2 -2
  14. package/docs/ar/intlayer_with_react_router_v7.md +224 -1
  15. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +225 -1
  16. package/docs/ar/intlayer_with_svelte_kit.md +175 -2
  17. package/docs/ar/intlayer_with_tanstack.md +176 -1
  18. package/docs/ar/intlayer_with_vite+preact.md +176 -3
  19. package/docs/ar/intlayer_with_vite+react.md +174 -1
  20. package/docs/ar/intlayer_with_vite+solid.md +176 -3
  21. package/docs/ar/intlayer_with_vite+svelte.md +176 -3
  22. package/docs/ar/intlayer_with_vite+vue.md +178 -5
  23. package/docs/ar/vs_code_extension.md +1 -1
  24. package/docs/de/compiler.md +83 -48
  25. package/docs/de/configuration.md +417 -214
  26. package/docs/de/intlayer_with_analog.md +2 -2
  27. package/docs/de/intlayer_with_angular.md +2 -2
  28. package/docs/de/intlayer_with_astro.md +2 -2
  29. package/docs/de/intlayer_with_lynx+react.md +2 -2
  30. package/docs/de/intlayer_with_nextjs_16.md +176 -1
  31. package/docs/de/intlayer_with_nextjs_compiler.md +106 -349
  32. package/docs/de/intlayer_with_react_native+expo.md +2 -2
  33. package/docs/de/intlayer_with_react_router_v7.md +225 -2
  34. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +221 -79
  35. package/docs/de/intlayer_with_svelte_kit.md +158 -2
  36. package/docs/de/intlayer_with_tanstack.md +159 -1
  37. package/docs/de/intlayer_with_vite+preact.md +159 -3
  38. package/docs/de/intlayer_with_vite+react.md +157 -1
  39. package/docs/de/intlayer_with_vite+solid.md +161 -5
  40. package/docs/de/intlayer_with_vite+svelte.md +159 -3
  41. package/docs/de/intlayer_with_vite+vue.md +159 -3
  42. package/docs/de/vs_code_extension.md +1 -1
  43. package/docs/en/compiler.md +60 -33
  44. package/docs/en/configuration.md +82 -77
  45. package/docs/en/intlayer_with_analog.md +1 -1
  46. package/docs/en/intlayer_with_angular.md +1 -1
  47. package/docs/en/intlayer_with_astro.md +1 -1
  48. package/docs/en/intlayer_with_lynx+react.md +1 -1
  49. package/docs/en/intlayer_with_nextjs_16.md +176 -0
  50. package/docs/en/intlayer_with_nextjs_compiler.md +179 -1
  51. package/docs/en/intlayer_with_react_native+expo.md +1 -1
  52. package/docs/en/intlayer_with_react_router_v7.md +159 -0
  53. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +159 -0
  54. package/docs/en/intlayer_with_svelte_kit.md +159 -0
  55. package/docs/en/intlayer_with_tanstack.md +160 -1
  56. package/docs/en/intlayer_with_vite+preact.md +160 -1
  57. package/docs/en/intlayer_with_vite+react.md +159 -0
  58. package/docs/en/intlayer_with_vite+solid.md +149 -28
  59. package/docs/en/intlayer_with_vite+svelte.md +160 -1
  60. package/docs/en/intlayer_with_vite+vue.md +143 -42
  61. package/docs/en/vs_code_extension.md +1 -1
  62. package/docs/en-GB/compiler.md +66 -34
  63. package/docs/en-GB/configuration.md +80 -57
  64. package/docs/en-GB/intlayer_with_analog.md +1 -1
  65. package/docs/en-GB/intlayer_with_angular.md +1 -1
  66. package/docs/en-GB/intlayer_with_astro.md +1 -1
  67. package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
  68. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  69. package/docs/en-GB/intlayer_with_vite+preact.md +1 -1
  70. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  71. package/docs/en-GB/intlayer_with_vite+solid.md +1 -1
  72. package/docs/en-GB/intlayer_with_vite+svelte.md +1 -1
  73. package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
  74. package/docs/en-GB/vs_code_extension.md +1 -1
  75. package/docs/es/compiler.md +83 -48
  76. package/docs/es/configuration.md +412 -208
  77. package/docs/es/intlayer_with_adonisjs.md +1 -1
  78. package/docs/es/intlayer_with_analog.md +2 -2
  79. package/docs/es/intlayer_with_angular.md +2 -2
  80. package/docs/es/intlayer_with_astro.md +2 -2
  81. package/docs/es/intlayer_with_express.md +1 -1
  82. package/docs/es/intlayer_with_fastify.md +1 -1
  83. package/docs/es/intlayer_with_hono.md +1 -1
  84. package/docs/es/intlayer_with_lynx+react.md +2 -2
  85. package/docs/es/intlayer_with_nestjs.md +1 -1
  86. package/docs/es/intlayer_with_nextjs_16.md +176 -3
  87. package/docs/es/intlayer_with_nextjs_compiler.md +175 -2
  88. package/docs/es/intlayer_with_nuxt.md +1 -1
  89. package/docs/es/intlayer_with_react_native+expo.md +2 -2
  90. package/docs/es/intlayer_with_react_router_v7.md +227 -4
  91. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +162 -4
  92. package/docs/es/intlayer_with_svelte_kit.md +158 -2
  93. package/docs/es/intlayer_with_tanstack.md +160 -2
  94. package/docs/es/intlayer_with_vite+preact.md +164 -8
  95. package/docs/es/intlayer_with_vite+react.md +160 -4
  96. package/docs/es/intlayer_with_vite+solid.md +165 -9
  97. package/docs/es/intlayer_with_vite+svelte.md +159 -3
  98. package/docs/es/intlayer_with_vite+vue.md +169 -13
  99. package/docs/es/vs_code_extension.md +1 -1
  100. package/docs/fr/compiler.md +81 -46
  101. package/docs/fr/configuration.md +351 -149
  102. package/docs/fr/intlayer_with_adonisjs.md +1 -1
  103. package/docs/fr/intlayer_with_analog.md +2 -2
  104. package/docs/fr/intlayer_with_angular.md +2 -2
  105. package/docs/fr/intlayer_with_astro.md +2 -2
  106. package/docs/fr/intlayer_with_express.md +1 -1
  107. package/docs/fr/intlayer_with_fastify.md +1 -1
  108. package/docs/fr/intlayer_with_hono.md +1 -1
  109. package/docs/fr/intlayer_with_lynx+react.md +2 -2
  110. package/docs/fr/intlayer_with_nestjs.md +1 -1
  111. package/docs/fr/intlayer_with_nextjs_16.md +183 -7
  112. package/docs/fr/intlayer_with_nextjs_compiler.md +179 -3
  113. package/docs/fr/intlayer_with_react_native+expo.md +2 -2
  114. package/docs/fr/intlayer_with_react_router_v7.md +229 -3
  115. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +237 -6
  116. package/docs/fr/intlayer_with_svelte_kit.md +158 -2
  117. package/docs/fr/intlayer_with_tanstack.md +159 -1
  118. package/docs/fr/intlayer_with_vite+preact.md +166 -10
  119. package/docs/fr/intlayer_with_vite+react.md +163 -7
  120. package/docs/fr/intlayer_with_vite+solid.md +165 -9
  121. package/docs/fr/intlayer_with_vite+svelte.md +159 -3
  122. package/docs/fr/intlayer_with_vite+vue.md +168 -12
  123. package/docs/fr/vs_code_extension.md +1 -1
  124. package/docs/hi/compiler.md +81 -46
  125. package/docs/hi/configuration.md +89 -65
  126. package/docs/hi/intlayer_with_analog.md +1 -1
  127. package/docs/hi/intlayer_with_angular.md +2 -2
  128. package/docs/hi/intlayer_with_astro.md +2 -2
  129. package/docs/hi/intlayer_with_lynx+react.md +2 -2
  130. package/docs/hi/intlayer_with_nextjs_16.md +174 -1
  131. package/docs/hi/intlayer_with_nextjs_compiler.md +174 -1
  132. package/docs/hi/intlayer_with_react_native+expo.md +2 -2
  133. package/docs/hi/intlayer_with_react_router_v7.md +224 -1
  134. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +225 -1
  135. package/docs/hi/intlayer_with_svelte_kit.md +158 -2
  136. package/docs/hi/intlayer_with_tanstack.md +159 -1
  137. package/docs/hi/intlayer_with_vite+preact.md +159 -3
  138. package/docs/hi/intlayer_with_vite+react.md +157 -1
  139. package/docs/hi/intlayer_with_vite+solid.md +159 -3
  140. package/docs/hi/intlayer_with_vite+svelte.md +159 -3
  141. package/docs/hi/intlayer_with_vite+vue.md +159 -3
  142. package/docs/hi/vs_code_extension.md +1 -1
  143. package/docs/id/compiler.md +84 -51
  144. package/docs/id/configuration.md +85 -65
  145. package/docs/id/intlayer_with_analog.md +2 -2
  146. package/docs/id/intlayer_with_angular.md +2 -2
  147. package/docs/id/intlayer_with_astro.md +2 -2
  148. package/docs/id/intlayer_with_lynx+react.md +2 -2
  149. package/docs/id/intlayer_with_nextjs_16.md +174 -1
  150. package/docs/id/intlayer_with_nextjs_compiler.md +174 -1
  151. package/docs/id/intlayer_with_react_native+expo.md +2 -2
  152. package/docs/id/intlayer_with_react_router_v7.md +224 -1
  153. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +225 -1
  154. package/docs/id/intlayer_with_svelte_kit.md +158 -2
  155. package/docs/id/intlayer_with_tanstack.md +159 -1
  156. package/docs/id/intlayer_with_vite+preact.md +159 -3
  157. package/docs/id/intlayer_with_vite+react.md +159 -3
  158. package/docs/id/intlayer_with_vite+solid.md +159 -3
  159. package/docs/id/intlayer_with_vite+svelte.md +159 -3
  160. package/docs/id/intlayer_with_vite+vue.md +159 -3
  161. package/docs/id/vs_code_extension.md +1 -1
  162. package/docs/it/compiler.md +81 -46
  163. package/docs/it/configuration.md +410 -208
  164. package/docs/it/intlayer_with_analog.md +2 -2
  165. package/docs/it/intlayer_with_angular.md +2 -2
  166. package/docs/it/intlayer_with_astro.md +2 -2
  167. package/docs/it/intlayer_with_lynx+react.md +2 -2
  168. package/docs/it/intlayer_with_nextjs_16.md +174 -1
  169. package/docs/it/intlayer_with_nextjs_compiler.md +174 -1
  170. package/docs/it/intlayer_with_react_native+expo.md +2 -2
  171. package/docs/it/intlayer_with_react_router_v7.md +225 -2
  172. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +226 -2
  173. package/docs/it/intlayer_with_svelte_kit.md +158 -2
  174. package/docs/it/intlayer_with_tanstack.md +159 -1
  175. package/docs/it/intlayer_with_vite+preact.md +159 -3
  176. package/docs/it/intlayer_with_vite+react.md +159 -3
  177. package/docs/it/intlayer_with_vite+solid.md +161 -5
  178. package/docs/it/intlayer_with_vite+svelte.md +159 -3
  179. package/docs/it/intlayer_with_vite+vue.md +161 -5
  180. package/docs/it/vs_code_extension.md +1 -1
  181. package/docs/ja/compiler.md +94 -58
  182. package/docs/ja/configuration.md +90 -66
  183. package/docs/ja/intlayer_with_analog.md +2 -2
  184. package/docs/ja/intlayer_with_angular.md +2 -2
  185. package/docs/ja/intlayer_with_astro.md +2 -2
  186. package/docs/ja/intlayer_with_lynx+react.md +2 -2
  187. package/docs/ja/intlayer_with_nextjs_16.md +174 -1
  188. package/docs/ja/intlayer_with_nextjs_compiler.md +174 -1
  189. package/docs/ja/intlayer_with_react_native+expo.md +2 -2
  190. package/docs/ja/intlayer_with_react_router_v7.md +184 -394
  191. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +226 -2
  192. package/docs/ja/intlayer_with_svelte_kit.md +119 -595
  193. package/docs/ja/intlayer_with_tanstack.md +131 -642
  194. package/docs/ja/intlayer_with_vite+preact.md +111 -1231
  195. package/docs/ja/intlayer_with_vite+react.md +129 -1304
  196. package/docs/ja/intlayer_with_vite+solid.md +161 -5
  197. package/docs/ja/intlayer_with_vite+svelte.md +159 -3
  198. package/docs/ja/intlayer_with_vite+vue.md +159 -3
  199. package/docs/ja/vs_code_extension.md +1 -1
  200. package/docs/ko/compiler.md +88 -52
  201. package/docs/ko/configuration.md +89 -65
  202. package/docs/ko/intlayer_with_analog.md +2 -2
  203. package/docs/ko/intlayer_with_angular.md +2 -2
  204. package/docs/ko/intlayer_with_astro.md +2 -2
  205. package/docs/ko/intlayer_with_lynx+react.md +2 -2
  206. package/docs/ko/intlayer_with_nextjs_16.md +174 -1
  207. package/docs/ko/intlayer_with_nextjs_compiler.md +174 -1
  208. package/docs/ko/intlayer_with_react_native+expo.md +2 -2
  209. package/docs/ko/intlayer_with_react_router_v7.md +225 -2
  210. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +226 -2
  211. package/docs/ko/intlayer_with_svelte_kit.md +158 -2
  212. package/docs/ko/intlayer_with_tanstack.md +159 -1
  213. package/docs/ko/intlayer_with_vite+preact.md +159 -3
  214. package/docs/ko/intlayer_with_vite+react.md +157 -1
  215. package/docs/ko/intlayer_with_vite+solid.md +161 -5
  216. package/docs/ko/intlayer_with_vite+svelte.md +159 -3
  217. package/docs/ko/intlayer_with_vite+vue.md +159 -3
  218. package/docs/ko/vs_code_extension.md +1 -1
  219. package/docs/pl/compiler.md +84 -51
  220. package/docs/pl/configuration.md +85 -57
  221. package/docs/pl/intlayer_with_analog.md +2 -2
  222. package/docs/pl/intlayer_with_angular.md +2 -2
  223. package/docs/pl/intlayer_with_astro.md +2 -2
  224. package/docs/pl/intlayer_with_lynx+react.md +2 -2
  225. package/docs/pl/intlayer_with_nextjs_16.md +174 -1
  226. package/docs/pl/intlayer_with_nextjs_compiler.md +174 -1
  227. package/docs/pl/intlayer_with_react_native+expo.md +2 -2
  228. package/docs/pl/intlayer_with_react_router_v7.md +224 -1
  229. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +225 -1
  230. package/docs/pl/intlayer_with_svelte_kit.md +158 -2
  231. package/docs/pl/intlayer_with_tanstack.md +159 -1
  232. package/docs/pl/intlayer_with_vite+preact.md +158 -2
  233. package/docs/pl/intlayer_with_vite+react.md +159 -3
  234. package/docs/pl/intlayer_with_vite+solid.md +159 -3
  235. package/docs/pl/intlayer_with_vite+svelte.md +159 -3
  236. package/docs/pl/intlayer_with_vite+vue.md +161 -5
  237. package/docs/pl/vs_code_extension.md +1 -1
  238. package/docs/pt/compiler.md +81 -46
  239. package/docs/pt/configuration.md +399 -199
  240. package/docs/pt/intlayer_with_analog.md +2 -2
  241. package/docs/pt/intlayer_with_angular.md +2 -2
  242. package/docs/pt/intlayer_with_astro.md +2 -2
  243. package/docs/pt/intlayer_with_lynx+react.md +2 -2
  244. package/docs/pt/intlayer_with_nextjs_16.md +174 -1
  245. package/docs/pt/intlayer_with_nextjs_compiler.md +174 -1
  246. package/docs/pt/intlayer_with_react_native+expo.md +2 -2
  247. package/docs/pt/intlayer_with_react_router_v7.md +224 -1
  248. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +225 -1
  249. package/docs/pt/intlayer_with_svelte_kit.md +158 -2
  250. package/docs/pt/intlayer_with_tanstack.md +159 -1
  251. package/docs/pt/intlayer_with_vite+preact.md +158 -2
  252. package/docs/pt/intlayer_with_vite+react.md +157 -1
  253. package/docs/pt/intlayer_with_vite+solid.md +159 -3
  254. package/docs/pt/intlayer_with_vite+svelte.md +159 -3
  255. package/docs/pt/intlayer_with_vite+vue.md +159 -3
  256. package/docs/pt/vs_code_extension.md +1 -1
  257. package/docs/ru/compiler.md +90 -57
  258. package/docs/ru/configuration.md +78 -67
  259. package/docs/ru/intlayer_with_analog.md +2 -2
  260. package/docs/ru/intlayer_with_angular.md +2 -2
  261. package/docs/ru/intlayer_with_astro.md +2 -2
  262. package/docs/ru/intlayer_with_lynx+react.md +2 -2
  263. package/docs/ru/intlayer_with_nextjs_16.md +174 -1
  264. package/docs/ru/intlayer_with_nextjs_compiler.md +174 -1
  265. package/docs/ru/intlayer_with_react_native+expo.md +2 -2
  266. package/docs/ru/intlayer_with_react_router_v7.md +224 -1
  267. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +225 -1
  268. package/docs/ru/intlayer_with_svelte_kit.md +158 -2
  269. package/docs/ru/intlayer_with_tanstack.md +159 -1
  270. package/docs/ru/intlayer_with_vite+preact.md +159 -3
  271. package/docs/ru/intlayer_with_vite+react.md +157 -1
  272. package/docs/ru/intlayer_with_vite+solid.md +159 -3
  273. package/docs/ru/intlayer_with_vite+svelte.md +159 -3
  274. package/docs/ru/intlayer_with_vite+vue.md +159 -3
  275. package/docs/ru/vs_code_extension.md +1 -1
  276. package/docs/tr/compiler.md +85 -52
  277. package/docs/tr/configuration.md +85 -61
  278. package/docs/tr/intlayer_with_analog.md +2 -2
  279. package/docs/tr/intlayer_with_angular.md +2 -2
  280. package/docs/tr/intlayer_with_astro.md +2 -2
  281. package/docs/tr/intlayer_with_lynx+react.md +2 -2
  282. package/docs/tr/intlayer_with_nextjs_16.md +174 -1
  283. package/docs/tr/intlayer_with_nextjs_compiler.md +174 -1
  284. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +6 -14
  285. package/docs/tr/intlayer_with_react_native+expo.md +2 -2
  286. package/docs/tr/intlayer_with_react_router_v7.md +224 -1
  287. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +225 -1
  288. package/docs/tr/intlayer_with_svelte_kit.md +158 -2
  289. package/docs/tr/intlayer_with_tanstack.md +159 -1
  290. package/docs/tr/intlayer_with_vite+preact.md +159 -3
  291. package/docs/tr/intlayer_with_vite+react.md +159 -3
  292. package/docs/tr/intlayer_with_vite+solid.md +159 -3
  293. package/docs/tr/intlayer_with_vite+svelte.md +159 -3
  294. package/docs/tr/intlayer_with_vite+vue.md +159 -3
  295. package/docs/tr/vs_code_extension.md +1 -1
  296. package/docs/uk/compiler.md +96 -61
  297. package/docs/uk/configuration.md +85 -57
  298. package/docs/uk/intlayer_with_analog.md +2 -2
  299. package/docs/uk/intlayer_with_angular.md +2 -2
  300. package/docs/uk/intlayer_with_astro.md +2 -2
  301. package/docs/uk/intlayer_with_lynx+react.md +2 -2
  302. package/docs/uk/intlayer_with_nextjs_16.md +174 -1
  303. package/docs/uk/intlayer_with_nextjs_compiler.md +174 -1
  304. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +4 -22
  305. package/docs/uk/intlayer_with_react_native+expo.md +2 -2
  306. package/docs/uk/intlayer_with_react_router_v7.md +224 -1
  307. package/docs/uk/intlayer_with_react_router_v7_fs_routes.md +225 -1
  308. package/docs/uk/intlayer_with_svelte_kit.md +157 -1
  309. package/docs/uk/intlayer_with_tanstack.md +159 -1
  310. package/docs/uk/intlayer_with_vite+preact.md +159 -3
  311. package/docs/uk/intlayer_with_vite+react.md +157 -1
  312. package/docs/uk/intlayer_with_vite+solid.md +159 -3
  313. package/docs/uk/intlayer_with_vite+svelte.md +159 -3
  314. package/docs/uk/intlayer_with_vite+vue.md +159 -3
  315. package/docs/uk/vs_code_extension.md +1 -1
  316. package/docs/vi/compiler.md +85 -50
  317. package/docs/vi/configuration.md +87 -59
  318. package/docs/vi/intlayer_with_analog.md +2 -2
  319. package/docs/vi/intlayer_with_angular.md +2 -2
  320. package/docs/vi/intlayer_with_astro.md +2 -2
  321. package/docs/vi/intlayer_with_lynx+react.md +2 -2
  322. package/docs/vi/intlayer_with_nextjs_16.md +174 -1
  323. package/docs/vi/intlayer_with_nextjs_compiler.md +174 -1
  324. package/docs/vi/intlayer_with_react_native+expo.md +2 -2
  325. package/docs/vi/intlayer_with_react_router_v7.md +224 -1
  326. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +225 -1
  327. package/docs/vi/intlayer_with_svelte_kit.md +158 -2
  328. package/docs/vi/intlayer_with_tanstack.md +159 -1
  329. package/docs/vi/intlayer_with_vite+preact.md +159 -3
  330. package/docs/vi/intlayer_with_vite+react.md +159 -3
  331. package/docs/vi/intlayer_with_vite+solid.md +159 -3
  332. package/docs/vi/intlayer_with_vite+svelte.md +159 -3
  333. package/docs/vi/intlayer_with_vite+vue.md +159 -3
  334. package/docs/vi/vs_code_extension.md +1 -1
  335. package/docs/zh/compiler.md +84 -49
  336. package/docs/zh/configuration.md +82 -58
  337. package/docs/zh/intlayer_with_adonisjs.md +1 -1
  338. package/docs/zh/intlayer_with_analog.md +2 -2
  339. package/docs/zh/intlayer_with_angular.md +2 -2
  340. package/docs/zh/intlayer_with_astro.md +2 -2
  341. package/docs/zh/intlayer_with_express.md +1 -1
  342. package/docs/zh/intlayer_with_fastify.md +1 -1
  343. package/docs/zh/intlayer_with_hono.md +1 -1
  344. package/docs/zh/intlayer_with_lynx+react.md +2 -2
  345. package/docs/zh/intlayer_with_nestjs.md +1 -1
  346. package/docs/zh/intlayer_with_nextjs_16.md +174 -1
  347. package/docs/zh/intlayer_with_nextjs_compiler.md +174 -1
  348. package/docs/zh/intlayer_with_react_native+expo.md +2 -2
  349. package/docs/zh/intlayer_with_react_router_v7.md +227 -4
  350. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +228 -4
  351. package/docs/zh/intlayer_with_svelte_kit.md +158 -2
  352. package/docs/zh/intlayer_with_tanstack.md +159 -1
  353. package/docs/zh/intlayer_with_vite+preact.md +161 -5
  354. package/docs/zh/intlayer_with_vite+react.md +157 -1
  355. package/docs/zh/intlayer_with_vite+solid.md +163 -7
  356. package/docs/zh/intlayer_with_vite+svelte.md +159 -3
  357. package/docs/zh/intlayer_with_vite+vue.md +162 -6
  358. package/docs/zh/vs_code_extension.md +2 -2
  359. package/package.json +8 -8
  360. package/docs/update_docs.py +0 -65
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
- updatedAt: 2025-12-30
3
+ updatedAt: 2026-03-12
4
4
  title: Vite + Svelte i18n - Come tradurre un'app Svelte nel 2026
5
5
  description: Scopri come rendere il tuo sito web Vite e Svelte multilingue. Segui la documentazione per internazionalizzare (i18n) e tradurlo.
6
6
  keywords:
@@ -473,8 +473,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo permette di evitare
473
473
 
474
474
  Per farlo, puoi aggiungere le seguenti istruzioni nel tuo file `.gitignore`:
475
475
 
476
- ```plaintext
477
- # Ignora i file generati da Intlayer
476
+ ```bash
477
+ # Ignora i file generati da Intlayer
478
478
  .intlayer
479
479
  ```
480
480
 
@@ -495,6 +495,162 @@ Per maggiori dettagli su come utilizzare l'estensione, consulta la [documentazio
495
495
 
496
496
  ---
497
497
 
498
+ ### (Opzionale) Passaggio 1 : Estrarre il contenuto dei tuoi componenti
499
+
500
+ Se hai una base di codice esistente, trasformare migliaia di file può richiedere molto tempo.
501
+
502
+ Per facilitare questo processo, Intlayer propone un [compilatore](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/compiler.md) / [estrattore](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/cli/extract.md) per trasformare i tuoi componenti ed estrarre il contenuto.
503
+
504
+ Per configurarlo, puoi aggiungere una sezione `compiler` nel tuo file `intlayer.config.ts`:
505
+
506
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
507
+ import { type IntlayerConfig } from "intlayer";
508
+
509
+ const config: IntlayerConfig = {
510
+ // ... Resto della tua configurazione
511
+ compiler: {
512
+ /**
513
+ * Indica se il compilatore deve essere abilitato.
514
+ */
515
+ enabled: true,
516
+
517
+ /**
518
+ * Definisce il percorso dei file di output
519
+ */
520
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
521
+
522
+ /**
523
+ * Indica se i componenti devono essere salvati dopo essere stati trasformati. In questo modo, il compilatore può essere eseguito solo una volta per trasformare l'app e poi rimosso.
524
+ */
525
+ saveComponents: false,
526
+
527
+ /**
528
+ * Prefisso chiave dizionario
529
+ */
530
+ dictionaryKeyPrefix: "",
531
+ },
532
+ };
533
+
534
+ export default config;
535
+ ```
536
+
537
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
538
+ /** @type {import('intlayer').IntlayerConfig} */
539
+ const config = {
540
+ // ... Resto della tua configurazione
541
+ compiler: {
542
+ /**
543
+ * Indica se il compilatore deve essere abilitato.
544
+ */
545
+ enabled: true,
546
+
547
+ /**
548
+ * Definisce il percorso dei file di output
549
+ */
550
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
551
+
552
+ /**
553
+ * Indica se i componenti devono essere salvati dopo essere stati trasformati. In questo modo, il compilatore può essere eseguito solo una volta per trasformare l'app e poi rimosso.
554
+ */
555
+ saveComponents: false,
556
+
557
+ /**
558
+ * Prefisso chiave dizionario
559
+ */
560
+ dictionaryKeyPrefix: "",
561
+ },
562
+ };
563
+
564
+ export default config;
565
+ ```
566
+
567
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
568
+ /** @type {import('intlayer').IntlayerConfig} */
569
+ const config = {
570
+ // ... Resto della tua configurazione
571
+ compiler: {
572
+ /**
573
+ * Indica se il compilatore deve essere abilitato.
574
+ */
575
+ enabled: true,
576
+
577
+ /**
578
+ * Definisce il percorso dei file di output
579
+ */
580
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
581
+
582
+ /**
583
+ * Indica se i componenti devono essere salvati dopo essere stati trasformati. In questo modo, il compilatore può essere eseguito solo una volta per trasformare l'app e poi rimosso.
584
+ */
585
+ saveComponents: false,
586
+
587
+ /**
588
+ * Prefisso chiave dizionario
589
+ */
590
+ dictionaryKeyPrefix: "",
591
+ },
592
+ };
593
+
594
+ module.exports = config;
595
+ ```
596
+
597
+ <Tabs>
598
+ <Tab value='Comando di estrazione'>
599
+
600
+ Esegui l'estrattore per trasformare i tuoi componenti ed estrarre il contenuto
601
+
602
+ ```bash packageManager="npm"
603
+ npx intlayer extract
604
+ ```
605
+
606
+ ```bash packageManager="pnpm"
607
+ pnpm intlayer extract
608
+ ```
609
+
610
+ ```bash packageManager="yarn"
611
+ yarn intlayer extract
612
+ ```
613
+
614
+ ```bash packageManager="bun"
615
+ bunx intlayer extract
616
+ ```
617
+
618
+ </Tab>
619
+ <Tab value='Compilatore Babel'>
620
+
621
+ Aggiorna il tuo `vite.config.ts` per includere il plugin `intlayerCompiler`:
622
+
623
+ ```ts fileName="vite.config.ts"
624
+ import { defineConfig } from "vite";
625
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
626
+
627
+ export default defineConfig({
628
+ plugins: [
629
+ intlayer(),
630
+ intlayerCompiler(), // Aggiunge il plugin del compilatore
631
+ ],
632
+ });
633
+ ```
634
+
635
+ ```bash packageManager="npm"
636
+ npm run build # Oppure npm run dev
637
+ ```
638
+
639
+ ```bash packageManager="pnpm"
640
+ pnpm run build # O pnpm run dev
641
+ ```
642
+
643
+ ```bash packageManager="yarn"
644
+ yarn build # O yarn dev
645
+ ```
646
+
647
+ ```bash packageManager="bun"
648
+ bun run build # Or bun run dev
649
+ ```
650
+
651
+ </Tab>
652
+ </Tabs>
653
+
498
654
  ### Vai oltre
499
655
 
500
656
  Per andare oltre, puoi implementare l'[editor visuale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_visual_editor.md) o esternalizzare i tuoi contenuti utilizzando il [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_CMS.md).
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-04-18
3
- updatedAt: 2025-12-30
3
+ updatedAt: 2026-03-12
4
4
  title: Vite + Vue i18n - Come tradurre un'app Vue nel 2026
5
5
  description: Scopri come rendere il tuo sito Vite e Vue multilingue. Segui la documentazione per internazionalizzare (i18n) e tradurlo.
6
6
  keywords:
@@ -1080,8 +1080,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo ti permette di evit
1080
1080
 
1081
1081
  Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
1082
1082
 
1083
- ```plaintext
1084
- # Ignora i file generati da Intlayer
1083
+ ```bash
1084
+ # Ignora i file generati da Intlayer
1085
1085
  .intlayer
1086
1086
  ```
1087
1087
 
@@ -1102,8 +1102,8 @@ Si consiglia di ignorare i file generati da Intlayer. Questo permette di evitare
1102
1102
 
1103
1103
  Per fare ciò, puoi aggiungere le seguenti istruzioni al tuo file `.gitignore`:
1104
1104
 
1105
- ```plaintext
1106
- # Ignora i file generati da Intlayer
1105
+ ```bash
1106
+ # Ignora i file generati da Intlayer
1107
1107
  .intlayer
1108
1108
  ```
1109
1109
 
@@ -1124,6 +1124,162 @@ Per maggiori dettagli su come utilizzare l’estensione, consulta la [documentaz
1124
1124
 
1125
1125
  ---
1126
1126
 
1127
+ ### (Opzionale) Passaggio 1 : Estrarre il contenuto dei tuoi componenti
1128
+
1129
+ Se hai una base di codice esistente, trasformare migliaia di file può richiedere molto tempo.
1130
+
1131
+ Per facilitare questo processo, Intlayer propone un [compilatore](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/compiler.md) / [estrattore](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/cli/extract.md) per trasformare i tuoi componenti ed estrarre il contenuto.
1132
+
1133
+ Per configurarlo, puoi aggiungere una sezione `compiler` nel tuo file `intlayer.config.ts`:
1134
+
1135
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
1136
+ import { type IntlayerConfig } from "intlayer";
1137
+
1138
+ const config: IntlayerConfig = {
1139
+ // ... Resto della tua configurazione
1140
+ compiler: {
1141
+ /**
1142
+ * Indica se il compilatore deve essere abilitato.
1143
+ */
1144
+ enabled: true,
1145
+
1146
+ /**
1147
+ * Definisce il percorso dei file di output
1148
+ */
1149
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
1150
+
1151
+ /**
1152
+ * Indica se i componenti devono essere salvati dopo essere stati trasformati. In questo modo, il compilatore può essere eseguito solo una volta per trasformare l'app e poi rimosso.
1153
+ */
1154
+ saveComponents: false,
1155
+
1156
+ /**
1157
+ * Prefisso chiave dizionario
1158
+ */
1159
+ dictionaryKeyPrefix: "",
1160
+ },
1161
+ };
1162
+
1163
+ export default config;
1164
+ ```
1165
+
1166
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
1167
+ /** @type {import('intlayer').IntlayerConfig} */
1168
+ const config = {
1169
+ // ... Resto della tua configurazione
1170
+ compiler: {
1171
+ /**
1172
+ * Indica se il compilatore deve essere abilitato.
1173
+ */
1174
+ enabled: true,
1175
+
1176
+ /**
1177
+ * Definisce il percorso dei file di output
1178
+ */
1179
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
1180
+
1181
+ /**
1182
+ * Indica se i componenti devono essere salvati dopo essere stati trasformati. In questo modo, il compilatore può essere eseguito solo una volta per trasformare l'app e poi rimosso.
1183
+ */
1184
+ saveComponents: false,
1185
+
1186
+ /**
1187
+ * Prefisso chiave dizionario
1188
+ */
1189
+ dictionaryKeyPrefix: "",
1190
+ },
1191
+ };
1192
+
1193
+ export default config;
1194
+ ```
1195
+
1196
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
1197
+ /** @type {import('intlayer').IntlayerConfig} */
1198
+ const config = {
1199
+ // ... Resto della tua configurazione
1200
+ compiler: {
1201
+ /**
1202
+ * Indica se il compilatore deve essere abilitato.
1203
+ */
1204
+ enabled: true,
1205
+
1206
+ /**
1207
+ * Definisce il percorso dei file di output
1208
+ */
1209
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
1210
+
1211
+ /**
1212
+ * Indica se i componenti devono essere salvati dopo essere stati trasformati. In questo modo, il compilatore può essere eseguito solo una volta per trasformare l'app e poi rimosso.
1213
+ */
1214
+ saveComponents: false,
1215
+
1216
+ /**
1217
+ * Prefisso chiave dizionario
1218
+ */
1219
+ dictionaryKeyPrefix: "",
1220
+ },
1221
+ };
1222
+
1223
+ module.exports = config;
1224
+ ```
1225
+
1226
+ <Tabs>
1227
+ <Tab value='Comando di estrazione'>
1228
+
1229
+ Esegui l'estrattore per trasformare i tuoi componenti ed estrarre il contenuto
1230
+
1231
+ ```bash packageManager="npm"
1232
+ npx intlayer extract
1233
+ ```
1234
+
1235
+ ```bash packageManager="pnpm"
1236
+ pnpm intlayer extract
1237
+ ```
1238
+
1239
+ ```bash packageManager="yarn"
1240
+ yarn intlayer extract
1241
+ ```
1242
+
1243
+ ```bash packageManager="bun"
1244
+ bunx intlayer extract
1245
+ ```
1246
+
1247
+ </Tab>
1248
+ <Tab value='Compilatore Babel'>
1249
+
1250
+ Aggiorna il tuo `vite.config.ts` per includere il plugin `intlayerCompiler`:
1251
+
1252
+ ```ts fileName="vite.config.ts"
1253
+ import { defineConfig } from "vite";
1254
+ import { intlayer, intlayerCompiler } from "vite-intlayer";
1255
+
1256
+ export default defineConfig({
1257
+ plugins: [
1258
+ intlayer(),
1259
+ intlayerCompiler(), // Aggiunge il plugin del compilatore
1260
+ ],
1261
+ });
1262
+ ```
1263
+
1264
+ ```bash packageManager="npm"
1265
+ npm run build # Oppure npm run dev
1266
+ ```
1267
+
1268
+ ```bash packageManager="pnpm"
1269
+ pnpm run build # O pnpm run dev
1270
+ ```
1271
+
1272
+ ```bash packageManager="yarn"
1273
+ yarn build # O yarn dev
1274
+ ```
1275
+
1276
+ ```bash packageManager="bun"
1277
+ bun run build # Or bun run dev
1278
+ ```
1279
+
1280
+ </Tab>
1281
+ </Tabs>
1282
+
1127
1283
  ### Approfondimenti
1128
1284
 
1129
1285
  Per approfondire, puoi implementare l’[editor visuale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_visual_editor.md) oppure esternalizzare i tuoi contenuti utilizzando il [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_CMS.md).
@@ -120,7 +120,7 @@ L'estensione può caricare le variabili d'ambiente dal tuo workspace per eseguir
120
120
 
121
121
  #### Selezione dell'ambiente attivo
122
122
 
123
- - **Palette dei Comandi**: apri la palette ed esegui `Intlayer: Select Environment`, quindi scegli l'ambiente (ad esempio, `development`, `staging`, `production`). L'estensione tenterà di caricare il primo file disponibile nella lista di priorità sopra indicata e mostrerà una notifica come “Caricato env da .env.<env>.local”.
123
+ - **Palette dei Comandi**: apri la palette ed esegui `Intlayer: Select Environment`, quindi scegli l'ambiente (ad esempio, `development`, `staging`, `production`). L'estensione tenterà di caricare il primo file disponibile nella lista di priorità sopra indicata e mostrerà una notifica come “Caricato env da `.env.<env>.local`”.
124
124
  - **Impostazioni**: vai su `Impostazioni → Estensioni → Intlayer`, e imposta:
125
125
  - **Ambiente**: il nome dell'ambiente usato per risolvere i file `.env.<env>*`.
126
126
  - (Opzionale) **File Env**: un percorso esplicito a un file `.env`. Quando fornito, ha la precedenza sulla lista dedotta.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2025-09-09
3
- updatedAt: 2026-03-10
3
+ updatedAt: 2026-03-12
4
4
  title: Intlayer コンパイラー | i18n のための自動コンテンツ抽出
5
5
  description: Intlayer コンパイラーで国際化プロセスを自動化しましょう。コンポーネントから直接コンテンツを抽出し、Vite、Next.js などでより高速かつ効率的な i18n を実現します。
6
6
  keywords:
@@ -21,8 +21,8 @@ slugs:
21
21
  - compiler
22
22
  history:
23
23
  - version: 8.2.0
24
- date: 2026-03-10
25
- changes: Update compiler options, add FilePathPattern support
24
+ date: 2026-03-09
25
+ changes: コンパイラーオプションの更新、FilePathPattern のサポート追加
26
26
  - version: 8.1.7
27
27
  date: 2026-02-25
28
28
  changes: コンパイラーオプションの更新
@@ -64,7 +64,7 @@ history:
64
64
 
65
65
  ### Vite
66
66
 
67
- Viteベースのアプリケーション(ReactVueSvelteなど)では、`vite-intlayer` プラグインを使うのが最も簡単な方法です。
67
+ Viteベースのアプリケーション(React, Vue, Svelteなど)では、`vite-intlayer` プラグインを使うのが最も簡単な方法です。
68
68
 
69
69
  #### インストール
70
70
 
@@ -83,7 +83,7 @@ import { intlayer, intlayerCompiler } from "vite-intlayer";
83
83
  export default defineConfig({
84
84
  plugins: [
85
85
  intlayer(),
86
- intlayerCompiler(), // コンパイラプラグインを追加
86
+ intlayerCompiler(), // コンパイラープラグインを追加
87
87
  ],
88
88
  });
89
89
  ```
@@ -98,7 +98,7 @@ Viteプラグインは自動的に異なるファイルタイプを検出し処
98
98
  - **Vue**: `@intlayer/vue-compiler` が必要です。
99
99
  - **Svelte**: `@intlayer/svelte-compiler` が必要です。
100
100
 
101
- 使用しているフレームワークに応じて、適切なコンパイラパッケージをインストールしてください:
101
+ 使用しているフレームワークに応じて、適切なコンパイラーパッケージをインストールしてください:
102
102
 
103
103
  ```bash
104
104
  # Vue用
@@ -113,7 +113,7 @@ npm install @intlayer/svelte-compiler
113
113
 
114
114
  ### Next.js (Babel)
115
115
 
116
- Next.jsやその他のWebpackベースのBabelを使用するアプリケーションでは、`@intlayer/babel`プラグインを使ってコンパイラを設定できます。
116
+ Next.jsやその他の Webpack ベースの Babel を使用するアプリケーションでは、`@intlayer/babel`プラグインを使ってコンパイラーを設定できます。
117
117
 
118
118
  #### インストール
119
119
 
@@ -136,9 +136,9 @@ const {
136
136
  module.exports = {
137
137
  presets: ["next/babel"],
138
138
  plugins: [
139
- // Extract content from components into dictionaries
139
+ // コンポーネントからコンテンツを抽出して辞書に変換
140
140
  [intlayerExtractBabelPlugin, getExtractPluginOptions()],
141
- // Optimize imports by replacing useIntlayer with direct dictionary imports
141
+ // useIntlayer を直接辞書インポートに置き換えてインポートを最適化
142
142
  [intlayerOptimizeBabelPlugin, getOptimizePluginOptions()],
143
143
  ],
144
144
  };
@@ -149,112 +149,125 @@ module.exports = {
149
149
  See complete tutorial: [Intlayer Compiler with Next.js](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_nextjs_compiler.md)
150
150
 
151
151
  </Tab>
152
+ </Tabs>
152
153
 
153
154
  ### カスタム設定
154
155
 
155
- コンパイラの動作をカスタマイズするには、プロジェクトのルートにある `intlayer.config.ts` ファイルを更新します。
156
+ コンパイラーの動作をカスタマイズするには、プロジェクトのルートにある `intlayer.config.ts` ファイルを更新します。
156
157
 
157
- ```ts fileName="intlayer.config.ts"
158
+ ````ts fileName="intlayer.config.ts"
158
159
  import { type IntlayerConfig, Locales } from "intlayer";
159
160
 
160
161
  const config: IntlayerConfig = {
161
162
  compiler: {
162
163
  /**
163
- * 開発中のコンパイラをスキップして起動時間を短縮するには、'build-only'に設定します。
164
+ * コンパイラーを有効にするかどうかを示します。
165
+ * 開発中のコンパイラーをスキップして起動時間を短縮するには、'build-only'に設定します。
164
166
  */
165
167
  enabled: true,
166
168
 
167
169
  /**
168
- * Pattern to traverse the code to optimize.
170
+ * 出力ファイルのパスを定義します。 `outputDir` を置き換えます。
171
+ *
172
+ * - `./` で始まるパスは、コンポーネントディレクトリを基準に解決されます。
173
+ * - `/` で始まるパスは、プロジェクトのルート (`baseDir`) を基準に解決されます。
174
+ *
175
+ * - パスに `{{locale}}` 変数を含めると、言語ごとに分離された辞書の生成が有効になります。
176
+ *
177
+ * 例:
178
+ * ```ts
179
+ * {
180
+ * // コンポーネントの隣に多言語対応の .content.ts ファイルを作成
181
+ * output: ({ fileName, extension }) => `./${fileName}${extension}`,
182
+ *
183
+ * // output: './{{fileName}}{{extension}}', // 文字列テンプレートを使用した同等の記述
184
+ * }
185
+ * ```
186
+ *
187
+ * ```ts
188
+ * {
189
+ * // プロジェクトのルートに言語ごとに集約された JSON ファイルを作成
190
+ * output: ({ key, locale }) => `/locales/${locale}/${key}.content.json`,
191
+ *
192
+ * // output: '/locales/{{locale}}/{{key}}.content.json', // 文字列テンプレートを使用した同等の記述
193
+ * }
194
+ * ```
195
+ *
196
+ * 変数リスト:
197
+ * - `fileName`: ファイル名。
198
+ * - `key`: コンテンツのキー。
199
+ * - `locale`: コンテンツのロケール。
200
+ * - `extension`: ファイル拡張子。
201
+ * - `componentFileName`: コンポーネントファイル名。
202
+ * - `componentExtension`: コンポーネント拡張子。
203
+ * - `format`: 辞書の形式。
204
+ * - `componentFormat`: コンポーネント辞書の形式。
205
+ * - `componentDirPath`: コンポーネントのディレクトリパス。
169
206
  */
170
- transformPattern: [
171
- "**/*.{js,ts,mjs,cjs,jsx,tsx,vue,svelte}",
172
- "!**/node_modules/**",
173
- ],
207
+ output: ({ fileName, extension }) => `./${fileName}${extension}`,
174
208
 
175
209
  /**
176
- * Pattern to exclude from the optimization.
177
- */
178
- excludePattern: ["**/node_modules/**"],
179
-
180
- /**
181
- * 最適化された辞書の出力ディレクトリ。
210
+ * 変換後にコンポーネントを保存するかどうかを示します。
211
+ * これにより、コンパイラーを1回だけ実行してアプリを変換し、その後削除することができます。
182
212
  */
183
- output: ({ locale, key }) => `compiler/${locale}/${key}.json`,
213
+ saveComponents: false,
184
214
 
185
215
  /**
186
- * キーなしで、生成されたファイルにコンテンツのみを挿入します。
216
+ * 生成されたファイルにコンテンツのみを挿入します。ロケールごとの i18next または ICU MessageFormat JSON 出力に有用です。
217
+ *
218
+ * - `output: ({ locale, key }) => `./locale/${locale}/${key}.json`,`
187
219
  */
188
220
  noMetadata: false,
189
221
 
190
222
  /**
191
223
  * 辞書キーのプレフィックス
192
224
  */
193
- dictionaryKeyPrefix: "", // Remove base prefix
194
-
195
- /**
196
- * 変換後にコンポーネントを保存するかどうかを示します。
197
- * これにより、コンパイラを1回だけ実行してアプリを変換し、その後削除することができます。
198
- */
199
- saveComponents: false,
225
+ dictionaryKeyPrefix: "", // 抽出された辞書キーにオプションのプレフィックスを追加
200
226
  },
201
227
  };
202
228
 
203
229
  export default config;
204
- ```
205
-
206
- ### 欠落した翻訳を埋める
207
-
208
- Intlayerは、欠落した翻訳を埋めるためのCLIツールを提供しています。`intlayer`コマンドを使用して、コード内の欠落した翻訳をテストし、埋めることができます。
209
-
210
- ```bash
211
- npx intlayer test # 欠落した翻訳があるかテストする
212
- ```
213
-
214
- ```bash
215
- npx intlayer fill # 欠落した翻訳を埋める
216
- ```
230
+ ````
217
231
 
218
- > 詳細については、[CLIドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/ci.md)を参照してください。
219
-
220
- ### コンパイラ設定リファレンス
232
+ ### コンパイラー設定リファレンス
221
233
 
222
234
  以下のプロパティは、`intlayer.config.ts`ファイルの`compiler`ブロックで設定できます。
223
235
 
224
236
  - **enabled**:
225
237
  - _タイプ_: `boolean | 'build-only'`
226
238
  - _デフォルト_: `true`
227
- - _説明_: コンパイラを有効にするかどうかを示します。
239
+ - _説明_: コンパイラーを有効にするかどうかを示します。
240
+
228
241
  - **dictionaryKeyPrefix**:
229
242
  - _タイプ_: `string`
230
- - _デフォルト_: `'comp-'`
243
+ - _デフォルト_: `''`
231
244
  - _説明_: 抽出された辞書キーのプレフィックス。
245
+
232
246
  - **transformPattern**:
233
247
  - _タイプ_: `string | string[]`
234
248
  - _デフォルト_: `['**/*.{js,ts,mjs,cjs,jsx,tsx,vue,svelte}', '!**/node_modules/**']`
235
- - _説明_: 最適化のためにコードをトラバースするパターン。
249
+ - _説明_: (非推奨: 代わりに `build.traversePattern` を使用) 最適化のためにコードをトラバースするパターン。
250
+
236
251
  - **excludePattern**:
237
252
  - _タイプ_: `string | string[]`
238
253
  - _デフォルト_: `['**/node_modules/**']`
239
- - _説明_: 最適化から除外するパターン。
240
- - **outputDir** (Deprecated):
241
- - _タイプ_: `string`
242
- - _デフォルト_: `'compiler'`
243
- - _説明_: 抽出された辞書が保存されるディレクトリ。
254
+ - _説明_: (非推奨: 代わりに `build.traversePattern` を使用) 最適化から除外するパターン。
244
255
 
245
256
  - **output**:
246
257
  - _型_: `FilePathPattern`
247
258
  - _デフォルト_: `({ key }) => 'compiler/${key}.content.json'`
248
259
  - _説明_: 出力ファイルのパスを定義します。 `outputDir` を置き換えます。 `{{locale}}`、 `{{key}}`、 `{{fileName}}`、 `{{extension}}`、 `{{format}}`、 `{{dirPath}}`、 `{{componentFileName}}`、 `{{componentExtension}}`、 `{{componentFormat}}` などの動的変数を処理します。 `'my/{{var}}/path'` 形式の文字列または関数として設定できます。
249
260
  - _注_: `./**/*` パスはコンポーネントを基準に解決されます。 `/**/*` パスは Intlayer の `baseDir` を基準に解決されます。
261
+ - _注_: パスにロケールが定義されている場合、辞書はロケールごとに生成されます。
250
262
  - _例_: `output: ({ locale, key }) => 'compiler/${locale}/${key}.json'`
251
263
 
252
264
  - **noMetadata**:
253
265
  - _タイプ_: `boolean`
254
266
  - _デフォルト_: `false`
255
- - _説明_: メタデータをファイルに保存するかどうかを示します。trueの場合、コンパイラは辞書のメタデータ(キー、コンテンツラッパー)を保存しません。
267
+ - _説明_: メタデータをファイルに保存するかどうかを示します。trueの場合、コンパイラーは辞書のメタデータ(キー、コンテンツラッパー)を保存しません。
256
268
  - _注_: `loadJSON`プラグインを使用する場合に便利です。
257
- - _例_: `true`の場合:
269
+ - _例_:
270
+ `true`の場合:
258
271
  ```json
259
272
  {
260
273
  "key": "value"
@@ -274,3 +287,26 @@ npx intlayer fill # 欠落した翻訳を埋める
274
287
  - _タイプ_: `boolean`
275
288
  - _デフォルト_: `false`
276
289
  - _説明_: 変換後にコンポーネントを保存するかどうかを示します。
290
+
291
+ ### 欠落した翻訳を埋める
292
+
293
+ Intlayerは、欠落した翻訳を埋めるためのCLIツールを提供しています。`intlayer`コマンドを使用して、コード内の欠落した翻訳をテストし、埋めることができます。
294
+
295
+ ```bash
296
+ npx intlayer test # 欠落した翻訳があるかテストする
297
+ ```
298
+
299
+ ```bash
300
+ npx intlayer fill # 欠落した翻訳を埋める
301
+ ```
302
+
303
+ ### 抽出
304
+
305
+ Intlayerは、コードからコンテンツを抽出するためのCLIツールを提供しています。`intlayer extract`コマンドを使用して、コードからコンテンツを抽出できます。
306
+
307
+ ```bash
308
+ npx intlayer extract
309
+ ```
310
+
311
+ > 詳細については、[CLIドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/index.md)
312
+ > を参照してください。