@intlayer/docs 8.1.9 → 8.1.10

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 (297) hide show
  1. package/docs/ar/how_works_intlayer.md +1 -1
  2. package/docs/ar/index.md +1 -1
  3. package/docs/ar/intlayer_with_astro.md +2 -2
  4. package/docs/ar/intlayer_with_create_react_app.md +2 -2
  5. package/docs/ar/intlayer_with_express.md +1 -1
  6. package/docs/ar/intlayer_with_lynx+react.md +1 -1
  7. package/docs/ar/intlayer_with_nextjs_14.md +2 -2
  8. package/docs/ar/intlayer_with_nextjs_15.md +2 -2
  9. package/docs/ar/intlayer_with_nextjs_page_router.md +3 -3
  10. package/docs/ar/intlayer_with_react_native+expo.md +1 -1
  11. package/docs/ar/intlayer_with_react_router_v7.md +3 -3
  12. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -3
  13. package/docs/ar/intlayer_with_vite+solid.md +2 -2
  14. package/docs/ar/intlayer_with_vite+vue.md +2 -2
  15. package/docs/ar/introduction.md +1 -1
  16. package/docs/ar/packages/next-intlayer/useDictionary.md +1 -1
  17. package/docs/ar/packages/next-intlayer/useIntlayer.md +1 -1
  18. package/docs/ar/packages/react-intlayer/useDictionary.md +1 -1
  19. package/docs/ar/packages/react-intlayer/useI18n.md +1 -1
  20. package/docs/ar/packages/react-intlayer/useIntlayer.md +1 -1
  21. package/docs/ar/plugins/sync-json.md +10 -6
  22. package/docs/ar/roadmap.md +1 -1
  23. package/docs/de/how_works_intlayer.md +1 -1
  24. package/docs/de/index.md +1 -1
  25. package/docs/de/intlayer_with_astro.md +2 -2
  26. package/docs/de/intlayer_with_create_react_app.md +2 -2
  27. package/docs/de/intlayer_with_express.md +1 -1
  28. package/docs/de/intlayer_with_lynx+react.md +1 -1
  29. package/docs/de/intlayer_with_nextjs_14.md +2 -2
  30. package/docs/de/intlayer_with_nextjs_15.md +2 -2
  31. package/docs/de/intlayer_with_nextjs_page_router.md +3 -3
  32. package/docs/de/intlayer_with_react_native+expo.md +1 -1
  33. package/docs/de/intlayer_with_react_router_v7.md +3 -3
  34. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +3 -3
  35. package/docs/de/intlayer_with_vite+preact.md +2 -2
  36. package/docs/de/intlayer_with_vite+solid.md +2 -2
  37. package/docs/de/intlayer_with_vite+vue.md +2 -2
  38. package/docs/de/introduction.md +1 -1
  39. package/docs/de/packages/next-intlayer/useDictionary.md +1 -1
  40. package/docs/de/packages/next-intlayer/useIntlayer.md +1 -1
  41. package/docs/de/packages/react-intlayer/useDictionary.md +1 -1
  42. package/docs/de/packages/react-intlayer/useI18n.md +1 -1
  43. package/docs/de/packages/react-intlayer/useIntlayer.md +1 -1
  44. package/docs/de/plugins/sync-json.md +10 -6
  45. package/docs/de/roadmap.md +1 -1
  46. package/docs/en/configuration.md +26 -10
  47. package/docs/en-GB/how_works_intlayer.md +1 -1
  48. package/docs/en-GB/index.md +1 -1
  49. package/docs/en-GB/intlayer_with_astro.md +2 -2
  50. package/docs/en-GB/intlayer_with_create_react_app.md +3 -3
  51. package/docs/en-GB/intlayer_with_express.md +1 -1
  52. package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
  53. package/docs/en-GB/intlayer_with_nextjs_15.md +2 -2
  54. package/docs/en-GB/intlayer_with_nextjs_page_router.md +3 -3
  55. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  56. package/docs/en-GB/intlayer_with_react_router_v7.md +3 -3
  57. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +3 -3
  58. package/docs/en-GB/intlayer_with_tanstack.md +3 -3
  59. package/docs/en-GB/intlayer_with_vite+preact.md +2 -2
  60. package/docs/en-GB/intlayer_with_vite+solid.md +2 -2
  61. package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
  62. package/docs/en-GB/introduction.md +1 -1
  63. package/docs/en-GB/packages/next-intlayer/useDictionary.md +1 -1
  64. package/docs/en-GB/packages/next-intlayer/useIntlayer.md +1 -1
  65. package/docs/en-GB/packages/react-intlayer/useDictionary.md +1 -1
  66. package/docs/en-GB/packages/react-intlayer/useI18n.md +1 -1
  67. package/docs/en-GB/plugins/sync-json.md +10 -6
  68. package/docs/en-GB/roadmap.md +1 -1
  69. package/docs/es/how_works_intlayer.md +1 -1
  70. package/docs/es/index.md +1 -1
  71. package/docs/es/intlayer_with_astro.md +2 -2
  72. package/docs/es/intlayer_with_create_react_app.md +2 -2
  73. package/docs/es/intlayer_with_express.md +1 -1
  74. package/docs/es/intlayer_with_lynx+react.md +1 -1
  75. package/docs/es/intlayer_with_nextjs_14.md +2 -2
  76. package/docs/es/intlayer_with_nextjs_15.md +2 -2
  77. package/docs/es/intlayer_with_nextjs_page_router.md +3 -3
  78. package/docs/es/intlayer_with_react_native+expo.md +1 -1
  79. package/docs/es/intlayer_with_react_router_v7.md +3 -3
  80. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +3 -3
  81. package/docs/es/intlayer_with_vite+preact.md +2 -2
  82. package/docs/es/intlayer_with_vite+solid.md +2 -2
  83. package/docs/es/intlayer_with_vite+vue.md +2 -2
  84. package/docs/es/introduction.md +1 -1
  85. package/docs/es/packages/next-intlayer/useDictionary.md +1 -1
  86. package/docs/es/packages/next-intlayer/useIntlayer.md +1 -1
  87. package/docs/es/packages/react-intlayer/useDictionary.md +1 -1
  88. package/docs/es/packages/react-intlayer/useI18n.md +1 -1
  89. package/docs/es/packages/react-intlayer/useIntlayer.md +1 -1
  90. package/docs/es/plugins/sync-json.md +10 -6
  91. package/docs/es/roadmap.md +1 -1
  92. package/docs/fr/how_works_intlayer.md +1 -1
  93. package/docs/fr/index.md +1 -1
  94. package/docs/fr/intlayer_with_astro.md +2 -2
  95. package/docs/fr/intlayer_with_create_react_app.md +2 -2
  96. package/docs/fr/intlayer_with_express.md +1 -1
  97. package/docs/fr/intlayer_with_lynx+react.md +1 -1
  98. package/docs/fr/intlayer_with_nextjs_14.md +2 -2
  99. package/docs/fr/intlayer_with_nextjs_15.md +2 -2
  100. package/docs/fr/intlayer_with_nextjs_page_router.md +3 -3
  101. package/docs/fr/intlayer_with_react_native+expo.md +1 -1
  102. package/docs/fr/intlayer_with_react_router_v7.md +3 -3
  103. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -3
  104. package/docs/fr/intlayer_with_vite+preact.md +2 -2
  105. package/docs/fr/intlayer_with_vite+solid.md +2 -2
  106. package/docs/fr/intlayer_with_vite+vue.md +2 -2
  107. package/docs/fr/introduction.md +1 -1
  108. package/docs/fr/packages/next-intlayer/useDictionary.md +1 -1
  109. package/docs/fr/packages/next-intlayer/useIntlayer.md +1 -1
  110. package/docs/fr/packages/react-intlayer/useDictionary.md +1 -1
  111. package/docs/fr/packages/react-intlayer/useI18n.md +1 -1
  112. package/docs/fr/packages/react-intlayer/useIntlayer.md +1 -1
  113. package/docs/fr/plugins/sync-json.md +10 -6
  114. package/docs/fr/roadmap.md +1 -1
  115. package/docs/hi/how_works_intlayer.md +1 -1
  116. package/docs/hi/index.md +1 -1
  117. package/docs/hi/intlayer_with_astro.md +2 -2
  118. package/docs/hi/intlayer_with_create_react_app.md +2 -2
  119. package/docs/hi/intlayer_with_express.md +1 -1
  120. package/docs/hi/intlayer_with_lynx+react.md +1 -1
  121. package/docs/hi/intlayer_with_nextjs_14.md +2 -2
  122. package/docs/hi/intlayer_with_nextjs_15.md +2 -2
  123. package/docs/hi/intlayer_with_nextjs_page_router.md +3 -3
  124. package/docs/hi/intlayer_with_react_native+expo.md +1 -1
  125. package/docs/hi/intlayer_with_react_router_v7.md +3 -3
  126. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +3 -3
  127. package/docs/hi/intlayer_with_vite+preact.md +1 -1
  128. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  129. package/docs/hi/intlayer_with_vite+vue.md +2 -2
  130. package/docs/hi/introduction.md +1 -1
  131. package/docs/hi/packages/next-intlayer/useDictionary.md +1 -1
  132. package/docs/hi/packages/next-intlayer/useIntlayer.md +1 -1
  133. package/docs/hi/packages/react-intlayer/useDictionary.md +1 -1
  134. package/docs/hi/packages/react-intlayer/useI18n.md +1 -1
  135. package/docs/hi/packages/react-intlayer/useIntlayer.md +1 -1
  136. package/docs/hi/plugins/sync-json.md +10 -6
  137. package/docs/hi/roadmap.md +1 -1
  138. package/docs/id/configuration.md +20 -8
  139. package/docs/id/intlayer_with_vite+preact.md +1 -1
  140. package/docs/id/plugins/sync-json.md +10 -6
  141. package/docs/it/how_works_intlayer.md +1 -1
  142. package/docs/it/index.md +1 -1
  143. package/docs/it/intlayer_with_astro.md +2 -2
  144. package/docs/it/intlayer_with_create_react_app.md +2 -2
  145. package/docs/it/intlayer_with_express.md +1 -1
  146. package/docs/it/intlayer_with_lynx+react.md +1 -1
  147. package/docs/it/intlayer_with_nextjs_14.md +2 -2
  148. package/docs/it/intlayer_with_nextjs_15.md +2 -2
  149. package/docs/it/intlayer_with_nextjs_page_router.md +3 -3
  150. package/docs/it/intlayer_with_react_native+expo.md +1 -1
  151. package/docs/it/intlayer_with_react_router_v7.md +3 -3
  152. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -3
  153. package/docs/it/intlayer_with_vite+preact.md +2 -2
  154. package/docs/it/intlayer_with_vite+solid.md +2 -2
  155. package/docs/it/intlayer_with_vite+vue.md +2 -2
  156. package/docs/it/introduction.md +1 -1
  157. package/docs/it/packages/next-intlayer/useDictionary.md +1 -1
  158. package/docs/it/packages/next-intlayer/useIntlayer.md +1 -1
  159. package/docs/it/packages/react-intlayer/useDictionary.md +1 -1
  160. package/docs/it/packages/react-intlayer/useI18n.md +1 -1
  161. package/docs/it/packages/react-intlayer/useIntlayer.md +1 -1
  162. package/docs/it/plugins/sync-json.md +10 -6
  163. package/docs/it/roadmap.md +1 -1
  164. package/docs/ja/how_works_intlayer.md +1 -1
  165. package/docs/ja/index.md +1 -1
  166. package/docs/ja/intlayer_with_astro.md +2 -2
  167. package/docs/ja/intlayer_with_create_react_app.md +2 -2
  168. package/docs/ja/intlayer_with_express.md +1 -1
  169. package/docs/ja/intlayer_with_lynx+react.md +1 -1
  170. package/docs/ja/intlayer_with_nextjs_14.md +2 -2
  171. package/docs/ja/intlayer_with_nextjs_15.md +2 -2
  172. package/docs/ja/intlayer_with_nextjs_page_router.md +3 -3
  173. package/docs/ja/intlayer_with_react_native+expo.md +1 -1
  174. package/docs/ja/intlayer_with_react_router_v7.md +3 -3
  175. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -3
  176. package/docs/ja/intlayer_with_vite+preact.md +2 -2
  177. package/docs/ja/intlayer_with_vite+solid.md +2 -2
  178. package/docs/ja/intlayer_with_vite+vue.md +2 -2
  179. package/docs/ja/introduction.md +1 -1
  180. package/docs/ja/packages/next-intlayer/useDictionary.md +1 -1
  181. package/docs/ja/packages/next-intlayer/useIntlayer.md +1 -1
  182. package/docs/ja/packages/react-intlayer/useDictionary.md +1 -1
  183. package/docs/ja/packages/react-intlayer/useI18n.md +1 -1
  184. package/docs/ja/packages/react-intlayer/useIntlayer.md +1 -1
  185. package/docs/ja/plugins/sync-json.md +10 -6
  186. package/docs/ja/roadmap.md +1 -1
  187. package/docs/ko/how_works_intlayer.md +1 -1
  188. package/docs/ko/index.md +1 -1
  189. package/docs/ko/intlayer_with_astro.md +2 -2
  190. package/docs/ko/intlayer_with_create_react_app.md +2 -2
  191. package/docs/ko/intlayer_with_express.md +1 -1
  192. package/docs/ko/intlayer_with_lynx+react.md +1 -1
  193. package/docs/ko/intlayer_with_nextjs_14.md +2 -2
  194. package/docs/ko/intlayer_with_nextjs_15.md +3 -3
  195. package/docs/ko/intlayer_with_nextjs_page_router.md +3 -3
  196. package/docs/ko/intlayer_with_react_native+expo.md +1 -1
  197. package/docs/ko/intlayer_with_react_router_v7.md +3 -3
  198. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -3
  199. package/docs/ko/intlayer_with_vite+preact.md +1 -1
  200. package/docs/ko/intlayer_with_vite+solid.md +2 -2
  201. package/docs/ko/intlayer_with_vite+vue.md +2 -2
  202. package/docs/ko/introduction.md +1 -1
  203. package/docs/ko/packages/next-intlayer/useDictionary.md +1 -1
  204. package/docs/ko/packages/next-intlayer/useIntlayer.md +1 -1
  205. package/docs/ko/packages/react-intlayer/useDictionary.md +1 -1
  206. package/docs/ko/packages/react-intlayer/useI18n.md +1 -1
  207. package/docs/ko/packages/react-intlayer/useIntlayer.md +1 -1
  208. package/docs/ko/plugins/sync-json.md +10 -6
  209. package/docs/ko/roadmap.md +1 -1
  210. package/docs/pl/configuration.md +20 -17
  211. package/docs/pl/intlayer_with_tanstack.md +3 -3
  212. package/docs/pl/plugins/sync-json.md +10 -6
  213. package/docs/pt/how_works_intlayer.md +1 -1
  214. package/docs/pt/index.md +1 -1
  215. package/docs/pt/intlayer_with_astro.md +2 -2
  216. package/docs/pt/intlayer_with_create_react_app.md +2 -2
  217. package/docs/pt/intlayer_with_express.md +1 -1
  218. package/docs/pt/intlayer_with_lynx+react.md +1 -1
  219. package/docs/pt/intlayer_with_nextjs_14.md +2 -2
  220. package/docs/pt/intlayer_with_nextjs_15.md +2 -2
  221. package/docs/pt/intlayer_with_nextjs_page_router.md +3 -3
  222. package/docs/pt/intlayer_with_react_native+expo.md +1 -1
  223. package/docs/pt/intlayer_with_react_router_v7.md +3 -3
  224. package/docs/pt/intlayer_with_tanstack.md +3 -3
  225. package/docs/pt/intlayer_with_vite+solid.md +2 -2
  226. package/docs/pt/intlayer_with_vite+vue.md +2 -2
  227. package/docs/pt/introduction.md +1 -1
  228. package/docs/pt/packages/next-intlayer/useDictionary.md +1 -1
  229. package/docs/pt/packages/next-intlayer/useIntlayer.md +1 -1
  230. package/docs/pt/packages/react-intlayer/useDictionary.md +1 -1
  231. package/docs/pt/packages/react-intlayer/useI18n.md +1 -1
  232. package/docs/pt/packages/react-intlayer/useIntlayer.md +1 -1
  233. package/docs/pt/plugins/sync-json.md +10 -6
  234. package/docs/pt/roadmap.md +1 -1
  235. package/docs/ru/how_works_intlayer.md +1 -1
  236. package/docs/ru/index.md +1 -1
  237. package/docs/ru/intlayer_with_astro.md +2 -2
  238. package/docs/ru/intlayer_with_create_react_app.md +2 -2
  239. package/docs/ru/intlayer_with_express.md +1 -1
  240. package/docs/ru/intlayer_with_lynx+react.md +1 -1
  241. package/docs/ru/intlayer_with_nextjs_14.md +2 -2
  242. package/docs/ru/intlayer_with_nextjs_15.md +2 -2
  243. package/docs/ru/intlayer_with_nextjs_page_router.md +3 -3
  244. package/docs/ru/intlayer_with_react_native+expo.md +1 -1
  245. package/docs/ru/intlayer_with_react_router_v7.md +3 -3
  246. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -3
  247. package/docs/ru/intlayer_with_tanstack.md +3 -3
  248. package/docs/ru/intlayer_with_vite+solid.md +2 -2
  249. package/docs/ru/intlayer_with_vite+vue.md +2 -2
  250. package/docs/ru/introduction.md +1 -1
  251. package/docs/ru/packages/next-intlayer/useDictionary.md +1 -1
  252. package/docs/ru/packages/next-intlayer/useIntlayer.md +1 -1
  253. package/docs/ru/packages/react-intlayer/useDictionary.md +1 -1
  254. package/docs/ru/packages/react-intlayer/useI18n.md +1 -1
  255. package/docs/ru/packages/react-intlayer/useIntlayer.md +1 -1
  256. package/docs/ru/plugins/sync-json.md +10 -6
  257. package/docs/ru/roadmap.md +1 -1
  258. package/docs/tr/intlayer_with_astro.md +2 -2
  259. package/docs/tr/intlayer_with_react_router_v7.md +3 -3
  260. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -3
  261. package/docs/tr/intlayer_with_tanstack.md +3 -3
  262. package/docs/tr/packages/next-intlayer/useDictionary.md +1 -1
  263. package/docs/tr/packages/next-intlayer/useIntlayer.md +1 -1
  264. package/docs/tr/packages/react-intlayer/useDictionary.md +1 -1
  265. package/docs/tr/packages/react-intlayer/useI18n.md +1 -1
  266. package/docs/tr/packages/react-intlayer/useIntlayer.md +1 -1
  267. package/docs/tr/plugins/sync-json.md +10 -6
  268. package/docs/uk/configuration.md +20 -17
  269. package/docs/uk/intlayer_with_tanstack.md +3 -3
  270. package/docs/vi/configuration.md +20 -17
  271. package/docs/vi/intlayer_with_tanstack.md +3 -3
  272. package/docs/vi/intlayer_with_vite+preact.md +1 -1
  273. package/docs/vi/plugins/sync-json.md +10 -6
  274. package/docs/zh/how_works_intlayer.md +1 -1
  275. package/docs/zh/index.md +1 -1
  276. package/docs/zh/intlayer_with_astro.md +2 -2
  277. package/docs/zh/intlayer_with_create_react_app.md +2 -2
  278. package/docs/zh/intlayer_with_express.md +1 -1
  279. package/docs/zh/intlayer_with_lynx+react.md +1 -1
  280. package/docs/zh/intlayer_with_nextjs_14.md +2 -2
  281. package/docs/zh/intlayer_with_nextjs_15.md +2 -2
  282. package/docs/zh/intlayer_with_nextjs_page_router.md +3 -3
  283. package/docs/zh/intlayer_with_react_native+expo.md +1 -1
  284. package/docs/zh/intlayer_with_react_router_v7.md +3 -3
  285. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -3
  286. package/docs/zh/intlayer_with_tanstack.md +1 -1
  287. package/docs/zh/intlayer_with_vite+solid.md +2 -2
  288. package/docs/zh/intlayer_with_vite+vue.md +2 -2
  289. package/docs/zh/introduction.md +1 -1
  290. package/docs/zh/packages/next-intlayer/useDictionary.md +1 -1
  291. package/docs/zh/packages/next-intlayer/useIntlayer.md +1 -1
  292. package/docs/zh/packages/react-intlayer/useDictionary.md +1 -1
  293. package/docs/zh/packages/react-intlayer/useI18n.md +1 -1
  294. package/docs/zh/packages/react-intlayer/useIntlayer.md +1 -1
  295. package/docs/zh/plugins/sync-json.md +10 -6
  296. package/docs/zh/roadmap.md +1 -1
  297. package/package.json +7 -7
