@intlayer/docs 8.1.9 → 8.1.11

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 (333) 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_compiler.md +1 -3
  10. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +2 -6
  11. package/docs/ar/intlayer_with_nextjs_page_router.md +3 -3
  12. package/docs/ar/intlayer_with_react_native+expo.md +1 -1
  13. package/docs/ar/intlayer_with_react_router_v7.md +3 -3
  14. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +3 -3
  15. package/docs/ar/intlayer_with_vite+solid.md +2 -2
  16. package/docs/ar/intlayer_with_vite+vue.md +2 -2
  17. package/docs/ar/introduction.md +1 -1
  18. package/docs/ar/packages/next-intlayer/useDictionary.md +1 -1
  19. package/docs/ar/packages/next-intlayer/useIntlayer.md +1 -1
  20. package/docs/ar/packages/react-intlayer/useDictionary.md +1 -1
  21. package/docs/ar/packages/react-intlayer/useI18n.md +1 -1
  22. package/docs/ar/packages/react-intlayer/useIntlayer.md +1 -1
  23. package/docs/ar/plugins/sync-json.md +10 -6
  24. package/docs/ar/roadmap.md +1 -1
  25. package/docs/de/how_works_intlayer.md +1 -1
  26. package/docs/de/index.md +1 -1
  27. package/docs/de/intlayer_with_astro.md +2 -2
  28. package/docs/de/intlayer_with_create_react_app.md +2 -2
  29. package/docs/de/intlayer_with_express.md +1 -1
  30. package/docs/de/intlayer_with_lynx+react.md +1 -1
  31. package/docs/de/intlayer_with_nextjs_14.md +2 -2
  32. package/docs/de/intlayer_with_nextjs_15.md +2 -2
  33. package/docs/de/intlayer_with_nextjs_compiler.md +1 -3
  34. package/docs/de/intlayer_with_nextjs_no_locale_path.md +2 -6
  35. package/docs/de/intlayer_with_nextjs_page_router.md +3 -3
  36. package/docs/de/intlayer_with_react_native+expo.md +1 -1
  37. package/docs/de/intlayer_with_react_router_v7.md +3 -3
  38. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +3 -3
  39. package/docs/de/intlayer_with_vite+preact.md +2 -2
  40. package/docs/de/intlayer_with_vite+solid.md +2 -2
  41. package/docs/de/intlayer_with_vite+vue.md +2 -2
  42. package/docs/de/introduction.md +1 -1
  43. package/docs/de/packages/next-intlayer/useDictionary.md +1 -1
  44. package/docs/de/packages/next-intlayer/useIntlayer.md +1 -1
  45. package/docs/de/packages/react-intlayer/useDictionary.md +1 -1
  46. package/docs/de/packages/react-intlayer/useI18n.md +1 -1
  47. package/docs/de/packages/react-intlayer/useIntlayer.md +1 -1
  48. package/docs/de/plugins/sync-json.md +10 -6
  49. package/docs/de/roadmap.md +1 -1
  50. package/docs/en/configuration.md +26 -10
  51. package/docs/en/intlayer_with_nextjs_compiler.md +1 -3
  52. package/docs/en/intlayer_with_nextjs_no_locale_path.md +2 -6
  53. package/docs/en-GB/how_works_intlayer.md +1 -1
  54. package/docs/en-GB/index.md +1 -1
  55. package/docs/en-GB/intlayer_with_astro.md +2 -2
  56. package/docs/en-GB/intlayer_with_create_react_app.md +3 -3
  57. package/docs/en-GB/intlayer_with_express.md +1 -1
  58. package/docs/en-GB/intlayer_with_lynx+react.md +1 -1
  59. package/docs/en-GB/intlayer_with_nextjs_15.md +2 -2
  60. package/docs/en-GB/intlayer_with_nextjs_compiler.md +1 -3
  61. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +2 -6
  62. package/docs/en-GB/intlayer_with_nextjs_page_router.md +3 -3
  63. package/docs/en-GB/intlayer_with_react_native+expo.md +1 -1
  64. package/docs/en-GB/intlayer_with_react_router_v7.md +3 -3
  65. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +3 -3
  66. package/docs/en-GB/intlayer_with_tanstack.md +3 -3
  67. package/docs/en-GB/intlayer_with_vite+preact.md +2 -2
  68. package/docs/en-GB/intlayer_with_vite+solid.md +2 -2
  69. package/docs/en-GB/intlayer_with_vite+vue.md +2 -2
  70. package/docs/en-GB/introduction.md +1 -1
  71. package/docs/en-GB/packages/next-intlayer/useDictionary.md +1 -1
  72. package/docs/en-GB/packages/next-intlayer/useIntlayer.md +1 -1
  73. package/docs/en-GB/packages/react-intlayer/useDictionary.md +1 -1
  74. package/docs/en-GB/packages/react-intlayer/useI18n.md +1 -1
  75. package/docs/en-GB/plugins/sync-json.md +10 -6
  76. package/docs/en-GB/roadmap.md +1 -1
  77. package/docs/es/how_works_intlayer.md +1 -1
  78. package/docs/es/index.md +1 -1
  79. package/docs/es/intlayer_with_astro.md +2 -2
  80. package/docs/es/intlayer_with_create_react_app.md +2 -2
  81. package/docs/es/intlayer_with_express.md +1 -1
  82. package/docs/es/intlayer_with_lynx+react.md +1 -1
  83. package/docs/es/intlayer_with_nextjs_14.md +2 -2
  84. package/docs/es/intlayer_with_nextjs_15.md +2 -2
  85. package/docs/es/intlayer_with_nextjs_compiler.md +1 -3
  86. package/docs/es/intlayer_with_nextjs_no_locale_path.md +2 -6
  87. package/docs/es/intlayer_with_nextjs_page_router.md +3 -3
  88. package/docs/es/intlayer_with_react_native+expo.md +1 -1
  89. package/docs/es/intlayer_with_react_router_v7.md +3 -3
  90. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +3 -3
  91. package/docs/es/intlayer_with_vite+preact.md +2 -2
  92. package/docs/es/intlayer_with_vite+solid.md +2 -2
  93. package/docs/es/intlayer_with_vite+vue.md +2 -2
  94. package/docs/es/introduction.md +1 -1
  95. package/docs/es/packages/next-intlayer/useDictionary.md +1 -1
  96. package/docs/es/packages/next-intlayer/useIntlayer.md +1 -1
  97. package/docs/es/packages/react-intlayer/useDictionary.md +1 -1
  98. package/docs/es/packages/react-intlayer/useI18n.md +1 -1
  99. package/docs/es/packages/react-intlayer/useIntlayer.md +1 -1
  100. package/docs/es/plugins/sync-json.md +10 -6
  101. package/docs/es/roadmap.md +1 -1
  102. package/docs/fr/how_works_intlayer.md +1 -1
  103. package/docs/fr/index.md +1 -1
  104. package/docs/fr/intlayer_with_astro.md +2 -2
  105. package/docs/fr/intlayer_with_create_react_app.md +2 -2
  106. package/docs/fr/intlayer_with_express.md +1 -1
  107. package/docs/fr/intlayer_with_lynx+react.md +1 -1
  108. package/docs/fr/intlayer_with_nextjs_14.md +2 -2
  109. package/docs/fr/intlayer_with_nextjs_15.md +2 -2
  110. package/docs/fr/intlayer_with_nextjs_compiler.md +1 -3
  111. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +2 -6
  112. package/docs/fr/intlayer_with_nextjs_page_router.md +3 -3
  113. package/docs/fr/intlayer_with_react_native+expo.md +1 -1
  114. package/docs/fr/intlayer_with_react_router_v7.md +3 -3
  115. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +3 -3
  116. package/docs/fr/intlayer_with_vite+preact.md +2 -2
  117. package/docs/fr/intlayer_with_vite+solid.md +2 -2
  118. package/docs/fr/intlayer_with_vite+vue.md +2 -2
  119. package/docs/fr/introduction.md +1 -1
  120. package/docs/fr/packages/next-intlayer/useDictionary.md +1 -1
  121. package/docs/fr/packages/next-intlayer/useIntlayer.md +1 -1
  122. package/docs/fr/packages/react-intlayer/useDictionary.md +1 -1
  123. package/docs/fr/packages/react-intlayer/useI18n.md +1 -1
  124. package/docs/fr/packages/react-intlayer/useIntlayer.md +1 -1
  125. package/docs/fr/plugins/sync-json.md +10 -6
  126. package/docs/fr/roadmap.md +1 -1
  127. package/docs/hi/how_works_intlayer.md +1 -1
  128. package/docs/hi/index.md +1 -1
  129. package/docs/hi/intlayer_with_astro.md +2 -2
  130. package/docs/hi/intlayer_with_create_react_app.md +2 -2
  131. package/docs/hi/intlayer_with_express.md +1 -1
  132. package/docs/hi/intlayer_with_lynx+react.md +1 -1
  133. package/docs/hi/intlayer_with_nextjs_14.md +2 -2
  134. package/docs/hi/intlayer_with_nextjs_15.md +2 -2
  135. package/docs/hi/intlayer_with_nextjs_compiler.md +1 -3
  136. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +2 -6
  137. package/docs/hi/intlayer_with_nextjs_page_router.md +3 -3
  138. package/docs/hi/intlayer_with_react_native+expo.md +1 -1
  139. package/docs/hi/intlayer_with_react_router_v7.md +3 -3
  140. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +3 -3
  141. package/docs/hi/intlayer_with_vite+preact.md +1 -1
  142. package/docs/hi/intlayer_with_vite+solid.md +1 -1
  143. package/docs/hi/intlayer_with_vite+vue.md +2 -2
  144. package/docs/hi/introduction.md +1 -1
  145. package/docs/hi/packages/next-intlayer/useDictionary.md +1 -1
  146. package/docs/hi/packages/next-intlayer/useIntlayer.md +1 -1
  147. package/docs/hi/packages/react-intlayer/useDictionary.md +1 -1
  148. package/docs/hi/packages/react-intlayer/useI18n.md +1 -1
  149. package/docs/hi/packages/react-intlayer/useIntlayer.md +1 -1
  150. package/docs/hi/plugins/sync-json.md +10 -6
  151. package/docs/hi/roadmap.md +1 -1
  152. package/docs/id/configuration.md +20 -8
  153. package/docs/id/intlayer_with_nextjs_compiler.md +1 -3
  154. package/docs/id/intlayer_with_nextjs_no_locale_path.md +2 -6
  155. package/docs/id/intlayer_with_vite+preact.md +1 -1
  156. package/docs/id/plugins/sync-json.md +10 -6
  157. package/docs/it/how_works_intlayer.md +1 -1
  158. package/docs/it/index.md +1 -1
  159. package/docs/it/intlayer_with_astro.md +2 -2
  160. package/docs/it/intlayer_with_create_react_app.md +2 -2
  161. package/docs/it/intlayer_with_express.md +1 -1
  162. package/docs/it/intlayer_with_lynx+react.md +1 -1
  163. package/docs/it/intlayer_with_nextjs_14.md +2 -2
  164. package/docs/it/intlayer_with_nextjs_15.md +2 -2
  165. package/docs/it/intlayer_with_nextjs_compiler.md +1 -3
  166. package/docs/it/intlayer_with_nextjs_no_locale_path.md +2 -6
  167. package/docs/it/intlayer_with_nextjs_page_router.md +3 -3
  168. package/docs/it/intlayer_with_react_native+expo.md +1 -1
  169. package/docs/it/intlayer_with_react_router_v7.md +3 -3
  170. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +3 -3
  171. package/docs/it/intlayer_with_vite+preact.md +2 -2
  172. package/docs/it/intlayer_with_vite+solid.md +2 -2
  173. package/docs/it/intlayer_with_vite+vue.md +2 -2
  174. package/docs/it/introduction.md +1 -1
  175. package/docs/it/packages/next-intlayer/useDictionary.md +1 -1
  176. package/docs/it/packages/next-intlayer/useIntlayer.md +1 -1
  177. package/docs/it/packages/react-intlayer/useDictionary.md +1 -1
  178. package/docs/it/packages/react-intlayer/useI18n.md +1 -1
  179. package/docs/it/packages/react-intlayer/useIntlayer.md +1 -1
  180. package/docs/it/plugins/sync-json.md +10 -6
  181. package/docs/it/roadmap.md +1 -1
  182. package/docs/ja/how_works_intlayer.md +1 -1
  183. package/docs/ja/index.md +1 -1
  184. package/docs/ja/intlayer_with_astro.md +2 -2
  185. package/docs/ja/intlayer_with_create_react_app.md +2 -2
  186. package/docs/ja/intlayer_with_express.md +1 -1
  187. package/docs/ja/intlayer_with_lynx+react.md +1 -1
  188. package/docs/ja/intlayer_with_nextjs_14.md +2 -2
  189. package/docs/ja/intlayer_with_nextjs_15.md +2 -2
  190. package/docs/ja/intlayer_with_nextjs_compiler.md +1 -3
  191. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +2 -6
  192. package/docs/ja/intlayer_with_nextjs_page_router.md +3 -3
  193. package/docs/ja/intlayer_with_react_native+expo.md +1 -1
  194. package/docs/ja/intlayer_with_react_router_v7.md +3 -3
  195. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +3 -3
  196. package/docs/ja/intlayer_with_vite+preact.md +2 -2
  197. package/docs/ja/intlayer_with_vite+solid.md +2 -2
  198. package/docs/ja/intlayer_with_vite+vue.md +2 -2
  199. package/docs/ja/introduction.md +1 -1
  200. package/docs/ja/packages/next-intlayer/useDictionary.md +1 -1
  201. package/docs/ja/packages/next-intlayer/useIntlayer.md +1 -1
  202. package/docs/ja/packages/react-intlayer/useDictionary.md +1 -1
  203. package/docs/ja/packages/react-intlayer/useI18n.md +1 -1
  204. package/docs/ja/packages/react-intlayer/useIntlayer.md +1 -1
  205. package/docs/ja/plugins/sync-json.md +10 -6
  206. package/docs/ja/roadmap.md +1 -1
  207. package/docs/ko/how_works_intlayer.md +1 -1
  208. package/docs/ko/index.md +1 -1
  209. package/docs/ko/intlayer_with_astro.md +2 -2
  210. package/docs/ko/intlayer_with_create_react_app.md +2 -2
  211. package/docs/ko/intlayer_with_express.md +1 -1
  212. package/docs/ko/intlayer_with_lynx+react.md +1 -1
  213. package/docs/ko/intlayer_with_nextjs_14.md +2 -2
  214. package/docs/ko/intlayer_with_nextjs_15.md +3 -3
  215. package/docs/ko/intlayer_with_nextjs_compiler.md +1 -3
  216. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +2 -6
  217. package/docs/ko/intlayer_with_nextjs_page_router.md +3 -3
  218. package/docs/ko/intlayer_with_react_native+expo.md +1 -1
  219. package/docs/ko/intlayer_with_react_router_v7.md +3 -3
  220. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +3 -3
  221. package/docs/ko/intlayer_with_vite+preact.md +1 -1
  222. package/docs/ko/intlayer_with_vite+solid.md +2 -2
  223. package/docs/ko/intlayer_with_vite+vue.md +2 -2
  224. package/docs/ko/introduction.md +1 -1
  225. package/docs/ko/packages/next-intlayer/useDictionary.md +1 -1
  226. package/docs/ko/packages/next-intlayer/useIntlayer.md +1 -1
  227. package/docs/ko/packages/react-intlayer/useDictionary.md +1 -1
  228. package/docs/ko/packages/react-intlayer/useI18n.md +1 -1
  229. package/docs/ko/packages/react-intlayer/useIntlayer.md +1 -1
  230. package/docs/ko/plugins/sync-json.md +10 -6
  231. package/docs/ko/roadmap.md +1 -1
  232. package/docs/pl/configuration.md +20 -17
  233. package/docs/pl/intlayer_with_nextjs_compiler.md +1 -3
  234. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +2 -6
  235. package/docs/pl/intlayer_with_tanstack.md +3 -3
  236. package/docs/pl/plugins/sync-json.md +10 -6
  237. package/docs/pt/how_works_intlayer.md +1 -1
  238. package/docs/pt/index.md +1 -1
  239. package/docs/pt/intlayer_with_astro.md +2 -2
  240. package/docs/pt/intlayer_with_create_react_app.md +2 -2
  241. package/docs/pt/intlayer_with_express.md +1 -1
  242. package/docs/pt/intlayer_with_lynx+react.md +1 -1
  243. package/docs/pt/intlayer_with_nextjs_14.md +2 -2
  244. package/docs/pt/intlayer_with_nextjs_15.md +2 -2
  245. package/docs/pt/intlayer_with_nextjs_compiler.md +1 -3
  246. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +2 -6
  247. package/docs/pt/intlayer_with_nextjs_page_router.md +3 -3
  248. package/docs/pt/intlayer_with_react_native+expo.md +1 -1
  249. package/docs/pt/intlayer_with_react_router_v7.md +3 -3
  250. package/docs/pt/intlayer_with_tanstack.md +3 -3
  251. package/docs/pt/intlayer_with_vite+solid.md +2 -2
  252. package/docs/pt/intlayer_with_vite+vue.md +2 -2
  253. package/docs/pt/introduction.md +1 -1
  254. package/docs/pt/packages/next-intlayer/useDictionary.md +1 -1
  255. package/docs/pt/packages/next-intlayer/useIntlayer.md +1 -1
  256. package/docs/pt/packages/react-intlayer/useDictionary.md +1 -1
  257. package/docs/pt/packages/react-intlayer/useI18n.md +1 -1
  258. package/docs/pt/packages/react-intlayer/useIntlayer.md +1 -1
  259. package/docs/pt/plugins/sync-json.md +10 -6
  260. package/docs/pt/roadmap.md +1 -1
  261. package/docs/ru/how_works_intlayer.md +1 -1
  262. package/docs/ru/index.md +1 -1
  263. package/docs/ru/intlayer_with_astro.md +2 -2
  264. package/docs/ru/intlayer_with_create_react_app.md +2 -2
  265. package/docs/ru/intlayer_with_express.md +1 -1
  266. package/docs/ru/intlayer_with_lynx+react.md +1 -1
  267. package/docs/ru/intlayer_with_nextjs_14.md +2 -2
  268. package/docs/ru/intlayer_with_nextjs_15.md +2 -2
  269. package/docs/ru/intlayer_with_nextjs_compiler.md +1 -3
  270. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +2 -6
  271. package/docs/ru/intlayer_with_nextjs_page_router.md +3 -3
  272. package/docs/ru/intlayer_with_react_native+expo.md +1 -1
  273. package/docs/ru/intlayer_with_react_router_v7.md +3 -3
  274. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +3 -3
  275. package/docs/ru/intlayer_with_tanstack.md +3 -3
  276. package/docs/ru/intlayer_with_vite+solid.md +2 -2
  277. package/docs/ru/intlayer_with_vite+vue.md +2 -2
  278. package/docs/ru/introduction.md +1 -1
  279. package/docs/ru/packages/next-intlayer/useDictionary.md +1 -1
  280. package/docs/ru/packages/next-intlayer/useIntlayer.md +1 -1
  281. package/docs/ru/packages/react-intlayer/useDictionary.md +1 -1
  282. package/docs/ru/packages/react-intlayer/useI18n.md +1 -1
  283. package/docs/ru/packages/react-intlayer/useIntlayer.md +1 -1
  284. package/docs/ru/plugins/sync-json.md +10 -6
  285. package/docs/ru/roadmap.md +1 -1
  286. package/docs/tr/intlayer_with_astro.md +2 -2
  287. package/docs/tr/intlayer_with_nextjs_compiler.md +1 -3
  288. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +2 -6
  289. package/docs/tr/intlayer_with_react_router_v7.md +3 -3
  290. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +3 -3
  291. package/docs/tr/intlayer_with_tanstack.md +3 -3
  292. package/docs/tr/packages/next-intlayer/useDictionary.md +1 -1
  293. package/docs/tr/packages/next-intlayer/useIntlayer.md +1 -1
  294. package/docs/tr/packages/react-intlayer/useDictionary.md +1 -1
  295. package/docs/tr/packages/react-intlayer/useI18n.md +1 -1
  296. package/docs/tr/packages/react-intlayer/useIntlayer.md +1 -1
  297. package/docs/tr/plugins/sync-json.md +10 -6
  298. package/docs/uk/configuration.md +20 -17
  299. package/docs/uk/intlayer_with_nextjs_compiler.md +1 -3
  300. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +2 -6
  301. package/docs/uk/intlayer_with_tanstack.md +3 -3
  302. package/docs/vi/configuration.md +20 -17
  303. package/docs/vi/intlayer_with_nextjs_compiler.md +1 -3
  304. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +2 -6
  305. package/docs/vi/intlayer_with_tanstack.md +3 -3
  306. package/docs/vi/intlayer_with_vite+preact.md +1 -1
  307. package/docs/vi/plugins/sync-json.md +10 -6
  308. package/docs/zh/how_works_intlayer.md +1 -1
  309. package/docs/zh/index.md +1 -1
  310. package/docs/zh/intlayer_with_astro.md +2 -2
  311. package/docs/zh/intlayer_with_create_react_app.md +2 -2
  312. package/docs/zh/intlayer_with_express.md +1 -1
  313. package/docs/zh/intlayer_with_lynx+react.md +1 -1
  314. package/docs/zh/intlayer_with_nextjs_14.md +2 -2
  315. package/docs/zh/intlayer_with_nextjs_15.md +2 -2
  316. package/docs/zh/intlayer_with_nextjs_compiler.md +1 -3
  317. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +2 -6
  318. package/docs/zh/intlayer_with_nextjs_page_router.md +3 -3
  319. package/docs/zh/intlayer_with_react_native+expo.md +1 -1
  320. package/docs/zh/intlayer_with_react_router_v7.md +3 -3
  321. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +3 -3
  322. package/docs/zh/intlayer_with_tanstack.md +1 -1
  323. package/docs/zh/intlayer_with_vite+solid.md +2 -2
  324. package/docs/zh/intlayer_with_vite+vue.md +2 -2
  325. package/docs/zh/introduction.md +1 -1
  326. package/docs/zh/packages/next-intlayer/useDictionary.md +1 -1
  327. package/docs/zh/packages/next-intlayer/useIntlayer.md +1 -1
  328. package/docs/zh/packages/react-intlayer/useDictionary.md +1 -1
  329. package/docs/zh/packages/react-intlayer/useI18n.md +1 -1
  330. package/docs/zh/packages/react-intlayer/useIntlayer.md +1 -1
  331. package/docs/zh/plugins/sync-json.md +10 -6
  332. package/docs/zh/roadmap.md +1 -1
  333. package/package.json +7 -7
