@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
@@ -76,7 +76,7 @@ bunx intlayer init
76
76
 
77
77
  - **intlayer**
78
78
 
79
- 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
79
+ 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
80
80
 
81
81
  - **next-intlayer**
82
82
 
@@ -433,7 +433,7 @@ module.exports = pageContent;
433
433
 
434
434
  > 콘텐츠 선언은 애플리케이션 내 어디에서든 정의할 수 있으며, `contentDir` 디렉토리(기본값 `./src`)에 포함되기만 하면 됩니다. 그리고 콘텐츠 선언 파일 확장자(기본값 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
435
435
 
436
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
436
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
437
437
 
438
438
  ### 6단계: 코드에서 콘텐츠 활용하기
439
439
 
@@ -441,7 +441,7 @@ module.exports = pageContent;
441
441
 
442
442
  > 애플리케이션 내 어디에서든 `contentDir` 디렉토리(기본값은 `./src`)에 포함되기만 하면 콘텐츠 선언을 정의할 수 있습니다. 그리고 콘텐츠 선언 파일 확장자(기본값은 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
443
443
 
444
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
444
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
445
445
 
446
446
  ### 6단계: 코드에서 콘텐츠 활용하기
447
447
 
@@ -70,7 +70,7 @@ bunx intlayer init
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
 
@@ -472,7 +472,7 @@ module.exports = homeContent;
472
472
  }
473
473
  ```
474
474
 
475
- 자세한 내용은 [콘텐츠 선언 가이드](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
475
+ 자세한 내용은 [콘텐츠 선언 가이드](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
476
476
 
477
477
  ### 7단계: 코드에서 콘텐츠 활용하기
478
478
 
@@ -1516,7 +1516,7 @@ Intlayer와 함께 개발 경험을 향상시키기 위해 공식 **Intlayer VS
1516
1516
  ## 추가 자료
1517
1517
 
1518
1518
  - **Intlayer 문서:** [GitHub 저장소](https://github.com/aymericzip/intlayer)
1519
- - **사전 가이드:** [사전](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)
1519
+ - **사전 가이드:** [사전](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)
1520
1520
  - **설정 문서:** [설정 가이드](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/configuration.md)
1521
1521
 
1522
1522
  이 가이드를 따르면 Next.js 애플리케이션에서 페이지 라우터를 사용하여 Intlayer를 효과적으로 통합할 수 있으며, 웹 프로젝트에 강력하고 확장 가능한 국제화 지원을 제공할 수 있습니다.
@@ -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
 
@@ -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/ko/dictionary/get_started.md), 트랜스파일링 및 [CLI 명령어](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/intlayer_cli.md)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
92
+ 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
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/ko/dictionary/get_started.md)를 참조하세요.
292
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
293
293
 
294
294
  ### 7단계: 로케일 인식 컴포넌트 생성
295
295
 
@@ -583,7 +583,7 @@ Intlayer 개발 경험을 향상시키기 위해 공식 **Intlayer VS 코드 확
583
583
  - [React Router v7 문서](https://reactrouter.com/)
584
584
  - [useIntlayer 훅](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/packages/react-intlayer/useIntlayer.md)
585
585
  - [useLocale 훅](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/packages/react-intlayer/useLocale.md)
586
- - [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)
586
+ - [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)
587
587
  - [설정](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/configuration.md)
588
588
 
589
589
  이 포괄적인 가이드는 Intlayer를 React Router v7과 통합하여 로케일 인식 라우팅과 TypeScript 지원이 포함된 완전한 국제화 애플리케이션을 구축하는 데 필요한 모든 것을 제공합니다.
@@ -88,7 +88,7 @@ bunx intlayer init
88
88
  - **intlayer**
89
89
 
90
90
  - **intlayer**
91
- 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
91
+ 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
92
92
 
93
93
  - **react-intlayer**
94
94
  Intlayer를 React 애플리케이션과 통합하는 패키지로, React 국제화를 위한 컨텍스트 제공자와 훅을 제공합니다.
@@ -259,7 +259,7 @@ export default pageContent;
259
259
 
260
260
  > 콘텐츠 선언은 애플리케이션 내 어디서든 정의할 수 있으며, `contentDir` 디렉토리(기본값: `./app`)에 포함되면 자동으로 인식됩니다. 또한 콘텐츠 선언 파일 확장자(기본값: `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
261
261
 
262
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
262
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
263
263
 
264
264
  ### 7단계: 로케일 인식 컴포넌트 생성
265
265
 
@@ -528,7 +528,7 @@ Intlayer 개발 경험을 향상시키기 위해 공식 **Intlayer VS 코드 확
528
528
  - [React Router v7 문서](https://reactrouter.com/)
529
529
  - [useIntlayer 훅](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/packages/react-intlayer/useIntlayer.md)
530
530
  - [useLocale 훅](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/packages/react-intlayer/useLocale.md)
531
- - [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)
531
+ - [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)
532
532
  - [설정](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/configuration.md)
533
533
 
534
534
  이 포괄적인 가이드는 Intlayer를 React Router v7과 통합하여 로케일 인식 라우팅과 TypeScript 지원이 포함된 완전한 국제화 애플리케이션을 구축하는 데 필요한 모든 것을 제공합니다.
@@ -425,7 +425,7 @@ module.exports = appContent;
425
425
 
426
426
  > 콘텐츠 선언은 애플리케이션 내 어디에서든 `contentDir` 디렉토리(기본값은 `./src`)에 포함되기만 하면 정의할 수 있습니다. 그리고 콘텐츠 선언 파일 확장자(기본값은 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
427
427
 
428
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
428
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
429
429
 
430
430
  > 콘텐츠 파일에 TSX 코드가 포함된 경우, `import { h } from "preact";`를 임포트하거나 JSX 프래그마가 Preact에 맞게 올바르게 설정되어 있는지 확인해야 할 수 있습니다.
431
431
 
@@ -104,7 +104,7 @@ bunx intlayer init
104
104
 
105
105
  - **intlayer**
106
106
 
107
- 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
107
+ 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
108
108
 
109
109
  - **solid-intlayer**
110
110
  Intlayer를 Solid 애플리케이션과 통합하는 패키지입니다. Solid 국제화를 위한 컨텍스트 제공자와 훅을 제공합니다.
@@ -264,7 +264,7 @@ module.exports = appContent;
264
264
 
265
265
  > 콘텐츠 선언은 애플리케이션 내 어디에서든 `contentDir` 디렉토리(기본값은 `./src`)에 포함되기만 하면 정의할 수 있습니다. 그리고 콘텐츠 선언 파일 확장자(기본값은 `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
266
266
 
267
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
267
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
268
268
 
269
269
  ### 5단계: 코드에서 Intlayer 활용하기
270
270
 
@@ -95,7 +95,7 @@ bunx intlayer init
95
95
 
96
96
  - **intlayer**
97
97
 
98
- 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
98
+ 구성 관리, 번역, [콘텐츠 선언](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)를 위한 국제화 도구를 제공하는 핵심 패키지입니다.
99
99
 
100
100
  - **vue-intlayer**
101
101
  Intlayer를 Vue 애플리케이션과 통합하는 패키지로, Vue 국제화를 위한 컨텍스트 프로바이더와 컴포저블을 제공합니다.
@@ -434,7 +434,7 @@ module.exports = appContent;
434
434
 
435
435
  > 귀하의 콘텐츠 선언은 애플리케이션 내 어디에서나 정의할 수 있으며, `contentDir` 디렉토리(기본값: `./src`)에 포함되기만 하면 됩니다. 또한 콘텐츠 선언 파일 확장자(기본값: `.content.{json,ts,tsx,js,jsx,mjs,cjs}`)와 일치해야 합니다.
436
436
 
437
- > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)를 참조하세요.
437
+ > 자세한 내용은 [콘텐츠 선언 문서](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)를 참조하세요.
438
438
 
439
439
  ### 5단계: 코드에서 Intlayer 활용하기
440
440
 
@@ -158,7 +158,7 @@ Intlayer는 현대 웹 개발의 요구에 맞춘 다양한 기능을 제공합
158
158
 
159
159
  다국어 콘텐츠를 코드 가까이에 정리하여 모든 것을 일관되고 유지 관리하기 쉽게 만드세요.
160
160
 
161
- - **[시작하기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)**
161
+ - **[시작하기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)**
162
162
  Intlayer에서 콘텐츠를 선언하는 기본 사항을 배우세요.
163
163
 
164
164
  - **[번역](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/translation.md)**
@@ -69,7 +69,7 @@ history:
69
69
 
70
70
  ## 사전
71
71
 
72
- 모든 사전 객체는 타입 안전성을 보장하고 런타임 오류를 방지하기 위해 구조화된 콘텐츠 파일에 선언되어야 합니다. [설정 지침은 여기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/get_started.md)에서 확인할 수 있습니다. 다음은 콘텐츠 선언 예시입니다:
72
+ 모든 사전 객체는 타입 안전성을 보장하고 런타임 오류를 방지하기 위해 구조화된 콘텐츠 파일에 선언되어야 합니다. [설정 지침은 여기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/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/ko/dictionary/get_started.md)에서 확인할 수 있습니다.
72
+ 콘텐츠 선언 파일 설정에 대한 지침은 [여기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/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/ko/dictionary/get_started.md)에서 확인할 수 있습니다. 다음은 콘텐츠 선언 예시입니다:
71
+ 모든 사전 객체는 타입 안전성을 보장하고 런타임 오류를 방지하기 위해 구조화된 콘텐츠 파일에 선언되어야 합니다. [설정 지침은 여기](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/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/ko/dictionary/get_started.md).
73
+ 모든 사전 키는 타입 안전성을 높이고 오류를 방지하기 위해 콘텐츠 선언 파일 내에 선언되어야 합니다. [설정 지침은 여기에서 확인할 수 있습니다](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/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/ko/dictionary/get_started.md).
72
+ 모든 사전 키는 타입 안전성을 높이고 오류를 방지하기 위해 콘텐츠 선언 파일 내에 선언되어야 합니다. [설정 지침은 여기에서 확인할 수 있습니다](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/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/ko/dictionary/get_started.md)
42
+ > - [콘텐츠 선언](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ko/dictionary/content_file.md)
43
43
 
44
44
  ### 2. 국제화
45
45
 
@@ -732,8 +732,9 @@ Oto kilka typowych przykładów konfiguracji dla nowej struktury routingu w wers
732
732
  **Podstawowa konfiguracja (domyślna)**:
733
733
 
734
734
  ```typescript
735
+ import { Locales, type IntlayerConfig } from "intlayer";
735
736
  // intlayer.config.ts
736
- export default defineConfig({
737
+ const config: IntlayerConfig = {
737
738
  internationalization: {
738
739
  locales: ["en", "fr", "es"],
739
740
  defaultLocale: "en",
@@ -742,16 +743,18 @@ export default defineConfig({
742
743
  mode: "prefix-no-default",
743
744
  storage: "localStorage",
744
745
  headerName: "x-intlayer-locale",
745
- basePath: "",
746
746
  },
747
- });
747
+ };
748
+
749
+ export default config;
748
750
  ```
749
751
 
750
752
  **Konfiguracja zgodna z RODO**:
751
753
 
752
754
  ```typescript
755
+ import { Locales, type IntlayerConfig } from "intlayer";
753
756
  // intlayer.config.ts
754
- export default defineConfig({
757
+ const config: IntlayerConfig = {
755
758
  internationalization: {
756
759
  locales: ["en", "fr", "es"],
757
760
  defaultLocale: "en",
@@ -771,35 +774,36 @@ export default defineConfig({
771
774
  httpOnly: false,
772
775
  },
773
776
  ],
774
- headerName: "x-intlayer-locale",
775
- basePath: "",
776
777
  },
777
- });
778
+ };
779
+
780
+ export default config;
778
781
  ```
779
782
 
780
783
  **Tryb parametrów wyszukiwania**:
781
784
 
782
785
  ```typescript
786
+ import { Locales, type IntlayerConfig } from "intlayer";
783
787
  // intlayer.config.ts
784
- export default defineConfig({
788
+ const config: IntlayerConfig = {
785
789
  internationalization: {
786
790
  locales: ["en", "fr", "es"],
787
791
  defaultLocale: "en",
788
792
  },
789
793
  routing: {
790
794
  mode: "search-params",
791
- storage: "localStorage",
792
- headerName: "x-intlayer-locale",
793
- basePath: "",
794
795
  },
795
- });
796
+ };
797
+
798
+ export default config;
796
799
  ```
797
800
 
798
801
  **Tryb bez prefiksu z niestandardową pamięcią**:
799
802
 
800
803
  ```typescript
804
+ import { Locales, type IntlayerConfig } from "intlayer";
801
805
  // intlayer.config.ts
802
- export default defineConfig({
806
+ const config: IntlayerConfig = {
803
807
  internationalization: {
804
808
  locales: ["en", "fr", "es"],
805
809
  defaultLocale: "en",
@@ -808,12 +812,11 @@ export default defineConfig({
808
812
  mode: "no-prefix",
809
813
  storage: {
810
814
  type: "sessionStorage",
811
- name: "app-locale",
812
815
  },
813
- headerName: "x-custom-locale",
814
- basePath: "/my-app",
815
816
  },
816
- });
817
+ };
818
+
819
+ export default config;
817
820
  ```
818
821
 
819
822
  ---
@@ -121,7 +121,7 @@ bunx intlayer init
121
121
 
122
122
  - **intlayer**
123
123
 
124
- Podstawowy pakiet, który dostarcza narzędzia do internacjonalizacji dla zarządzania konfiguracją, tłumaczeń, [deklaracji treści](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/get_started.md), transpiliacji oraz [poleceń CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/intlayer_cli.md).
124
+ Podstawowy pakiet, który dostarcza narzędzia do internacjonalizacji dla zarządzania konfiguracją, tłumaczeń, [deklaracji treści](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/content_file.md), transpiliacji oraz [poleceń CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/intlayer_cli.md).
125
125
 
126
126
  - **react-intlayer**
127
127
  Pakiet integrujący Intlayer z aplikacją React. Zapewnia dostawców kontekstu oraz hooki do internacjonalizacji w React.
@@ -302,7 +302,7 @@ export default appContent;
302
302
 
303
303
  > Twoje deklaracje zawartości mogą być definiowane w dowolnym miejscu w Twojej aplikacji, pod warunkiem, że zostaną umieszczone w katalogu `contentDir` (domyślnie `./app`). I będą miały rozszerzenie pliku deklaracji zawartości (domyślnie `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
304
304
 
305
- > Po więcej szczegółów odsyłamy do [dokumentacji deklaracji zawartości](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/get_started.md).
305
+ > Po więcej szczegółów odsyłamy do [dokumentacji deklaracji zawartości](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/content_file.md).
306
306
 
307
307
  ### Krok 8: Tworzenie komponentów i hooków uwzględniających lokalizację
308
308
 
@@ -794,5 +794,5 @@ Aby pójść dalej, możesz zaimplementować [edytor wizualny](https://github.co
794
794
  - [Dokumentacja Tanstack Start](https://reactrouter.com/)
795
795
  - [Hook useIntlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/packages/react-intlayer/useIntlayer.md)
796
796
  - [useLocale hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/packages/react-intlayer/useLocale.md)
797
- - [Deklaracja treści](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/get_started.md)
797
+ - [Deklaracja treści](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/dictionary/content_file.md)
798
798
  - [Konfiguracja](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pl/configuration.md)
@@ -63,10 +63,10 @@ npm i -D @intlayer/sync-json-plugin
63
63
  Dodaj wtyczkę do swojego pliku `intlayer.config.ts` i wskaż ją na istniejącą strukturę JSON.
64
64
 
65
65
  ```ts fileName="intlayer.config.ts"
66
- import { defineConfig, Locales } from "intlayer";
66
+ import { Locales, type IntlayerConfig } from "intlayer";
67
67
  import { syncJSON } from "@intlayer/sync-json-plugin";
68
68
 
69
- export default defineConfig({
69
+ const config: IntlayerConfig = {
70
70
  internationalization: {
71
71
  locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
72
72
  defaultLocale: Locales.ENGLISH,
@@ -79,7 +79,9 @@ export default defineConfig({
79
79
  source: ({ key, locale }) => `./locales/${locale}/${key}.json`,
80
80
  }),
81
81
  ],
82
- });
82
+ };
83
+
84
+ export default config;
83
85
  ```
84
86
 
85
87
  Alternatywa: pojedynczy plik na locale (częste w konfiguracjach i18next/react-intl):
@@ -144,10 +146,10 @@ Gdy wiele wtyczek celuje w ten sam klucz słownika, parametr `priority` decyduje
144
146
  - Wtyczki o tym samym priorytecie są przetwarzane w kolejności, w jakiej pojawiają się w konfiguracji
145
147
 
146
148
  ```ts fileName="intlayer.config.ts"
147
- import { defineConfig, Locales } from "intlayer";
149
+ import { Locales, type IntlayerConfig } from "intlayer";
148
150
  import { syncJSON } from "@intlayer/sync-json-plugin";
149
151
 
150
- export default defineConfig({
152
+ const config: IntlayerConfig = {
151
153
  internationalization: {
152
154
  locales: [Locales.ENGLISH, Locales.FRENCH],
153
155
  defaultLocale: Locales.ENGLISH,
@@ -178,7 +180,9 @@ export default defineConfig({
178
180
  priority: 1,
179
181
  }),
180
182
  ],
181
- });
183
+ };
184
+
185
+ export default config;
182
186
  ```
183
187
 
184
188
  ### Rozwiązywanie konfliktów
@@ -78,7 +78,7 @@ const MyComponent = () => {
78
78
 
79
79
  Esse hook gerenciará a detecção de localidade para você e retornará o conteúdo para a localidade atual. Usando esse hook, você também poderá interpretar markdown, gerenciar pluralização e muito mais.
80
80
 
81
- > Para ver todos os recursos do Intlayer, você pode ler a [documentação de dicionário](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
81
+ > Para ver todos os recursos do Intlayer, você pode ler a [documentação de dicionário](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
82
82
 
83
83
  ## Conteúdo remoto
84
84
 
package/docs/pt/index.md CHANGED
@@ -56,7 +56,7 @@ Gerencie conteúdo e traduções usando nossa ferramenta de linha de comando. De
56
56
 
57
57
  Organize seu conteúdo multilíngue próximo ao seu código para manter tudo consistente e fácil de manter.
58
58
 
59
- - **[Começando](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md)**
59
+ - **[Começando](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md)**
60
60
  Aprenda o básico de como declarar seu conteúdo no Intlayer.
61
61
 
62
62
  - **[Tradução](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/translation.md)**
@@ -67,7 +67,7 @@ yarn add react react-dom react-intlayer @astrojs/react
67
67
  ```
68
68
 
69
69
  - **intlayer**
70
- O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md), transpiração e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
70
+ O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md), transpiração e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
71
71
 
72
72
  - **astro-intlayer**
73
73
  Inclui o plugin de integração do Astro para integrar o Intlayer com o [empacotador Vite](https://vite.dev/guide/why.html#why-bundle-for-production), assim como middleware para detectar o idioma preferido do usuário, gerenciar cookies e lidar com redirecionamento de URL.
@@ -138,7 +138,7 @@ export default appContent;
138
138
 
139
139
  > Suas declarações de conteúdo podem ser definidas em qualquer lugar da sua aplicação, desde que estejam incluídas no diretório `contentDir` (por padrão, `./src`). E correspondam à extensão do arquivo de declaração de conteúdo (por padrão, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
140
140
 
141
- > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
141
+ > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
142
142
 
143
143
  ### Passo 5: Use seu conteúdo no Astro
144
144
 
@@ -68,7 +68,7 @@ bunx intlayer init
68
68
 
69
69
  - **intlayer**
70
70
 
71
- O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md), transpilação e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
71
+ O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md), transpilação e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
72
72
 
73
73
  - **react-intlayer**
74
74
 
@@ -259,7 +259,7 @@ module.exports = appContent;
259
259
 
260
260
  > Suas declarações de conteúdo podem ser definidas em qualquer lugar da sua aplicação, desde que estejam incluídas no diretório `contentDir` (por padrão, `./src`). E correspondam à extensão do arquivo de declaração de conteúdo (por padrão, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
261
261
 
262
- > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
262
+ > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
263
263
 
264
264
  > Se o seu arquivo de conteúdo incluir código TSX, você deve considerar importar `import React from "react";` no seu arquivo de conteúdo.
265
265
 
@@ -223,7 +223,7 @@ module.exports = indexContent;
223
223
 
224
224
  > Suas declarações de conteúdo podem ser definidas em qualquer lugar da sua aplicação, desde que estejam incluídas no diretório `contentDir` (por padrão, `./src`). E correspondam à extensão de arquivo de declaração de conteúdo (por padrão, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
225
225
 
226
- > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
226
+ > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
227
227
 
228
228
  ### Configuração da Aplicação Express
229
229
 
@@ -370,7 +370,7 @@ module.exports = appContent;
370
370
  }
371
371
  ```
372
372
 
373
- > Para mais detalhes sobre declarações de conteúdo, consulte a [documentação de conteúdo do Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
373
+ > Para mais detalhes sobre declarações de conteúdo, consulte a [documentação de conteúdo do Intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
374
374
 
375
375
  ---
376
376
 
@@ -66,7 +66,7 @@ bunx intlayer init
66
66
 
67
67
  - **intlayer**
68
68
 
69
- O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md), transpilações e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
69
+ O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md), transpilações e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
70
70
 
71
71
  - **next-intlayer**
72
72
 
@@ -438,7 +438,7 @@ module.exports = pageContent;
438
438
 
439
439
  > Suas declarações de conteúdo podem ser definidas em qualquer lugar da sua aplicação, desde que estejam incluídas no diretório `contentDir` (por padrão, `./src`). E correspondam à extensão do arquivo de declaração de conteúdo (por padrão, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
440
440
 
441
- > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
441
+ > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
442
442
 
443
443
  ### Passo 7: Utilize o Conteúdo no Seu Código
444
444
 
@@ -76,7 +76,7 @@ bunx intlayer init
76
76
 
77
77
  - **intlayer**
78
78
 
79
- O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md), transpiração e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
79
+ O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md), transpiração e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
80
80
 
81
81
  - **next-intlayer**
82
82
 
@@ -429,7 +429,7 @@ module.exports = pageContent;
429
429
 
430
430
  > Suas declarações de conteúdo podem ser definidas em qualquer lugar da sua aplicação, desde que estejam incluídas no diretório `contentDir` (por padrão, `./src`). E correspondam à extensão do arquivo de declaração de conteúdo (por padrão, `.content.{json,ts,tsx,js,jsx,mjs,cjs}`).
431
431
 
432
- > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
432
+ > Para mais detalhes, consulte a [documentação de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
433
433
 
434
434
  ### Passo 6: Utilize o Conteúdo no Seu Código
435
435
 
@@ -72,7 +72,7 @@ bunx intlayer init
72
72
 
73
73
  - **intlayer**
74
74
 
75
- O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md), transpiração e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
75
+ O pacote principal que fornece ferramentas de internacionalização para gerenciamento de configuração, tradução, [declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md), transpiração e [comandos CLI](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_cli.md).
76
76
 
77
77
  - **next-intlayer**
78
78
 
@@ -448,7 +448,7 @@ module.exports = homeContent;
448
448
  }
449
449
  ```
450
450
 
451
- Para mais informações sobre como declarar conteúdo, consulte o [guia de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md).
451
+ Para mais informações sobre como declarar conteúdo, consulte o [guia de declaração de conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md).
452
452
 
453
453
  ### Passo 7: Utilize o Conteúdo no Seu Código
454
454
 
@@ -1527,7 +1527,7 @@ Para mais detalhes sobre como usar a extensão, consulte a [documentação da Ex
1527
1527
  ## Recursos Adicionais
1528
1528
 
1529
1529
  - **Documentação do Intlayer:** [Repositório GitHub](https://github.com/aymericzip/intlayer)
1530
- - **Guia do Dicionário:** [Dicionário](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/get_started.md)
1530
+ - **Guia do Dicionário:** [Dicionário](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md)
1531
1531
  - **Documentação de Configuração:** [Guia de Configuração](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/configuration.md)
1532
1532
 
1533
1533
  Seguindo este guia, você pode integrar efetivamente o Intlayer em sua aplicação Next.js usando o Page Router, possibilitando um suporte robusto e escalável para internacionalização em seus projetos web.