@@ -70,7 +70,7 @@ Questo hook accetta due parametri:
70
70
 
71
71
  ## Dizionario
72
72
 
73
- Tutte le chiavi del dizionario devono essere dichiarate all'interno dei file di dichiarazione del contenuto per migliorare la sicurezza dei tipi e prevenire errori. [Le istruzioni di configurazione si trovano qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
73
+ Tutte le chiavi del dizionario devono essere dichiarate all'interno dei file di dichiarazione del contenuto per migliorare la sicurezza dei tipi e prevenire errori. [Le istruzioni di configurazione si trovano qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
74
74
 
75
75
  ## Esempi di utilizzo in React
76
76
 
@@ -69,7 +69,7 @@ L'hook accetta due parametri:
69
69
 
70
70
  ## Dizionario
71
71
 
72
- Tutte le chiavi del dizionario devono essere dichiarate all'interno dei file di dichiarazione dei contenuti per migliorare la sicurezza dei tipi ed evitare errori. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
72
+ Tutte le chiavi del dizionario devono essere dichiarate all'interno dei file di dichiarazione dei contenuti per migliorare la sicurezza dei tipi ed evitare errori. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
73
73
 
74
74
  ## Esempio di utilizzo in React
75
75
 
@@ -66,10 +66,10 @@ npm i -D @intlayer/sync-json-plugin
66
66
  Aggiungi il plugin al tuo `intlayer.config.ts` e indirizzalo alla tua struttura JSON esistente.