@@ -66,7 +66,7 @@ bunx intlayer init
66
66
 
67
67
  - **intlayer**
68
68
 
69
- Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, traduzione, [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), transpilation e [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
69
+ Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, traduzione, [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), transpilation e [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
70
70
 
71
71
  - **next-intlayer**
72
72
 
@@ -438,7 +438,7 @@ module.exports = pageContent;
438
438
 
439
439
  > Le dichiarazioni dei tuoi contenuti possono essere definite ovunque nella tua applicazione purché siano incluse nella directory `contentDir` (di default, `./src`). E corrispondano all'estensione del file di dichiarazione dei contenuti (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
440
440
 
441
- > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
441
+ > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
442
442
 
443
443
  ### Passo 7: Utilizza i contenuti nel tuo codice
444
444
 
@@ -76,7 +76,7 @@ bunx intlayer init
76
76
 
77
77
  - **intlayer**
78
78
 
79
- Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
79
+ Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
80
80
 
81
81
  - **next-intlayer**
82
82
 
@@ -429,7 +429,7 @@ module.exports = pageContent;
429
429
 
430
430
  > Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
431
431
 
432
- > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
432
+ > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
433
433
 
434
434
  ### Passo 6: Utilizza il Contenuto nel Tuo Codice
435
435
 
@@ -379,9 +379,7 @@ import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
379
379
  import { useLocale } from "next-intlayer";
380
380
 
381
381
  export const LocaleSwitcher: FC = () => {
382
- const { locale, availableLocales, setLocale } = useLocale({
383
- onChange: () => window.location.reload(),
384
- });
382
+ const { locale, availableLocales, setLocale } = useLocale();
385
383
 
386
384
  return (
387
385
  <div>
@@ -878,9 +878,7 @@ import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
878
878
  import { useLocale } from "next-intlayer";
879
879
 
880
880
  export const LocaleSwitcher: FC = () => {
881
- const { locale, availableLocales, setLocale } = useLocale({
882
- onChange: () => window.location.reload(),
883
- });
881
+ const { locale, availableLocales, setLocale } = useLocale();
884
882
 
885
883
  return (
886
884
  <div>
@@ -923,9 +921,7 @@ import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
923
921
  import { useLocale } from "next-intlayer";
924
922
 
925
923
  export const LocaleSwitcher = () => {
926
- const { locale, availableLocales, setLocale } = useLocale({
927
- onChange: () => window.location.reload(),
928
- });
924
+ const { locale, availableLocales, setLocale } = useLocale();
929
925
 
930
926
  return (
931
927
  <div>
@@ -72,7 +72,7 @@ bunx intlayer init
72
72
 
73
73
  - **intlayer**
74
74
 
75
- Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
75
+ Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
76
76
 
77
77
  - **next-intlayer**
78
78
 
@@ -443,7 +443,7 @@ module.exports = homeContent;
443
443
  }
444
444
  ```
445
445
 
446
- Per maggiori informazioni sulla dichiarazione dei contenuti, consulta la [guida alla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
446
+ Per maggiori informazioni sulla dichiarazione dei contenuti, consulta la [guida alla dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
447
447
 
448
448
  ### Passo 7: Utilizza i Contenuti nel Tuo Codice
449
449
 
@@ -1494,7 +1494,7 @@ Per maggiori dettagli su come utilizzare l'estensione, consulta la [documentazio
1494
1494
  ## Risorse Aggiuntive
1495
1495
 
1496
1496
  - **Documentazione Intlayer:** [Repository GitHub](https://github.com/aymericzip/intlayer)
1497
- - **Guida al Dizionario:** [Dizionario](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md)
1497
+ - **Guida al Dizionario:** [Dizionario](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
1498
1498
  - **Documentazione di Configurazione:** [Guida alla Configurazione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/configuration.md)
1499
1499
 
1500
1500
  Seguendo questa guida, puoi integrare efficacemente Intlayer nella tua applicazione Next.js utilizzando il Page Router, abilitando un supporto per l'internazionalizzazione robusto e scalabile per i tuoi progetti web.
@@ -326,7 +326,7 @@ module.exports = appContent;
326
326
  }
327
327
  ```
328
328
 
329
- > Per dettagli sulle dichiarazioni di contenuto, consulta la [documentazione di Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
329
+ > Per dettagli sulle dichiarazioni di contenuto, consulta la [documentazione di Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
330
330
 
331
331
  ---
332
332
 
@@ -88,7 +88,7 @@ bunx intlayer init
88
88
 
89
89
  - **intlayer**
90
90
 
91
- - **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
91
+ - **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
92
92
 
93
93
  - **react-intlayer**
94
94
  Il pacchetto che integra Intlayer con l'applicazione React. Fornisce provider di contesto e hook per l'internazionalizzazione in React.
@@ -290,7 +290,7 @@ export default pageContent;
290
290
 
291
291
  > Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena vengono incluse nella directory `contentDir` (per default, `./app`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (per default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
292
292
 
293
- > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
293
+ > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
294
294
 
295
295
  ### Passo 7: Crea Componenti Consapevoli della Locale
296
296
 
@@ -587,7 +587,7 @@ Per andare oltre, puoi implementare l’[editor visuale](https://github.com/ayme
587
587
  - [Documentazione React Router v7](https://reactrouter.com/)
588
588
  - [Hook useIntlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useIntlayer.md)
589
589
  - [Hook useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useLocale.md)
590
- - [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md)
590
+ - [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
591
591
  - [Configurazione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/configuration.md)
592
592
 
593
593
  Questa guida completa fornisce tutto il necessario per integrare Intlayer con React Router v7 per un'applicazione completamente internazionalizzata con routing consapevole della localizzazione e supporto TypeScript.
@@ -103,7 +103,7 @@ bunx intlayer init
103
103
 
104
104
  - **intlayer**
105
105
 
106
- - **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
106
+ - **Il pacchetto core** che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
107
107
 
108
108
  - **react-intlayer**
109
109
  Il pacchetto che integra Intlayer con l'applicazione React. Fornisce provider di contesto e hook per l'internazionalizzazione in React.
@@ -428,7 +428,7 @@ export default aboutContent;
428
428
 
429
429
  > Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena vengono incluse nella directory `contentDir` (per default, `./app`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (per default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
430
430
 
431
- > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
431
+ > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
432
432
 
433
433
  ### Passo 7: Crea Componenti Consapevoli della Locale
434
434
 
@@ -655,7 +655,7 @@ Per andare oltre, puoi implementare l’[editor visuale](https://github.com/ayme
655
655
  - [Documentazione React Router fs-routes](https://reactrouter.com/how-to/file-route-conventions)
656
656
  - [Hook useIntlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useIntlayer.md)
657
657
  - [Hook useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/packages/react-intlayer/useLocale.md)
658
- - [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md)
658
+ - [Dichiarazione dei Contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)
659
659
  - [Configurazione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/configuration.md)
660
660
 
661
661
  Questa guida completa fornisce tutto il necessario per integrare Intlayer con React Router v7 usando routing basato sul file system per un'applicazione completamente internazionalizzata con routing consapevole della localizzazione e supporto TypeScript.
@@ -94,7 +94,7 @@ bunx intlayer init
94
94
 
95
95
  - **intlayer**
96
96
 
97
- Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
97
+ Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
98
98
 
99
99
  - **preact-intlayer**
100
100
  Il pacchetto che integra Intlayer con l'applicazione Preact. Fornisce provider di contesto e hook per l'internazionalizzazione in Preact.
@@ -421,7 +421,7 @@ module.exports = appContent;
421
421
 
422
422
  > Le tue dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (per impostazione predefinita, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (per impostazione predefinita, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
423
423
 
424
- > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
424
+ > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
425
425
 
426
426
  > Se il tuo file di contenuto include codice TSX, potresti dover importare `import { h } from "preact";` o assicurarti che il pragma JSX sia correttamente impostato per Preact.
427
427
 
@@ -104,7 +104,7 @@ bunx intlayer init
104
104
 
105
105
  - **intlayer**
106
106
 
107
- Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
107
+ Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
108
108
 
109
109
  - **solid-intlayer**
110
110
 
@@ -266,7 +266,7 @@ module.exports = appContent;
266
266
 
267
267
  > Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena vengono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
268
268
 
269
- > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
269
+ > Per maggiori dettagli, consulta la [documentazione sulla dichiarazione del contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
270
270
 
271
271
  ### Passo 5: Utilizzare Intlayer nel tuo codice
272
272
 
@@ -93,7 +93,7 @@ bunx intlayer init
93
93
 
94
94
  - **intlayer**
95
95
 
96
- Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
96
+ Il pacchetto principale che fornisce strumenti di internazionalizzazione per la gestione della configurazione, la traduzione, la [dichiarazione dei contenuti](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md), la traspilazione e i [comandi CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/intlayer_cli.md).
97
97
 
98
98
  - **vue-intlayer**
99
99
  Il pacchetto che integra Intlayer con l'applicazione Vue. Fornisce provider di contesto e composables per l'internazionalizzazione in Vue.
@@ -439,7 +439,7 @@ module.exports = appContent;
439
439
 
440
440
  > Le dichiarazioni di contenuto possono essere definite ovunque nella tua applicazione non appena sono incluse nella directory `contentDir` (di default, `./src`). E devono corrispondere all'estensione del file di dichiarazione del contenuto (di default, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
441
441
 
442
- > Per maggiori dettagli, consulta la [documentazione sulle dichiarazioni di contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
442
+ > Per maggiori dettagli, consulta la [documentazione sulle dichiarazioni di contenuto](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
443
443
 
444
444
  ### Passo 5: Utilizzare Intlayer nel tuo Codice
445
445
 
@@ -158,7 +158,7 @@ Intlayer offre una varietà di funzionalità progettate per soddisfare le esigen
158
158
 
159
159
  Organizza i tuoi contenuti multilingue vicino al codice per mantenere tutto coerente e facilmente gestibile.
160
160
 
161
- - **[Inizia Qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md)**
161
+ - **[Inizia Qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md)**
162
162
  Impara le basi per dichiarare i tuoi contenuti in Intlayer.
163
163
 
164
164
  - **[Traduzione](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/translation.md)**
@@ -69,7 +69,7 @@ L'hook accetta due parametri:
69
69
 
70
70
  ## Dizionario
71
71
 
72
- Tutti gli oggetti dizionario devono essere dichiarati in file di contenuto strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md). Ecco un esempio di dichiarazione del contenuto:
72
+ Tutti gli oggetti dizionario devono essere dichiarati in file di contenuto strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md). Ecco un esempio di dichiarazione del contenuto:
73
73
 
74
74
  ```typescript fileName="component.content.ts" codeFormat="typescript"
75
75
  import { t, type Dictionary } from "intlayer";
@@ -69,7 +69,7 @@ A seconda che tu stia lavorando su componenti client-side o server-side in un'ap
69
69
 
70
70
  È fondamentale che tutte le chiavi di contenuto siano definite all'interno dei file di dichiarazione del contenuto per evitare errori di runtime e garantire la sicurezza dei tipi. Questo approccio facilita anche l'integrazione con TypeScript per la validazione a tempo di compilazione.
71
71
 
72
- Le istruzioni per configurare i file di dichiarazione del contenuto sono disponibili [qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md).
72
+ Le istruzioni per configurare i file di dichiarazione del contenuto sono disponibili [qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md).
73
73
 
74
74
  ## Esempio di utilizzo in Next.js
75
75
 
@@ -68,7 +68,7 @@ Il hook accetta due parametri:
68
68
 
69
69
  ## Dizionario
70
70
 
71
- Tutti gli oggetti dizionario devono essere dichiarati in file di contenuti strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/get_started.md). Ecco un esempio di dichiarazione del contenuto:
71
+ Tutti gli oggetti dizionario devono essere dichiarati in file di contenuti strutturati per garantire la sicurezza dei tipi e prevenire errori a runtime. Puoi trovare le [istruzioni di configurazione qui](https://github.com/aymericzip/intlayer/blob/main/docs/docs/it/dictionary/content_file.md). Ecco un esempio di dichiarazione del contenuto:
72
72
 
73
73
  ```typescript fileName="./component.content.ts" contentDeclarationFormat="typescript"
74
74
  import { t, type Dictionary } from "intlayer";
@@ -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
 
@@ -379,9 +379,7 @@ import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
379
379
  import { useLocale } from "next-intlayer";
380
380
 
381
381
  export const LocaleSwitcher: FC = () => {
382
- const { locale, availableLocales, setLocale } = useLocale({
383
- onChange: () => window.location.reload(),
384
- });
382
+ const { locale, availableLocales, setLocale } = useLocale();
385
383
 
386
384
  return (
387
385
  <div>
@@ -933,9 +933,7 @@ import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
933
933
  import { useLocale } from "next-intlayer";
934
934
 
935
935
  export const LocaleSwitcher: FC = () => {
936
- const { locale, availableLocales, setLocale } = useLocale({
937
- onChange: () => window.location.reload(),
938
- });
936
+ const { locale, availableLocales, setLocale } = useLocale();
939
937
 
940
938
  return (
941
939
  <div>
@@ -997,9 +995,7 @@ import { Locales, getHTMLTextDir, getLocaleName } from "intlayer";
997
995
  import { useLocale } from "next-intlayer";
998
996
 
999
997
  export const LocaleSwitcher = () => {
1000
- const { locale, availableLocales, setLocale } = useLocale({
1001
- onChange: () => window.location.reload(),
1002
- });
998
+ const { locale, availableLocales, setLocale } = useLocale();
1003
999
 
1004
1000
  return (
1005
1001
  <div>
@@ -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サポートを備えた完全に国際化されたアプリケーションを構築するために必要なすべてを提供します。