67
67
 
68
68
  ```ts fileName="intlayer.config.ts"
69
- import { defineConfig, Locales } from "intlayer";
69
+ import { Locales, type IntlayerConfig } from "intlayer";
70
70
  import { syncJSON } from "@intlayer/sync-json-plugin";
71
71
 
72
- export default defineConfig({
72
+ const config: IntlayerConfig = {
73
73
  internationalization: {
74
74
  locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
75
75
  defaultLocale: Locales.ENGLISH,
@@ -82,7 +82,9 @@ export default defineConfig({
82
82
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
83
83
  }),
84
84
  ],
85
- });
85
+ };
86
+
87
+ export default config;
86
88
  ```
87
89
 
88
90
  Alternativa: file singolo per locale (comune con configurazioni i18next/react-intl):
@@ -147,10 +149,10 @@ Quando più plugin puntano alla stessa chiave del dizionario, il parametro `prio
147
149
  - I plugin con la stessa priorità vengono elaborati nell'ordine in cui appaiono nella configurazione
148
150
 
149
151
  ```ts fileName="intlayer.config.ts"
150
- import { defineConfig, Locales } from "intlayer";
152
+ import { Locales, type IntlayerConfig } from "intlayer";
151
153
  import { syncJSON } from "@intlayer/sync-json-plugin";
152
154
 
153
- export default defineConfig({
155
+ const config: IntlayerConfig = {
154
156
  internationalization: {
155
157
  locales: [Locales.ENGLISH, Locales.FRENCH],
156
158
  defaultLocale: Locales.ENGLISH,
@@ -181,7 +183,9 @@ export default defineConfig({
181
183
  priority: 1,
182
184
  }),
183
185
  ],
184
- });
186
+ };
187
+
188
+ export default config;
185
189
  ```
186
190
 
187
191
  ### Risoluzione dei conflitti
@@ -39,7 +39,7 @@ Intlayer è una soluzione per la gestione dei contenuti e l'internazionalizzazio
39
39
 
40
40
  > Risorse:
41
41
  >
42
- > - [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md)
42
+ > - [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
43
43
 
44
44
  ### 2. Internazionalizzazione
45
45
 
@@ -77,7 +77,7 @@ const MyComponent = () => {
77
77
 
78
78
  このフックはロケールの検出を管理し、現在のロケールに対応するコンテンツを返します。このフックを使用すると、Markdownの解釈、複数形の管理なども可能です。
79
79
 
80
- > Intlayerのすべての機能を見るには、[辞書ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
80
+ > Intlayerのすべての機能を見るには、[辞書ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
81
81
 
82
82
  ## 遠隔コンテンツ
83
83
 
package/docs/ja/index.md CHANGED
@@ -55,7 +55,7 @@ Intlayerは、アプリケーションの翻訳に柔軟でモダンなアプロ
55
55
 
56
56
  多言語コンテンツをコードの近くに整理し、一貫性と保守性を保ちます。
57
57
 
58
- - **[はじめに](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)**
58
+ - **[はじめに](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)**
59
59
  Intlayerでコンテンツを宣言する基本を学びます。
60
60
 
61
61
  - **[翻訳](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/translation.md)**
@@ -67,7 +67,7 @@ yarn add react react-dom react-intlayer @astrojs/react
67
67
  ```
68
68
 
69
69
  - **intlayer**
70
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
70
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
71
71
 
72
72
  - **astro-intlayer**
73
73
  Astroとの統合プラグインを含み、Intlayerを[Viteバンドラー](https://vite.dev/guide/why.html#why-bundle-for-production)と連携させるほか、ユーザーの優先ロケールの検出、クッキー管理、URLリダイレクトの処理を行うミドルウェアも提供します。
@@ -138,7 +138,7 @@ export default appContent;
138
138
 
139
139
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致している必要があります。
140
140
 
141
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
141
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
142
142
 
143
143
  ### ステップ 5: Astro でコンテンツを使用する
144
144
 
@@ -68,7 +68,7 @@ bunx intlayer init
68
68
 
69
69
  - **intlayer**
70
70
 
71
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)を提供する国際化ツールのコアパッケージ。
71
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)を提供する国際化ツールのコアパッケージ。
72
72
 
73
73
  - **react-intlayer**
74
74
 
@@ -255,7 +255,7 @@ module.exports = appContent;
255
255
 
256
256
  > コンテンツ宣言は、`contentDir`ディレクトリ(デフォルトでは`./src`)に含まれる限り、アプリケーション内のどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトでは`.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
257
257
 
258
- > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
258
+ > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
259
259
 
260
260
  > コンテンツファイルにTSXコードが含まれている場合は、`import React from "react";`をコンテンツファイルにインポートすることを検討してください。
261
261
 
@@ -223,7 +223,7 @@ module.exports = indexContent;
223
223
 
224
224
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれていれば、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致している必要があります。
225
225
 
226
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
226
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
227
227
 
228
228
  ### Express アプリケーションのセットアップ
229
229
 
@@ -369,7 +369,7 @@ module.exports = appContent;
369
369
  }
370
370
  ```
371
371
 
372
- > コンテンツ宣言の詳細については、[Intlayerのコンテンツドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
372
+ > コンテンツ宣言の詳細については、[Intlayerのコンテンツドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
373
373
 
374
374
  ---
375
375
 
@@ -73,7 +73,7 @@ bunx intlayer init
73
73
 
74
74
  - **intlayer**
75
75
 
76
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージです。
76
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージです。
77
77
 
78
78
  - **next-intlayer**
79
79
 
@@ -443,7 +443,7 @@ module.exports = pageContent;
443
443
 
444
444
  > あなたのコンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
445
445
 
446
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
446
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
447
447
 
448
448
  ### ステップ7: コード内でコンテンツを利用する
449
449
 
@@ -76,7 +76,7 @@ bunx intlayer init
76
76
 
77
77
  - **intlayer**
78
78
 
79
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージです。
79
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージです。
80
80
 
81
81
  - **next-intlayer**
82
82
 
@@ -429,7 +429,7 @@ module.exports = pageContent;
429
429
 
430
430
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
431
431
 
432
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
432
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
433
433
 
434
434
  ### ステップ6: コード内でコンテンツを利用する
435
435
 
@@ -72,7 +72,7 @@ bunx intlayer init
72
72
 
73
73
  - **intlayer**
74
74
 
75
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
75
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
76
76
 
77
77
  - **next-intlayer**
78
78
 
@@ -446,7 +446,7 @@ module.exports = homeContent;
446
446
  }
447
447
  ```
448
448
 
449
- 詳細なコンテンツ宣言については、[コンテンツ宣言ガイド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
449
+ 詳細なコンテンツ宣言については、[コンテンツ宣言ガイド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
450
450
 
451
451
  ### ステップ7: コード内でコンテンツを利用する
452
452
 
@@ -1491,7 +1491,7 @@ Intlayerでの開発体験を向上させるために、公式の **Intlayer VS
1491
1491
  ## 追加リソース
1492
1492
 
1493
1493
  - **Intlayer ドキュメント:** [GitHub リポジトリ](https://github.com/aymericzip/intlayer)
1494
- - **辞書ガイド:** [辞書](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)
1494
+ - **辞書ガイド:** [辞書](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)
1495
1495
  - **設定ドキュメント:** [設定ガイド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/configuration.md)
1496
1496
 
1497
1497
  このガイドに従うことで、Next.js アプリケーションの Page Router を使用して Intlayer を効果的に統合し、ウェブプロジェクトに対して堅牢でスケーラブルな国際化サポートを実現できます。
@@ -356,7 +356,7 @@ module.exports = appContent;
356
356
  }
357
357
  ```
358
358
 
359
- > コンテンツ宣言の詳細については、[Intlayerのコンテンツドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
359
+ > コンテンツ宣言の詳細については、[Intlayerのコンテンツドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
360
360
 
361
361
  ---
362
362
 
@@ -89,7 +89,7 @@ bunx intlayer init
89
89
  - **intlayer**
90
90
 
91
91
  - **intlayer**
92
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
92
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
93
93
 
94
94
  - **react-intlayer**
95
95
  IntlayerをReactアプリケーションと統合するパッケージです。Reactの国際化のためのコンテキストプロバイダーとフックを提供します。
@@ -289,7 +289,7 @@ export default pageContent;
289
289
 
290
290
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./app`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
291
291
 
292
- > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
292
+ > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
293
293
 
294
294
  ### ステップ7: ロケール対応コンポーネントの作成
295
295
 
@@ -587,7 +587,7 @@ Intlayerでの開発体験を向上させるために、公式の **Intlayer VS
587
587
  - [React Router v7 ドキュメント](https://reactrouter.com/)
588
588
  - [useIntlayer フック](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/react-intlayer/useIntlayer.md)
589
589
  - [useLocale フック](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/react-intlayer/useLocale.md)
590
- - [コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)
590
+ - [コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)
591
591
  - [設定](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/configuration.md)
592
592
 
593
593
  この包括的なガイドは、IntlayerをReact Router v7と統合し、ロケール対応のルーティングとTypeScriptサポートを備えた完全に国際化されたアプリケーションを構築するために必要なすべてを提供します。
@@ -104,7 +104,7 @@ bunx intlayer init
104
104
  - **intlayer**
105
105
 
106
106
  - **intlayer**
107
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
107
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
108
108
 
109
109
  - **react-intlayer**
110
110
  IntlayerをReactアプリケーションと統合するパッケージです。Reactの国際化のためのコンテキストプロバイダーとフックを提供します。
@@ -427,7 +427,7 @@ export default aboutContent;
427
427
 
428
428
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./app`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
429
429
 
430
- > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
430
+ > 詳細については、[コンテンツ宣言ドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
431
431
 
432
432
  > アプリケーションが既に存在する場合は、[Intlayer コンパイラ](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/compiler.md) と [抽出コマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/cli/extract.md) を組み合わせて、1 秒で何千ものコンポーネントを変換できます。
433
433
 
@@ -657,7 +657,7 @@ Intlayerでの開発体験を向上させるために、公式の **Intlayer VS
657
657
  - [React Router fs-routes ドキュメント](https://reactrouter.com/how-to/file-route-conventions)
658
658
  - [useIntlayer フック](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/react-intlayer/useIntlayer.md)
659
659
  - [useLocale フック](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/packages/react-intlayer/useLocale.md)
660
- - [コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)
660
+ - [コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)
661
661
  - [設定](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/configuration.md)
662
662
 
663
663
  この包括的なガイドは、ファイルシステムベースのルーティングを使用してIntlayerをReact Router v7と統合し、ロケール対応のルーティングとTypeScriptサポートを備えた完全に国際化されたアプリケーションを構築するために必要なすべてを提供します。
@@ -94,7 +94,7 @@ bunx intlayer init
94
94
 
95
95
  - **intlayer**
96
96
 
97
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
97
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージ。
98
98
 
99
99
  - **preact-intlayer**
100
100
  IntlayerをPreactアプリケーションと統合するパッケージです。Preactの国際化のためのコンテキストプロバイダーとフックを提供します。
@@ -421,7 +421,7 @@ module.exports = appContent;
421
421
 
422
422
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言ファイルの拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致する必要があります。
423
423
 
424
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
424
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
425
425
 
426
426
  > コンテンツファイルに TSX コードが含まれている場合は、`import { h } from "preact";` をインポートするか、JSX プラグマが Preact 用に正しく設定されていることを確認する必要があります。
427
427
 
@@ -102,7 +102,7 @@ bunx intlayer init
102
102
 
103
103
  - **intlayer**
104
104
 
105
- 国際化のための設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のツールを提供するコアパッケージ。
105
+ 国際化のための設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のツールを提供するコアパッケージ。
106
106
 
107
107
  - **solid-intlayer**
108
108
  IntlayerをSolidアプリケーションと統合するパッケージです。Solidの国際化のためのコンテキストプロバイダーとフックを提供します。
@@ -289,7 +289,7 @@ module.exports = appContent;
289
289
 
290
290
  > コンテンツ宣言は、アプリケーション内のどこにでも定義できます。`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り有効です。また、コンテンツ宣言ファイルの拡張子は(デフォルトで `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致している必要があります。
291
291
 
292
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
292
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
293
293
 
294
294
  ### ステップ5: Intlayerをコードで利用する
295
295
 
@@ -95,7 +95,7 @@ bunx intlayer init
95
95
 
96
96
  - **intlayer**
97
97
 
98
- 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージです。
98
+ 設定管理、翻訳、[コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)、トランスパイル、および[CLIコマンド](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/intlayer_cli.md)のための国際化ツールを提供するコアパッケージです。
99
99
 
100
100
  - **vue-intlayer**
101
101
  IntlayerをVueアプリケーションに統合するパッケージです。Vueの国際化のためのコンテキストプロバイダーとコンポーザブルを提供します。
@@ -430,7 +430,7 @@ module.exports = appContent;
430
430
 
431
431
  > コンテンツ宣言は、`contentDir` ディレクトリ(デフォルトは `./src`)に含まれている限り、アプリケーションのどこにでも定義できます。また、コンテンツ宣言のファイル拡張子(デフォルトは `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)に一致している必要があります。
432
432
 
433
- > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)を参照してください。
433
+ > 詳細については、[コンテンツ宣言のドキュメント](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)を参照してください。
434
434
 
435
435
  ### ステップ5: コード内でIntlayerを利用する
436
436
 
@@ -157,7 +157,7 @@ Intlayerは、現代のウェブ開発のニーズに応える多彩な機能を
157
157
 
158
158
  コードの近くに多言語コンテンツを整理し、一貫性と保守性を保ちましょう。
159
159
 
160
- - **[はじめに](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)**
160
+ - **[はじめに](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)**
161
161
  Intlayerでコンテンツを宣言する基本を学びましょう。
162
162
 
163
163
  - **[翻訳](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/translation.md)**
@@ -69,7 +69,7 @@ history:
69
69
 
70
70
  ## 辞書
71
71
 
72
- すべての辞書オブジェクトは型の安全性を確保し、実行時エラーを防ぐために構造化されたコンテンツファイル内で宣言する必要があります。セットアップ手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)で確認できます。以下はコンテンツ宣言の例です:
72
+ すべての辞書オブジェクトは型の安全性を確保し、実行時エラーを防ぐために構造化されたコンテンツファイル内で宣言する必要があります。セットアップ手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)で確認できます。以下はコンテンツ宣言の例です:
73
73
 
74
74
  ```typescript fileName="component.content.ts" codeFormat="typescript"
75
75
  import { t, type Dictionary } from "intlayer";
@@ -69,7 +69,7 @@ Next.js アプリケーションでクライアントサイドコンポーネン
69
69
 
70
70
  すべてのコンテンツキーがコンテンツ宣言ファイル内で定義されていることは、ランタイムエラーを防ぎ、型の安全性を確保するために非常に重要です。この方法は、コンパイル時の検証のためにTypeScriptとの統合も容易にします。
71
71
 
72
- コンテンツ宣言ファイルの設定手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)で確認できます。
72
+ コンテンツ宣言ファイルの設定手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)で確認できます。
73
73
 
74
74
  ## Next.jsでの使用例
75
75
 
@@ -68,7 +68,7 @@ history:
68
68
 
69
69
  ## 辞書
70
70
 
71
- すべての辞書オブジェクトは型の安全性を確保し、実行時エラーを防ぐために構造化されたコンテンツファイル内で宣言する必要があります。セットアップ手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)で確認できます。以下はコンテンツ宣言の例です:
71
+ すべての辞書オブジェクトは型の安全性を確保し、実行時エラーを防ぐために構造化されたコンテンツファイル内で宣言する必要があります。セットアップ手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)で確認できます。以下はコンテンツ宣言の例です:
72
72
 
73
73
  ```typescript fileName="./component.content.ts" contentDeclarationFormat="typescript"
74
74
  import { t, type Dictionary } from "intlayer";
@@ -70,7 +70,7 @@ history:
70
70
 
71
71
  ## 辞書
72
72
 
73
- すべての辞書キーは、型安全性を高めエラーを防ぐためにコンテンツ宣言ファイル内で宣言する必要があります。[設定手順はこちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)で確認できます。
73
+ すべての辞書キーは、型安全性を高めエラーを防ぐためにコンテンツ宣言ファイル内で宣言する必要があります。[設定手順はこちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)で確認できます。
74
74
 
75
75
  ## Reactでの使用例
76
76
 
@@ -69,7 +69,7 @@ history:
69
69
 
70
70
  ## 辞書
71
71
 
72
- すべての辞書キーは型安全性を高め、エラーを防ぐためにコンテンツ宣言ファイル内で宣言されている必要があります。セットアップ手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)で確認できます。
72
+ すべての辞書キーは型安全性を高め、エラーを防ぐためにコンテンツ宣言ファイル内で宣言されている必要があります。セットアップ手順は[こちら](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)で確認できます。
73
73
 
74
74
  ## Reactでの使用例
75
75
 
@@ -66,10 +66,10 @@ npm i -D @intlayer/sync-json-plugin
66
66
  `intlayer.config.ts`にプラグインを追加し、既存のJSON構造を指定します。
67
67
 
68
68
  ```ts fileName="intlayer.config.ts"
69
- import { defineConfig, Locales } from "intlayer";
69
+ import { Locales, type IntlayerConfig } from "intlayer";
70
70
  import { syncJSON } from "@intlayer/sync-json-plugin";
71
71
 
72
- export default defineConfig({
72
+ const config: IntlayerConfig = {
73
73
  internationalization: {
74
74
  locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
75
75
  defaultLocale: Locales.ENGLISH,
@@ -82,7 +82,9 @@ export default defineConfig({
82
82
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
83
83
  }),
84
84
  ],
85
- });
85
+ };
86
+
87
+ export default config;
86
88
  ```
87
89
 
88
90
  代替案:ロケールごとに単一ファイル(i18next/react-intlのセットアップで一般的):
@@ -147,10 +149,10 @@ syncJSON({
147
149
  - 同じ優先度のプラグインは、設定に記載された順序で処理されます
148
150
 
149
151
  ```ts fileName="intlayer.config.ts"
150
- import { defineConfig, Locales } from "intlayer";
152
+ import { Locales, type IntlayerConfig } from "intlayer";
151
153
  import { syncJSON } from "@intlayer/sync-json-plugin";
152
154
 
153
- export default defineConfig({
155
+ const config: IntlayerConfig = {
154
156
  internationalization: {
155
157
  locales: [Locales.ENGLISH, Locales.FRENCH],
156
158
  defaultLocale: Locales.ENGLISH,
@@ -181,7 +183,9 @@ export default defineConfig({
181
183
  priority: 1,
182
184
  }),
183
185
  ],
184
- });
186
+ };
187
+
188
+ export default config;
185
189
  ```
186
190
 
187
191
  ### コンフリクト解決
@@ -39,7 +39,7 @@ Intlayerは、アプリケーション全体でコンテンツを宣言、管理
39
39
 
40
40
  > リソース:
41
41
  >
42
- > - [コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/get_started.md)
42
+ > - [コンテンツ宣言](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ja/dictionary/content_file.md)
43
43
 
44
44
  ### 2. 国際化
45
45
 
@@ -77,7 +77,7 @@ const MyComponent = () => {
77
77
 
78
78
  이 훅은 로케일 감지를 관리하고 현재 로케일에 대한 콘텐츠를 반환합니다. 이 훅을 사용하면 마크다운 해석, 복수형 관리 등을 수행할 수 있습니다.
79
79
 
80
- > Intlayer의 모든 기능을 보려면 [사전 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 읽어보세요.
80
+ > Intlayer의 모든 기능을 보려면 [사전 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 읽어보세요.
81
81
 
82
82
  ## 원격 콘텐츠
83
83
 
package/docs/ko/index.md CHANGED
@@ -55,7 +55,7 @@ Intlayer는 애플리케이션 번역을 위한 유연하고 현대적인 접근
55
55
 
56
56
  코드와 가까운 곳에 다국어 콘텐츠를 조직하여 모든 것을 일관되고 유지 관리하기 쉽게 만드세요.
57
57
 
58
- - **[시작하기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)**
58
+ - **[시작하기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)**
59
59
  Intlayer에서 콘텐츠를 선언하는 기본을 배워보세요.
60
60
 
61
61
  - **[번역](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/translation.md)**
@@ -67,7 +67,7 @@ yarn add react react-dom react-intlayer @astrojs/react
67
67
  ```
68
68
 
69
69
  - **intlayer**
70
- 구성 관리, 번역, [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md), 트랜스파일링 및 [CLI 명령어](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)를 제공하는 국제화 도구의 핵심 패키지입니다.
70
+ 구성 관리, 번역, [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md), 트랜스파일링 및 [CLI 명령어](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)를 제공하는 국제화 도구의 핵심 패키지입니다.
71
71
 
72
72
  - **astro-intlayer**
73
73
  Astro와 Intlayer를 [Vite 번들러](https://vite.dev/guide/why.html#why-bundle-for-production)와 통합하기 위한 Astro 통합 플러그인과 사용자의 선호 로케일 감지, 쿠키 관리, URL 리디렉션 처리를 위한 미들웨어를 포함합니다.
@@ -138,7 +138,7 @@ export default appContent;
138
138
 
139
139
  > 콘텐츠 선언은 애플리케이션 내 어디에서나 정의할 수 있으며, `contentDir` 디렉토리(기본값은 `./src`)에 포함되기만 하면 됩니다. 그리고 콘텐츠 선언 파일 확장자(기본값은 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
140
140
 
141
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
141
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
142
142
 
143
143
  ### 5단계: Astro에서 콘텐츠 사용하기
144
144
 
@@ -68,7 +68,7 @@ bunx intlayer init
68
68
 
69
69
  - **intlayer**
70
70
 
71
- 구성 관리, 번역, [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md), 트랜스파일링 및 [CLI 명령](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)을 위한 국제화 도구를 제공하는 핵심 패키지입니다.
71
+ 구성 관리, 번역, [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md), 트랜스파일링 및 [CLI 명령](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)을 위한 국제화 도구를 제공하는 핵심 패키지입니다.
72
72
 
73
73
  - **react-intlayer**
74
74
 
@@ -255,7 +255,7 @@ module.exports = appContent;
255
255
 
256
256
  > 콘텐츠 선언은 애플리케이션 어디에서나 정의할 수 있으며, `contentDir` 디렉토리(기본값: `./src`)에 포함되고 콘텐츠 선언 파일 확장자(기본값: `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
257
257
 
258
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
258
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
259
259
 
260
260
  > 콘텐츠 파일에 TSX 코드가 포함된 경우, 콘텐츠 파일에 `import React from "react";`를 가져오는 것을 고려해야 합니다.
261
261
 
@@ -223,7 +223,7 @@ module.exports = indexContent;
223
223
 
224
224
  > 콘텐츠 선언은 애플리케이션 내 어디에서나 정의할 수 있으며, `contentDir` 디렉토리(기본값은 `./src`)에 포함되어야 합니다. 그리고 콘텐츠 선언 파일 확장자(기본값은 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
225
225
 
226
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
226
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
227
227
 
228
228
  ### Express 애플리케이션 설정
229
229
 
@@ -369,7 +369,7 @@ module.exports = appContent;
369
369
  }
370
370
  ```
371
371
 
372
- > 콘텐츠 선언에 대한 자세한 내용은 [Intlayer의 콘텐츠 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
372
+ > 콘텐츠 선언에 대한 자세한 내용은 [Intlayer의 콘텐츠 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
373
373
 
374
374
  ---
375
375
 
@@ -70,7 +70,7 @@ yarn add intlayer next-intlayer
70
70
 
71
71
  - **intlayer**
72
72
 
73
- 구성 관리, 번역, [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md), 트랜스파일링 및 [CLI 명령어](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
73
+ 구성 관리, 번역, [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md), 트랜스파일링 및 [CLI 명령어](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
74
74
 
75
75
  - **next-intlayer**
76
76
 
@@ -437,7 +437,7 @@ module.exports = pageContent;
437
437
 
438
438
  > 콘텐츠 선언은 애플리케이션 내 어디서든 `contentDir` 디렉토리(기본값 `./src`)에 포함되기만 하면 정의할 수 있습니다. 그리고 콘텐츠 선언 파일 확장자(기본값 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
439
439
 
440
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
440
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
441
441
 
442
442
  ### 7단계: 코드에서 콘텐츠 활용하기
443
443