@intlayer/docs 6.1.6-canary.0 → 7.0.0-canary.0

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 (999) hide show
  1. package/blog/ar/next-i18next_vs_next-intl_vs_intlayer.md +14 -0
  2. package/blog/en/{intlayer_with_next-i18next.mdx → _intlayer_with_next-i18next.md} +69 -72
  3. package/blog/en/{intlayer_with_next-intl.mdx → _intlayer_with_next-intl.md} +52 -56
  4. package/blog/en/next-i18next_vs_next-intl_vs_intlayer.md +85 -80
  5. package/dist/cjs/_virtual/rolldown_runtime.cjs +25 -0
  6. package/dist/cjs/blog.cjs +20 -45
  7. package/dist/cjs/blog.cjs.map +1 -1
  8. package/dist/cjs/common.cjs +60 -136
  9. package/dist/cjs/common.cjs.map +1 -1
  10. package/dist/cjs/doc.cjs +20 -45
  11. package/dist/cjs/doc.cjs.map +1 -1
  12. package/dist/cjs/frequentQuestions.cjs +20 -45
  13. package/dist/cjs/frequentQuestions.cjs.map +1 -1
  14. package/dist/cjs/generated/blog.entry.cjs +438 -407
  15. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  16. package/dist/cjs/generated/docs.entry.cjs +1407 -1118
  17. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  18. package/dist/cjs/generated/frequentQuestions.entry.cjs +286 -254
  19. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  20. package/dist/cjs/generated/legal.entry.cjs +58 -78
  21. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  22. package/dist/cjs/index.cjs +33 -29
  23. package/dist/cjs/legal.cjs +20 -45
  24. package/dist/cjs/legal.cjs.map +1 -1
  25. package/dist/esm/blog.mjs +7 -17
  26. package/dist/esm/blog.mjs.map +1 -1
  27. package/dist/esm/common.mjs +45 -102
  28. package/dist/esm/common.mjs.map +1 -1
  29. package/dist/esm/doc.mjs +7 -17
  30. package/dist/esm/doc.mjs.map +1 -1
  31. package/dist/esm/frequentQuestions.mjs +7 -17
  32. package/dist/esm/frequentQuestions.mjs.map +1 -1
  33. package/dist/esm/generated/blog.entry.mjs +433 -382
  34. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  35. package/dist/esm/generated/docs.entry.mjs +1402 -1093
  36. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  37. package/dist/esm/generated/frequentQuestions.entry.mjs +281 -229
  38. package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
  39. package/dist/esm/generated/legal.entry.mjs +53 -53
  40. package/dist/esm/generated/legal.entry.mjs.map +1 -1
  41. package/dist/esm/index.mjs +6 -5
  42. package/dist/esm/legal.mjs +7 -17
  43. package/dist/esm/legal.mjs.map +1 -1
  44. package/dist/types/blog.d.ts +17 -12
  45. package/dist/types/blog.d.ts.map +1 -1
  46. package/dist/types/common.d.ts +30 -25
  47. package/dist/types/common.d.ts.map +1 -1
  48. package/dist/types/doc.d.ts +17 -12
  49. package/dist/types/doc.d.ts.map +1 -1
  50. package/dist/types/frequentQuestions.d.ts +17 -12
  51. package/dist/types/frequentQuestions.d.ts.map +1 -1
  52. package/dist/types/generated/blog.entry.d.ts +28 -24
  53. package/dist/types/generated/blog.entry.d.ts.map +1 -1
  54. package/dist/types/generated/docs.entry.d.ts +79 -69
  55. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  56. package/dist/types/generated/frequentQuestions.entry.d.ts +20 -15
  57. package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
  58. package/dist/types/generated/legal.entry.d.ts +8 -4
  59. package/dist/types/generated/legal.entry.d.ts.map +1 -1
  60. package/dist/types/index.d.ts +5 -5
  61. package/dist/types/legal.d.ts +17 -12
  62. package/dist/types/legal.d.ts.map +1 -1
  63. package/docs/ar/CI_CD.md +4 -6
  64. package/docs/ar/autoFill.md +10 -8
  65. package/docs/ar/configuration.md +16 -10
  66. package/docs/ar/dictionary/content_file.md +7 -7
  67. package/docs/ar/dictionary/enumeration.md +4 -4
  68. package/docs/ar/dictionary/file.md +4 -4
  69. package/docs/ar/dictionary/function_fetching.md +4 -4
  70. package/docs/ar/dictionary/gender.md +4 -6
  71. package/docs/ar/dictionary/insertion.md +4 -4
  72. package/docs/ar/dictionary/translation.md +4 -4
  73. package/docs/ar/formatters.md +19 -33
  74. package/docs/ar/how_works_intlayer.md +5 -5
  75. package/docs/ar/index.md +4 -4
  76. package/docs/ar/interest_of_intlayer.md +7 -7
  77. package/docs/ar/intlayer_CMS.md +10 -8
  78. package/docs/ar/intlayer_cli.md +7 -7
  79. package/docs/ar/intlayer_visual_editor.md +5 -5
  80. package/docs/ar/intlayer_with_angular.md +8 -8
  81. package/docs/ar/intlayer_with_astro.md +244 -0
  82. package/docs/ar/intlayer_with_create_react_app.md +9 -8
  83. package/docs/ar/intlayer_with_express.md +8 -8
  84. package/docs/ar/intlayer_with_lynx+react.md +6 -6
  85. package/docs/ar/intlayer_with_nestjs.md +8 -10
  86. package/docs/ar/intlayer_with_nextjs_14.md +4 -4
  87. package/docs/ar/intlayer_with_nextjs_15.md +9 -8
  88. package/docs/ar/intlayer_with_nextjs_page_router.md +8 -8
  89. package/docs/ar/intlayer_with_nuxt.md +8 -8
  90. package/docs/ar/intlayer_with_react_native+expo.md +17 -26
  91. package/docs/ar/intlayer_with_react_router_v7.md +199 -245
  92. package/docs/ar/intlayer_with_tanstack.md +203 -279
  93. package/docs/ar/intlayer_with_vite+preact.md +15 -15
  94. package/docs/ar/intlayer_with_vite+react.md +14 -14
  95. package/docs/ar/intlayer_with_vite+solid.md +6 -6
  96. package/docs/ar/intlayer_with_vite+svelte.md +6 -6
  97. package/docs/ar/intlayer_with_vite+vue.md +15 -15
  98. package/docs/ar/introduction.md +4 -4
  99. package/docs/ar/locale_mapper.md +4 -6
  100. package/docs/ar/mcp_server.md +13 -9
  101. package/docs/ar/packages/express-intlayer/t.md +4 -4
  102. package/docs/ar/packages/intlayer/getConfiguration.md +4 -4
  103. package/docs/ar/packages/intlayer/getEnumeration.md +4 -4
  104. package/docs/ar/packages/intlayer/getHTMLTextDir.md +4 -4
  105. package/docs/ar/packages/intlayer/getLocaleLang.md +4 -4
  106. package/docs/ar/packages/intlayer/getLocaleName.md +4 -4
  107. package/docs/ar/packages/intlayer/getLocalizedUrl.md +4 -4
  108. package/docs/ar/packages/intlayer/getMultilingualUrls.md +4 -4
  109. package/docs/ar/packages/intlayer/getTranslation.md +4 -4
  110. package/docs/ar/packages/intlayer/getTranslationContent.md +4 -4
  111. package/docs/ar/packages/next-intlayer/t.md +4 -4
  112. package/docs/ar/packages/next-intlayer/useDictionary.md +4 -4
  113. package/docs/ar/packages/next-intlayer/useIntlayer.md +4 -4
  114. package/docs/ar/packages/next-intlayer/useLocale.md +4 -4
  115. package/docs/ar/packages/react-intlayer/t.md +4 -4
  116. package/docs/ar/packages/react-intlayer/useDictionary.md +4 -4
  117. package/docs/ar/packages/react-intlayer/useLocale.md +4 -4
  118. package/docs/ar/per_locale_file.md +4 -4
  119. package/docs/ar/roadmap.md +7 -5
  120. package/docs/ar/testing.md +4 -7
  121. package/docs/ar/vs_code_extension.md +13 -9
  122. package/docs/de/CI_CD.md +4 -6
  123. package/docs/de/autoFill.md +10 -8
  124. package/docs/de/configuration.md +16 -10
  125. package/docs/de/dictionary/content_file.md +7 -7
  126. package/docs/de/dictionary/enumeration.md +4 -4
  127. package/docs/de/dictionary/file.md +4 -4
  128. package/docs/de/dictionary/function_fetching.md +4 -4
  129. package/docs/de/dictionary/gender.md +4 -6
  130. package/docs/de/dictionary/insertion.md +4 -4
  131. package/docs/de/dictionary/translation.md +4 -4
  132. package/docs/de/formatters.md +25 -57
  133. package/docs/de/how_works_intlayer.md +5 -7
  134. package/docs/de/index.md +4 -4
  135. package/docs/de/interest_of_intlayer.md +7 -7
  136. package/docs/de/intlayer_CMS.md +10 -8
  137. package/docs/de/intlayer_cli.md +7 -7
  138. package/docs/de/intlayer_visual_editor.md +5 -6
  139. package/docs/de/intlayer_with_angular.md +8 -8
  140. package/docs/de/intlayer_with_astro.md +244 -0
  141. package/docs/de/intlayer_with_create_react_app.md +4 -4
  142. package/docs/de/intlayer_with_express.md +8 -8
  143. package/docs/de/intlayer_with_lynx+react.md +6 -6
  144. package/docs/de/intlayer_with_nestjs.md +8 -10
  145. package/docs/de/intlayer_with_nextjs_14.md +4 -4
  146. package/docs/de/intlayer_with_nextjs_15.md +9 -8
  147. package/docs/de/intlayer_with_nextjs_page_router.md +8 -8
  148. package/docs/de/intlayer_with_nuxt.md +8 -8
  149. package/docs/de/intlayer_with_react_native+expo.md +17 -26
  150. package/docs/de/intlayer_with_react_router_v7.md +197 -246
  151. package/docs/de/intlayer_with_tanstack.md +198 -272
  152. package/docs/de/intlayer_with_vite+preact.md +15 -15
  153. package/docs/de/intlayer_with_vite+react.md +16 -15
  154. package/docs/de/intlayer_with_vite+solid.md +6 -6
  155. package/docs/de/intlayer_with_vite+svelte.md +6 -6
  156. package/docs/de/intlayer_with_vite+vue.md +17 -17
  157. package/docs/de/introduction.md +4 -4
  158. package/docs/de/locale_mapper.md +4 -6
  159. package/docs/de/mcp_server.md +13 -9
  160. package/docs/de/packages/express-intlayer/t.md +4 -4
  161. package/docs/de/packages/intlayer/getConfiguration.md +4 -4
  162. package/docs/de/packages/intlayer/getEnumeration.md +4 -4
  163. package/docs/de/packages/intlayer/getHTMLTextDir.md +4 -4
  164. package/docs/de/packages/intlayer/getLocaleLang.md +4 -4
  165. package/docs/de/packages/intlayer/getLocaleName.md +4 -4
  166. package/docs/de/packages/intlayer/getLocalizedUrl.md +4 -4
  167. package/docs/de/packages/intlayer/getMultilingualUrls.md +4 -4
  168. package/docs/de/packages/intlayer/getPathWithoutLocale.md +4 -4
  169. package/docs/de/packages/intlayer/getTranslation.md +4 -4
  170. package/docs/de/packages/intlayer/getTranslationContent.md +4 -4
  171. package/docs/de/packages/next-intlayer/t.md +4 -4
  172. package/docs/de/packages/next-intlayer/useDictionary.md +4 -4
  173. package/docs/de/packages/next-intlayer/useIntlayer.md +4 -4
  174. package/docs/de/packages/next-intlayer/useLocale.md +4 -4
  175. package/docs/de/packages/react-intlayer/t.md +4 -4
  176. package/docs/de/packages/react-intlayer/useDictionary.md +4 -4
  177. package/docs/de/packages/react-intlayer/useI18n.md +4 -4
  178. package/docs/de/packages/react-intlayer/useIntlayer.md +4 -4
  179. package/docs/de/packages/react-intlayer/useLocale.md +4 -4
  180. package/docs/de/per_locale_file.md +4 -4
  181. package/docs/de/roadmap.md +7 -5
  182. package/docs/de/testing.md +4 -7
  183. package/docs/de/vs_code_extension.md +13 -9
  184. package/docs/en/CI_CD.md +4 -6
  185. package/docs/en/autoFill.md +75 -28
  186. package/docs/en/configuration.md +214 -56
  187. package/docs/en/dictionary/condition.md +4 -6
  188. package/docs/en/dictionary/content_file.md +25 -17
  189. package/docs/en/dictionary/enumeration.md +4 -6
  190. package/docs/en/dictionary/file.md +16 -8
  191. package/docs/en/dictionary/function_fetching.md +4 -6
  192. package/docs/en/dictionary/gender.md +4 -6
  193. package/docs/en/dictionary/insertion.md +4 -6
  194. package/docs/en/dictionary/markdown.md +4 -6
  195. package/docs/en/dictionary/nesting.md +4 -6
  196. package/docs/en/dictionary/translation.md +4 -6
  197. package/docs/en/formatters.md +23 -50
  198. package/docs/en/how_works_intlayer.md +6 -8
  199. package/docs/en/index.md +5 -7
  200. package/docs/en/interest_of_intlayer.md +7 -7
  201. package/docs/en/intlayer_CMS.md +12 -12
  202. package/docs/en/intlayer_cli.md +97 -14
  203. package/docs/en/intlayer_visual_editor.md +14 -10
  204. package/docs/en/intlayer_with_angular.md +10 -12
  205. package/docs/en/intlayer_with_astro.md +244 -0
  206. package/docs/en/intlayer_with_create_react_app.md +10 -12
  207. package/docs/en/intlayer_with_express.md +9 -11
  208. package/docs/en/intlayer_with_lynx+react.md +7 -9
  209. package/docs/en/intlayer_with_nestjs.md +8 -10
  210. package/docs/en/intlayer_with_next-i18next.md +627 -0
  211. package/docs/en/intlayer_with_next-intl.md +446 -0
  212. package/docs/en/intlayer_with_nextjs_14.md +66 -31
  213. package/docs/en/intlayer_with_nextjs_15.md +81 -35
  214. package/docs/en/intlayer_with_nextjs_16.md +1586 -0
  215. package/docs/en/intlayer_with_nextjs_page_router.md +23 -15
  216. package/docs/en/intlayer_with_nuxt.md +10 -12
  217. package/docs/en/intlayer_with_react_native+expo.md +49 -27
  218. package/docs/en/intlayer_with_react_router_v7.md +169 -216
  219. package/docs/en/intlayer_with_tanstack.md +174 -249
  220. package/docs/en/intlayer_with_vite+preact.md +18 -20
  221. package/docs/en/intlayer_with_vite+react.md +68 -317
  222. package/docs/en/intlayer_with_vite+solid.md +8 -10
  223. package/docs/en/intlayer_with_vite+svelte.md +8 -10
  224. package/docs/en/intlayer_with_vite+vue.md +18 -20
  225. package/docs/en/introduction.md +5 -7
  226. package/docs/en/locale_mapper.md +4 -6
  227. package/docs/en/mcp_server.md +13 -9
  228. package/docs/en/packages/express-intlayer/t.md +4 -6
  229. package/docs/en/packages/intlayer/getConfiguration.md +4 -6
  230. package/docs/en/packages/intlayer/getEnumeration.md +4 -6
  231. package/docs/en/packages/intlayer/getHTMLTextDir.md +4 -6
  232. package/docs/en/packages/intlayer/getLocaleLang.md +4 -6
  233. package/docs/en/packages/intlayer/getLocaleName.md +4 -6
  234. package/docs/en/packages/intlayer/getLocalizedUrl.md +4 -6
  235. package/docs/en/packages/intlayer/getMultilingualUrls.md +4 -6
  236. package/docs/en/packages/intlayer/getPathWithoutLocale.md +4 -6
  237. package/docs/en/packages/intlayer/getTranslation.md +4 -6
  238. package/docs/en/packages/intlayer/getTranslationContent.md +4 -6
  239. package/docs/en/packages/next-intlayer/t.md +4 -6
  240. package/docs/en/packages/next-intlayer/useDictionary.md +5 -7
  241. package/docs/en/packages/next-intlayer/useIntlayer.md +5 -7
  242. package/docs/en/packages/next-intlayer/useLocale.md +41 -8
  243. package/docs/en/packages/react-intlayer/t.md +4 -6
  244. package/docs/en/packages/react-intlayer/useDictionary.md +5 -7
  245. package/docs/en/packages/react-intlayer/useI18n.md +5 -5
  246. package/docs/en/packages/react-intlayer/useIntlayer.md +5 -7
  247. package/docs/en/packages/react-intlayer/useLocale.md +4 -6
  248. package/docs/en/per_locale_file.md +4 -6
  249. package/docs/en/plugins/sync-json.md +244 -0
  250. package/docs/en/releases/v6.md +7 -0
  251. package/docs/en/releases/v7.md +486 -0
  252. package/docs/en/roadmap.md +11 -9
  253. package/docs/en/testing.md +13 -11
  254. package/docs/en/vs_code_extension.md +13 -9
  255. package/docs/en-GB/CI_CD.md +4 -6
  256. package/docs/en-GB/autoFill.md +10 -8
  257. package/docs/en-GB/configuration.md +16 -10
  258. package/docs/en-GB/dictionary/condition.md +4 -4
  259. package/docs/en-GB/dictionary/content_file.md +7 -7
  260. package/docs/en-GB/dictionary/enumeration.md +4 -4
  261. package/docs/en-GB/dictionary/file.md +4 -4
  262. package/docs/en-GB/dictionary/gender.md +4 -6
  263. package/docs/en-GB/dictionary/insertion.md +4 -4
  264. package/docs/en-GB/dictionary/markdown.md +4 -4
  265. package/docs/en-GB/dictionary/nesting.md +4 -4
  266. package/docs/en-GB/dictionary/translation.md +4 -4
  267. package/docs/en-GB/formatters.md +19 -33
  268. package/docs/en-GB/how_works_intlayer.md +5 -5
  269. package/docs/en-GB/index.md +4 -4
  270. package/docs/en-GB/interest_of_intlayer.md +7 -7
  271. package/docs/en-GB/intlayer_CMS.md +15 -13
  272. package/docs/en-GB/intlayer_cli.md +7 -7
  273. package/docs/en-GB/intlayer_visual_editor.md +5 -6
  274. package/docs/en-GB/intlayer_with_angular.md +8 -8
  275. package/docs/en-GB/intlayer_with_astro.md +244 -0
  276. package/docs/en-GB/intlayer_with_create_react_app.md +11 -10
  277. package/docs/en-GB/intlayer_with_express.md +8 -8
  278. package/docs/en-GB/intlayer_with_lynx+react.md +5 -5
  279. package/docs/en-GB/intlayer_with_nestjs.md +7 -9
  280. package/docs/en-GB/intlayer_with_nextjs_14.md +10 -10
  281. package/docs/en-GB/intlayer_with_nextjs_15.md +8 -7
  282. package/docs/en-GB/intlayer_with_nextjs_page_router.md +7 -7
  283. package/docs/en-GB/intlayer_with_nuxt.md +7 -7
  284. package/docs/en-GB/intlayer_with_react_native+expo.md +16 -25
  285. package/docs/en-GB/intlayer_with_react_router_v7.md +175 -224
  286. package/docs/en-GB/intlayer_with_tanstack.md +181 -255
  287. package/docs/en-GB/intlayer_with_vite+preact.md +14 -14
  288. package/docs/en-GB/intlayer_with_vite+react.md +15 -14
  289. package/docs/en-GB/intlayer_with_vite+solid.md +5 -5
  290. package/docs/en-GB/intlayer_with_vite+svelte.md +5 -5
  291. package/docs/en-GB/intlayer_with_vite+vue.md +16 -16
  292. package/docs/en-GB/introduction.md +4 -4
  293. package/docs/en-GB/locale_mapper.md +4 -6
  294. package/docs/en-GB/mcp_server.md +13 -9
  295. package/docs/en-GB/packages/express-intlayer/t.md +4 -4
  296. package/docs/en-GB/packages/intlayer/getConfiguration.md +4 -4
  297. package/docs/en-GB/packages/intlayer/getEnumeration.md +4 -4
  298. package/docs/en-GB/packages/intlayer/getHTMLTextDir.md +4 -4
  299. package/docs/en-GB/packages/intlayer/getLocaleLang.md +4 -4
  300. package/docs/en-GB/packages/intlayer/getLocaleName.md +4 -4
  301. package/docs/en-GB/packages/intlayer/getLocalizedUrl.md +4 -4
  302. package/docs/en-GB/packages/intlayer/getMultilingualUrls.md +4 -4
  303. package/docs/en-GB/packages/intlayer/getPathWithoutLocale.md +4 -4
  304. package/docs/en-GB/packages/intlayer/getTranslation.md +4 -4
  305. package/docs/en-GB/packages/intlayer/getTranslationContent.md +4 -4
  306. package/docs/en-GB/packages/next-intlayer/t.md +4 -4
  307. package/docs/en-GB/packages/next-intlayer/useDictionary.md +4 -4
  308. package/docs/en-GB/packages/next-intlayer/useIntlayer.md +5 -5
  309. package/docs/en-GB/packages/next-intlayer/useLocale.md +4 -4
  310. package/docs/en-GB/packages/react-intlayer/t.md +4 -4
  311. package/docs/en-GB/packages/react-intlayer/useDictionary.md +4 -4
  312. package/docs/en-GB/packages/react-intlayer/useI18n.md +4 -4
  313. package/docs/en-GB/packages/react-intlayer/useIntlayer.md +5 -5
  314. package/docs/en-GB/packages/react-intlayer/useLocale.md +4 -4
  315. package/docs/en-GB/per_locale_file.md +4 -4
  316. package/docs/en-GB/roadmap.md +7 -5
  317. package/docs/en-GB/testing.md +4 -7
  318. package/docs/en-GB/vs_code_extension.md +13 -9
  319. package/docs/es/CI_CD.md +4 -6
  320. package/docs/es/autoFill.md +10 -8
  321. package/docs/es/configuration.md +16 -10
  322. package/docs/es/dictionary/content_file.md +7 -7
  323. package/docs/es/dictionary/enumeration.md +4 -4
  324. package/docs/es/dictionary/file.md +4 -4
  325. package/docs/es/dictionary/function_fetching.md +4 -4
  326. package/docs/es/dictionary/gender.md +4 -6
  327. package/docs/es/dictionary/insertion.md +4 -4
  328. package/docs/es/dictionary/translation.md +4 -4
  329. package/docs/es/formatters.md +25 -57
  330. package/docs/es/how_works_intlayer.md +5 -5
  331. package/docs/es/index.md +4 -4
  332. package/docs/es/interest_of_intlayer.md +7 -7
  333. package/docs/es/intlayer_CMS.md +10 -8
  334. package/docs/es/intlayer_cli.md +7 -7
  335. package/docs/es/intlayer_visual_editor.md +5 -7
  336. package/docs/es/intlayer_with_angular.md +8 -8
  337. package/docs/es/intlayer_with_astro.md +244 -0
  338. package/docs/es/intlayer_with_create_react_app.md +9 -8
  339. package/docs/es/intlayer_with_express.md +8 -8
  340. package/docs/es/intlayer_with_lynx+react.md +6 -6
  341. package/docs/es/intlayer_with_nestjs.md +6 -8
  342. package/docs/es/intlayer_with_nextjs_14.md +8 -8
  343. package/docs/es/intlayer_with_nextjs_15.md +9 -8
  344. package/docs/es/intlayer_with_nextjs_page_router.md +6 -6
  345. package/docs/es/intlayer_with_nuxt.md +6 -6
  346. package/docs/es/intlayer_with_react_native+expo.md +17 -26
  347. package/docs/es/intlayer_with_react_router_v7.md +191 -235
  348. package/docs/es/intlayer_with_tanstack.md +208 -280
  349. package/docs/es/intlayer_with_vite+preact.md +13 -13
  350. package/docs/es/intlayer_with_vite+react.md +14 -13
  351. package/docs/es/intlayer_with_vite+solid.md +6 -6
  352. package/docs/es/intlayer_with_vite+svelte.md +6 -6
  353. package/docs/es/intlayer_with_vite+vue.md +15 -15
  354. package/docs/es/introduction.md +4 -4
  355. package/docs/es/locale_mapper.md +4 -6
  356. package/docs/es/mcp_server.md +13 -9
  357. package/docs/es/packages/express-intlayer/t.md +4 -4
  358. package/docs/es/packages/intlayer/getConfiguration.md +4 -4
  359. package/docs/es/packages/intlayer/getEnumeration.md +4 -4
  360. package/docs/es/packages/intlayer/getHTMLTextDir.md +4 -4
  361. package/docs/es/packages/intlayer/getLocaleLang.md +4 -4
  362. package/docs/es/packages/intlayer/getLocaleName.md +4 -4
  363. package/docs/es/packages/intlayer/getLocalizedUrl.md +4 -4
  364. package/docs/es/packages/intlayer/getMultilingualUrls.md +4 -4
  365. package/docs/es/packages/intlayer/getPathWithoutLocale.md +4 -4
  366. package/docs/es/packages/intlayer/getTranslation.md +4 -4
  367. package/docs/es/packages/intlayer/getTranslationContent.md +4 -4
  368. package/docs/es/packages/next-intlayer/index.md +4 -4
  369. package/docs/es/packages/next-intlayer/t.md +4 -4
  370. package/docs/es/packages/next-intlayer/useDictionary.md +4 -4
  371. package/docs/es/packages/next-intlayer/useIntlayer.md +4 -4
  372. package/docs/es/packages/next-intlayer/useLocale.md +4 -4
  373. package/docs/es/packages/react-intlayer/index.md +4 -4
  374. package/docs/es/packages/react-intlayer/t.md +4 -4
  375. package/docs/es/packages/react-intlayer/useDictionary.md +4 -4
  376. package/docs/es/packages/react-intlayer/useI18n.md +4 -4
  377. package/docs/es/packages/react-intlayer/useIntlayer.md +4 -4
  378. package/docs/es/packages/react-intlayer/useLocale.md +4 -4
  379. package/docs/es/per_locale_file.md +4 -4
  380. package/docs/es/roadmap.md +7 -5
  381. package/docs/es/testing.md +4 -7
  382. package/docs/es/vs_code_extension.md +13 -9
  383. package/docs/fr/CI_CD.md +4 -4
  384. package/docs/fr/autoFill.md +10 -8
  385. package/docs/fr/configuration.md +19 -22
  386. package/docs/fr/dictionary/content_file.md +7 -7
  387. package/docs/fr/dictionary/enumeration.md +4 -4
  388. package/docs/fr/dictionary/file.md +4 -4
  389. package/docs/fr/dictionary/function_fetching.md +4 -4
  390. package/docs/fr/dictionary/gender.md +4 -6
  391. package/docs/fr/dictionary/insertion.md +4 -4
  392. package/docs/fr/dictionary/translation.md +4 -4
  393. package/docs/fr/formatters.md +25 -57
  394. package/docs/fr/how_works_intlayer.md +5 -5
  395. package/docs/fr/index.md +4 -4
  396. package/docs/fr/interest_of_intlayer.md +7 -7
  397. package/docs/fr/intlayer_CMS.md +10 -8
  398. package/docs/fr/intlayer_cli.md +7 -7
  399. package/docs/fr/intlayer_visual_editor.md +5 -6
  400. package/docs/fr/intlayer_with_angular.md +8 -8
  401. package/docs/fr/intlayer_with_astro.md +244 -0
  402. package/docs/fr/intlayer_with_create_react_app.md +9 -8
  403. package/docs/fr/intlayer_with_express.md +8 -8
  404. package/docs/fr/intlayer_with_lynx+react.md +6 -6
  405. package/docs/fr/intlayer_with_nestjs.md +8 -10
  406. package/docs/fr/intlayer_with_nextjs_14.md +4 -4
  407. package/docs/fr/intlayer_with_nextjs_15.md +7 -6
  408. package/docs/fr/intlayer_with_nextjs_page_router.md +6 -6
  409. package/docs/fr/intlayer_with_nuxt.md +6 -6
  410. package/docs/fr/intlayer_with_react_native+expo.md +17 -26
  411. package/docs/fr/intlayer_with_react_router_v7.md +192 -252
  412. package/docs/fr/intlayer_with_tanstack.md +197 -272
  413. package/docs/fr/intlayer_with_vite+preact.md +13 -13
  414. package/docs/fr/intlayer_with_vite+react.md +13 -13
  415. package/docs/fr/intlayer_with_vite+solid.md +6 -6
  416. package/docs/fr/intlayer_with_vite+svelte.md +6 -6
  417. package/docs/fr/intlayer_with_vite+vue.md +15 -15
  418. package/docs/fr/introduction.md +4 -4
  419. package/docs/fr/locale_mapper.md +4 -6
  420. package/docs/fr/mcp_server.md +13 -9
  421. package/docs/fr/packages/express-intlayer/t.md +4 -4
  422. package/docs/fr/packages/intlayer/getConfiguration.md +4 -4
  423. package/docs/fr/packages/intlayer/getEnumeration.md +4 -4
  424. package/docs/fr/packages/intlayer/getHTMLTextDir.md +4 -4
  425. package/docs/fr/packages/intlayer/getLocaleLang.md +4 -4
  426. package/docs/fr/packages/intlayer/getLocaleName.md +4 -4
  427. package/docs/fr/packages/intlayer/getLocalizedUrl.md +4 -4
  428. package/docs/fr/packages/intlayer/getMultilingualUrls.md +4 -4
  429. package/docs/fr/packages/intlayer/getPathWithoutLocale.md +4 -4
  430. package/docs/fr/packages/intlayer/getTranslation.md +4 -4
  431. package/docs/fr/packages/intlayer/getTranslationContent.md +4 -4
  432. package/docs/fr/packages/next-intlayer/t.md +4 -4
  433. package/docs/fr/packages/next-intlayer/useDictionary.md +4 -4
  434. package/docs/fr/packages/next-intlayer/useIntlayer.md +4 -4
  435. package/docs/fr/packages/next-intlayer/useLocale.md +4 -4
  436. package/docs/fr/packages/react-intlayer/index.md +4 -4
  437. package/docs/fr/packages/react-intlayer/t.md +4 -4
  438. package/docs/fr/packages/react-intlayer/useDictionary.md +4 -4
  439. package/docs/fr/packages/react-intlayer/useI18n.md +4 -4
  440. package/docs/fr/packages/react-intlayer/useIntlayer.md +4 -4
  441. package/docs/fr/packages/react-intlayer/useLocale.md +4 -4
  442. package/docs/fr/per_locale_file.md +4 -4
  443. package/docs/fr/roadmap.md +7 -5
  444. package/docs/fr/testing.md +4 -7
  445. package/docs/fr/vs_code_extension.md +13 -9
  446. package/docs/hi/CI_CD.md +4 -6
  447. package/docs/hi/autoFill.md +10 -8
  448. package/docs/hi/configuration.md +16 -10
  449. package/docs/hi/dictionary/content_file.md +7 -7
  450. package/docs/hi/dictionary/enumeration.md +4 -4
  451. package/docs/hi/dictionary/file.md +4 -4
  452. package/docs/hi/dictionary/function_fetching.md +4 -4
  453. package/docs/hi/dictionary/gender.md +4 -6
  454. package/docs/hi/dictionary/insertion.md +4 -4
  455. package/docs/hi/dictionary/translation.md +4 -4
  456. package/docs/hi/formatters.md +19 -33
  457. package/docs/hi/how_works_intlayer.md +5 -5
  458. package/docs/hi/index.md +4 -4
  459. package/docs/hi/interest_of_intlayer.md +7 -7
  460. package/docs/hi/intlayer_CMS.md +10 -8
  461. package/docs/hi/intlayer_cli.md +8 -11
  462. package/docs/hi/intlayer_visual_editor.md +5 -6
  463. package/docs/hi/intlayer_with_angular.md +8 -8
  464. package/docs/hi/intlayer_with_astro.md +244 -0
  465. package/docs/hi/intlayer_with_create_react_app.md +4 -4
  466. package/docs/hi/intlayer_with_express.md +8 -8
  467. package/docs/hi/intlayer_with_lynx+react.md +6 -6
  468. package/docs/hi/intlayer_with_nestjs.md +8 -10
  469. package/docs/hi/intlayer_with_nextjs_14.md +4 -4
  470. package/docs/hi/intlayer_with_nextjs_15.md +9 -8
  471. package/docs/hi/intlayer_with_nextjs_page_router.md +8 -8
  472. package/docs/hi/intlayer_with_nuxt.md +8 -8
  473. package/docs/hi/intlayer_with_react_native+expo.md +17 -26
  474. package/docs/hi/intlayer_with_react_router_v7.md +204 -248
  475. package/docs/hi/intlayer_with_tanstack.md +215 -290
  476. package/docs/hi/intlayer_with_vite+preact.md +15 -15
  477. package/docs/hi/intlayer_with_vite+react.md +16 -15
  478. package/docs/hi/intlayer_with_vite+solid.md +7 -7
  479. package/docs/hi/intlayer_with_vite+svelte.md +6 -6
  480. package/docs/hi/intlayer_with_vite+vue.md +17 -17
  481. package/docs/hi/introduction.md +4 -4
  482. package/docs/hi/locale_mapper.md +4 -6
  483. package/docs/hi/mcp_server.md +13 -9
  484. package/docs/hi/packages/express-intlayer/t.md +4 -4
  485. package/docs/hi/packages/intlayer/getConfiguration.md +4 -4
  486. package/docs/hi/packages/intlayer/getEnumeration.md +4 -4
  487. package/docs/hi/packages/intlayer/getHTMLTextDir.md +4 -4
  488. package/docs/hi/packages/intlayer/getLocaleLang.md +4 -4
  489. package/docs/hi/packages/intlayer/getLocaleName.md +4 -4
  490. package/docs/hi/packages/intlayer/getLocalizedUrl.md +4 -4
  491. package/docs/hi/packages/intlayer/getMultilingualUrls.md +4 -4
  492. package/docs/hi/packages/intlayer/getPathWithoutLocale.md +4 -4
  493. package/docs/hi/packages/intlayer/getTranslation.md +4 -4
  494. package/docs/hi/packages/intlayer/getTranslationContent.md +4 -4
  495. package/docs/hi/packages/intlayer/index.md +4 -4
  496. package/docs/hi/packages/next-intlayer/t.md +4 -4
  497. package/docs/hi/packages/next-intlayer/useDictionary.md +4 -4
  498. package/docs/hi/packages/next-intlayer/useIntlayer.md +4 -4
  499. package/docs/hi/packages/next-intlayer/useLocale.md +4 -4
  500. package/docs/hi/packages/react-intlayer/t.md +4 -4
  501. package/docs/hi/packages/react-intlayer/useDictionary.md +4 -4
  502. package/docs/hi/packages/react-intlayer/useIntlayer.md +4 -4
  503. package/docs/hi/packages/react-intlayer/useLocale.md +4 -4
  504. package/docs/hi/per_locale_file.md +4 -4
  505. package/docs/hi/roadmap.md +7 -5
  506. package/docs/hi/testing.md +4 -7
  507. package/docs/hi/vs_code_extension.md +13 -9
  508. package/docs/it/CI_CD.md +4 -6
  509. package/docs/it/autoFill.md +10 -8
  510. package/docs/it/configuration.md +16 -10
  511. package/docs/it/dictionary/content_file.md +7 -7
  512. package/docs/it/dictionary/enumeration.md +4 -4
  513. package/docs/it/dictionary/file.md +4 -4
  514. package/docs/it/dictionary/function_fetching.md +4 -4
  515. package/docs/it/dictionary/gender.md +4 -6
  516. package/docs/it/dictionary/insertion.md +4 -4
  517. package/docs/it/dictionary/translation.md +4 -4
  518. package/docs/it/formatters.md +19 -55
  519. package/docs/it/how_works_intlayer.md +5 -5
  520. package/docs/it/index.md +4 -4
  521. package/docs/it/interest_of_intlayer.md +7 -7
  522. package/docs/it/intlayer_CMS.md +10 -8
  523. package/docs/it/intlayer_cli.md +7 -7
  524. package/docs/it/intlayer_visual_editor.md +5 -6
  525. package/docs/it/intlayer_with_angular.md +8 -8
  526. package/docs/it/intlayer_with_astro.md +244 -0
  527. package/docs/it/intlayer_with_create_react_app.md +9 -8
  528. package/docs/it/intlayer_with_express.md +8 -8
  529. package/docs/it/intlayer_with_lynx+react.md +6 -6
  530. package/docs/it/intlayer_with_nestjs.md +8 -10
  531. package/docs/it/intlayer_with_nextjs_14.md +4 -4
  532. package/docs/it/intlayer_with_nextjs_15.md +9 -8
  533. package/docs/it/intlayer_with_nextjs_page_router.md +8 -8
  534. package/docs/it/intlayer_with_nuxt.md +8 -8
  535. package/docs/it/intlayer_with_react_native+expo.md +17 -27
  536. package/docs/it/intlayer_with_react_router_v7.md +198 -245
  537. package/docs/it/intlayer_with_tanstack.md +207 -271
  538. package/docs/it/intlayer_with_vite+preact.md +15 -15
  539. package/docs/it/intlayer_with_vite+react.md +20 -17
  540. package/docs/it/intlayer_with_vite+solid.md +6 -6
  541. package/docs/it/intlayer_with_vite+svelte.md +6 -6
  542. package/docs/it/intlayer_with_vite+vue.md +17 -17
  543. package/docs/it/introduction.md +4 -4
  544. package/docs/it/locale_mapper.md +4 -6
  545. package/docs/it/mcp_server.md +13 -9
  546. package/docs/it/packages/express-intlayer/t.md +4 -4
  547. package/docs/it/packages/intlayer/getConfiguration.md +4 -4
  548. package/docs/it/packages/intlayer/getEnumeration.md +4 -4
  549. package/docs/it/packages/intlayer/getHTMLTextDir.md +4 -4
  550. package/docs/it/packages/intlayer/getLocaleLang.md +4 -4
  551. package/docs/it/packages/intlayer/getLocaleName.md +4 -4
  552. package/docs/it/packages/intlayer/getLocalizedUrl.md +4 -4
  553. package/docs/it/packages/intlayer/getMultilingualUrls.md +4 -4
  554. package/docs/it/packages/intlayer/getPathWithoutLocale.md +4 -4
  555. package/docs/it/packages/intlayer/getTranslation.md +4 -4
  556. package/docs/it/packages/intlayer/getTranslationContent.md +4 -4
  557. package/docs/it/packages/next-intlayer/t.md +4 -4
  558. package/docs/it/packages/next-intlayer/useDictionary.md +4 -4
  559. package/docs/it/packages/next-intlayer/useIntlayer.md +4 -4
  560. package/docs/it/packages/next-intlayer/useLocale.md +4 -4
  561. package/docs/it/packages/react-intlayer/t.md +4 -4
  562. package/docs/it/packages/react-intlayer/useDictionary.md +4 -4
  563. package/docs/it/packages/react-intlayer/useI18n.md +4 -4
  564. package/docs/it/packages/react-intlayer/useIntlayer.md +4 -4
  565. package/docs/it/packages/react-intlayer/useLocale.md +4 -4
  566. package/docs/it/per_locale_file.md +4 -4
  567. package/docs/it/roadmap.md +7 -5
  568. package/docs/it/testing.md +4 -7
  569. package/docs/it/vs_code_extension.md +13 -9
  570. package/docs/ja/CI_CD.md +4 -6
  571. package/docs/ja/autoFill.md +10 -8
  572. package/docs/ja/configuration.md +19 -22
  573. package/docs/ja/dictionary/content_file.md +7 -7
  574. package/docs/ja/dictionary/enumeration.md +4 -4
  575. package/docs/ja/dictionary/file.md +5 -5
  576. package/docs/ja/dictionary/function_fetching.md +4 -4
  577. package/docs/ja/dictionary/gender.md +4 -6
  578. package/docs/ja/dictionary/insertion.md +4 -4
  579. package/docs/ja/dictionary/translation.md +4 -4
  580. package/docs/ja/formatters.md +25 -57
  581. package/docs/ja/how_works_intlayer.md +5 -5
  582. package/docs/ja/index.md +4 -4
  583. package/docs/ja/interest_of_intlayer.md +7 -7
  584. package/docs/ja/intlayer_CMS.md +10 -9
  585. package/docs/ja/intlayer_cli.md +7 -7
  586. package/docs/ja/intlayer_visual_editor.md +5 -6
  587. package/docs/ja/intlayer_with_angular.md +8 -8
  588. package/docs/ja/intlayer_with_astro.md +244 -0
  589. package/docs/ja/intlayer_with_create_react_app.md +9 -8
  590. package/docs/ja/intlayer_with_express.md +8 -8
  591. package/docs/ja/intlayer_with_lynx+react.md +6 -6
  592. package/docs/ja/intlayer_with_nestjs.md +8 -10
  593. package/docs/ja/intlayer_with_nextjs_14.md +8 -8
  594. package/docs/ja/intlayer_with_nextjs_15.md +9 -8
  595. package/docs/ja/intlayer_with_nextjs_page_router.md +8 -8
  596. package/docs/ja/intlayer_with_nuxt.md +8 -8
  597. package/docs/ja/intlayer_with_react_native+expo.md +24 -35
  598. package/docs/ja/intlayer_with_react_router_v7.md +207 -253
  599. package/docs/ja/intlayer_with_tanstack.md +220 -290
  600. package/docs/ja/intlayer_with_vite+preact.md +15 -15
  601. package/docs/ja/intlayer_with_vite+react.md +18 -17
  602. package/docs/ja/intlayer_with_vite+solid.md +6 -6
  603. package/docs/ja/intlayer_with_vite+svelte.md +6 -6
  604. package/docs/ja/intlayer_with_vite+vue.md +17 -17
  605. package/docs/ja/introduction.md +4 -4
  606. package/docs/ja/locale_mapper.md +4 -6
  607. package/docs/ja/mcp_server.md +13 -9
  608. package/docs/ja/packages/express-intlayer/t.md +4 -4
  609. package/docs/ja/packages/intlayer/getConfiguration.md +4 -4
  610. package/docs/ja/packages/intlayer/getEnumeration.md +4 -4
  611. package/docs/ja/packages/intlayer/getHTMLTextDir.md +4 -4
  612. package/docs/ja/packages/intlayer/getLocaleLang.md +4 -4
  613. package/docs/ja/packages/intlayer/getLocaleName.md +4 -4
  614. package/docs/ja/packages/intlayer/getLocalizedUrl.md +4 -4
  615. package/docs/ja/packages/intlayer/getMultilingualUrls.md +4 -4
  616. package/docs/ja/packages/intlayer/getPathWithoutLocale.md +4 -4
  617. package/docs/ja/packages/intlayer/getTranslation.md +4 -4
  618. package/docs/ja/packages/intlayer/getTranslationContent.md +4 -4
  619. package/docs/ja/packages/next-intlayer/t.md +4 -4
  620. package/docs/ja/packages/next-intlayer/useDictionary.md +4 -4
  621. package/docs/ja/packages/next-intlayer/useIntlayer.md +4 -4
  622. package/docs/ja/packages/next-intlayer/useLocale.md +4 -4
  623. package/docs/ja/packages/react-intlayer/t.md +4 -4
  624. package/docs/ja/packages/react-intlayer/useDictionary.md +4 -4
  625. package/docs/ja/packages/react-intlayer/useI18n.md +4 -4
  626. package/docs/ja/packages/react-intlayer/useIntlayer.md +4 -4
  627. package/docs/ja/packages/react-intlayer/useLocale.md +4 -4
  628. package/docs/ja/per_locale_file.md +4 -4
  629. package/docs/ja/roadmap.md +7 -5
  630. package/docs/ja/testing.md +4 -7
  631. package/docs/ja/vs_code_extension.md +13 -9
  632. package/docs/ko/CI_CD.md +4 -6
  633. package/docs/ko/autoFill.md +10 -8
  634. package/docs/ko/configuration.md +19 -22
  635. package/docs/ko/dictionary/content_file.md +7 -7
  636. package/docs/ko/dictionary/enumeration.md +4 -4
  637. package/docs/ko/dictionary/file.md +4 -4
  638. package/docs/ko/dictionary/function_fetching.md +4 -4
  639. package/docs/ko/dictionary/gender.md +4 -6
  640. package/docs/ko/dictionary/insertion.md +4 -4
  641. package/docs/ko/dictionary/translation.md +4 -4
  642. package/docs/ko/formatters.md +19 -33
  643. package/docs/ko/how_works_intlayer.md +5 -5
  644. package/docs/ko/index.md +4 -4
  645. package/docs/ko/interest_of_intlayer.md +7 -7
  646. package/docs/ko/intlayer_CMS.md +10 -8
  647. package/docs/ko/intlayer_cli.md +7 -7
  648. package/docs/ko/intlayer_visual_editor.md +5 -6
  649. package/docs/ko/intlayer_with_angular.md +8 -8
  650. package/docs/ko/intlayer_with_astro.md +244 -0
  651. package/docs/ko/intlayer_with_create_react_app.md +9 -8
  652. package/docs/ko/intlayer_with_express.md +8 -8
  653. package/docs/ko/intlayer_with_lynx+react.md +6 -10
  654. package/docs/ko/intlayer_with_nestjs.md +8 -10
  655. package/docs/ko/intlayer_with_nextjs_14.md +8 -8
  656. package/docs/ko/intlayer_with_nextjs_15.md +9 -8
  657. package/docs/ko/intlayer_with_nextjs_page_router.md +8 -8
  658. package/docs/ko/intlayer_with_nuxt.md +8 -8
  659. package/docs/ko/intlayer_with_react_native+expo.md +25 -34
  660. package/docs/ko/intlayer_with_react_router_v7.md +195 -249
  661. package/docs/ko/intlayer_with_tanstack.md +202 -274
  662. package/docs/ko/intlayer_with_vite+preact.md +15 -15
  663. package/docs/ko/intlayer_with_vite+react.md +17 -16
  664. package/docs/ko/intlayer_with_vite+solid.md +6 -6
  665. package/docs/ko/intlayer_with_vite+svelte.md +6 -6
  666. package/docs/ko/intlayer_with_vite+vue.md +17 -17
  667. package/docs/ko/introduction.md +4 -4
  668. package/docs/ko/locale_mapper.md +4 -6
  669. package/docs/ko/mcp_server.md +13 -9
  670. package/docs/ko/packages/express-intlayer/t.md +4 -4
  671. package/docs/ko/packages/intlayer/getConfiguration.md +4 -4
  672. package/docs/ko/packages/intlayer/getEnumeration.md +4 -4
  673. package/docs/ko/packages/intlayer/getHTMLTextDir.md +4 -4
  674. package/docs/ko/packages/intlayer/getLocaleLang.md +4 -4
  675. package/docs/ko/packages/intlayer/getLocaleName.md +4 -4
  676. package/docs/ko/packages/intlayer/getLocalizedUrl.md +7 -16
  677. package/docs/ko/packages/intlayer/getMultilingualUrls.md +4 -4
  678. package/docs/ko/packages/intlayer/getPathWithoutLocale.md +4 -4
  679. package/docs/ko/packages/intlayer/getTranslation.md +4 -4
  680. package/docs/ko/packages/intlayer/getTranslationContent.md +4 -4
  681. package/docs/ko/packages/next-intlayer/t.md +4 -4
  682. package/docs/ko/packages/next-intlayer/useDictionary.md +4 -4
  683. package/docs/ko/packages/next-intlayer/useIntlayer.md +4 -4
  684. package/docs/ko/packages/next-intlayer/useLocale.md +4 -4
  685. package/docs/ko/packages/react-intlayer/t.md +4 -4
  686. package/docs/ko/packages/react-intlayer/useDictionary.md +4 -4
  687. package/docs/ko/packages/react-intlayer/useI18n.md +4 -4
  688. package/docs/ko/packages/react-intlayer/useIntlayer.md +4 -4
  689. package/docs/ko/packages/react-intlayer/useLocale.md +4 -4
  690. package/docs/ko/per_locale_file.md +4 -4
  691. package/docs/ko/roadmap.md +7 -5
  692. package/docs/ko/testing.md +4 -7
  693. package/docs/ko/vs_code_extension.md +13 -9
  694. package/docs/pt/CI_CD.md +4 -6
  695. package/docs/pt/autoFill.md +10 -8
  696. package/docs/pt/configuration.md +16 -22
  697. package/docs/pt/dictionary/content_file.md +7 -7
  698. package/docs/pt/dictionary/enumeration.md +4 -4
  699. package/docs/pt/dictionary/file.md +4 -4
  700. package/docs/pt/dictionary/function_fetching.md +4 -4
  701. package/docs/pt/dictionary/gender.md +4 -6
  702. package/docs/pt/dictionary/insertion.md +4 -4
  703. package/docs/pt/dictionary/translation.md +4 -4
  704. package/docs/pt/formatters.md +19 -33
  705. package/docs/pt/how_works_intlayer.md +5 -5
  706. package/docs/pt/index.md +4 -4
  707. package/docs/pt/interest_of_intlayer.md +7 -7
  708. package/docs/pt/intlayer_CMS.md +10 -8
  709. package/docs/pt/intlayer_cli.md +7 -7
  710. package/docs/pt/intlayer_visual_editor.md +5 -6
  711. package/docs/pt/intlayer_with_angular.md +8 -8
  712. package/docs/pt/intlayer_with_astro.md +244 -0
  713. package/docs/pt/intlayer_with_create_react_app.md +9 -8
  714. package/docs/pt/intlayer_with_express.md +8 -8
  715. package/docs/pt/intlayer_with_lynx+react.md +6 -6
  716. package/docs/pt/intlayer_with_nestjs.md +8 -10
  717. package/docs/pt/intlayer_with_nextjs_14.md +4 -4
  718. package/docs/pt/intlayer_with_nextjs_15.md +9 -8
  719. package/docs/pt/intlayer_with_nextjs_page_router.md +8 -8
  720. package/docs/pt/intlayer_with_nuxt.md +8 -8
  721. package/docs/pt/intlayer_with_react_native+expo.md +17 -26
  722. package/docs/pt/intlayer_with_react_router_v7.md +10 -18
  723. package/docs/pt/intlayer_with_tanstack.md +189 -266
  724. package/docs/pt/intlayer_with_vite+preact.md +15 -15
  725. package/docs/pt/intlayer_with_vite+react.md +16 -15
  726. package/docs/pt/intlayer_with_vite+solid.md +6 -6
  727. package/docs/pt/intlayer_with_vite+svelte.md +6 -6
  728. package/docs/pt/intlayer_with_vite+vue.md +15 -15
  729. package/docs/pt/introduction.md +4 -5
  730. package/docs/pt/locale_mapper.md +4 -6
  731. package/docs/pt/mcp_server.md +13 -9
  732. package/docs/pt/packages/express-intlayer/t.md +4 -4
  733. package/docs/pt/packages/intlayer/getConfiguration.md +4 -4
  734. package/docs/pt/packages/intlayer/getEnumeration.md +4 -4
  735. package/docs/pt/packages/intlayer/getHTMLTextDir.md +4 -4
  736. package/docs/pt/packages/intlayer/getLocaleLang.md +4 -4
  737. package/docs/pt/packages/intlayer/getLocaleName.md +4 -4
  738. package/docs/pt/packages/intlayer/getLocalizedUrl.md +4 -4
  739. package/docs/pt/packages/intlayer/getMultilingualUrls.md +4 -4
  740. package/docs/pt/packages/intlayer/getPathWithoutLocale.md +4 -4
  741. package/docs/pt/packages/intlayer/getTranslation.md +4 -4
  742. package/docs/pt/packages/intlayer/getTranslationContent.md +4 -4
  743. package/docs/pt/packages/next-intlayer/t.md +4 -4
  744. package/docs/pt/packages/next-intlayer/useDictionary.md +4 -4
  745. package/docs/pt/packages/next-intlayer/useIntlayer.md +4 -4
  746. package/docs/pt/packages/next-intlayer/useLocale.md +4 -4
  747. package/docs/pt/packages/react-intlayer/t.md +4 -4
  748. package/docs/pt/packages/react-intlayer/useDictionary.md +4 -4
  749. package/docs/pt/packages/react-intlayer/useI18n.md +4 -4
  750. package/docs/pt/packages/react-intlayer/useIntlayer.md +4 -4
  751. package/docs/pt/packages/react-intlayer/useLocale.md +4 -4
  752. package/docs/pt/per_locale_file.md +4 -4
  753. package/docs/pt/roadmap.md +7 -5
  754. package/docs/pt/testing.md +4 -7
  755. package/docs/pt/vs_code_extension.md +13 -9
  756. package/docs/ru/CI_CD.md +4 -6
  757. package/docs/ru/autoFill.md +10 -8
  758. package/docs/ru/configuration.md +16 -10
  759. package/docs/ru/dictionary/content_file.md +7 -7
  760. package/docs/ru/dictionary/enumeration.md +4 -4
  761. package/docs/ru/dictionary/file.md +4 -4
  762. package/docs/ru/dictionary/function_fetching.md +4 -4
  763. package/docs/ru/dictionary/gender.md +4 -6
  764. package/docs/ru/dictionary/insertion.md +4 -4
  765. package/docs/ru/dictionary/translation.md +4 -4
  766. package/docs/ru/formatters.md +20 -77
  767. package/docs/ru/how_works_intlayer.md +5 -5
  768. package/docs/ru/index.md +4 -4
  769. package/docs/ru/interest_of_intlayer.md +7 -7
  770. package/docs/ru/intlayer_CMS.md +10 -8
  771. package/docs/ru/intlayer_cli.md +7 -7
  772. package/docs/ru/intlayer_visual_editor.md +5 -5
  773. package/docs/ru/intlayer_with_angular.md +8 -8
  774. package/docs/ru/intlayer_with_astro.md +244 -0
  775. package/docs/ru/intlayer_with_create_react_app.md +9 -8
  776. package/docs/ru/intlayer_with_express.md +8 -8
  777. package/docs/ru/intlayer_with_lynx+react.md +6 -6
  778. package/docs/ru/intlayer_with_nestjs.md +8 -10
  779. package/docs/ru/intlayer_with_nextjs_14.md +4 -4
  780. package/docs/ru/intlayer_with_nextjs_15.md +9 -8
  781. package/docs/ru/intlayer_with_nextjs_page_router.md +8 -8
  782. package/docs/ru/intlayer_with_nuxt.md +8 -8
  783. package/docs/ru/intlayer_with_react_native+expo.md +17 -26
  784. package/docs/ru/intlayer_with_react_router_v7.md +197 -243
  785. package/docs/ru/intlayer_with_tanstack.md +203 -277
  786. package/docs/ru/intlayer_with_vite+preact.md +15 -15
  787. package/docs/ru/intlayer_with_vite+react.md +16 -15
  788. package/docs/ru/intlayer_with_vite+solid.md +6 -6
  789. package/docs/ru/intlayer_with_vite+svelte.md +6 -6
  790. package/docs/ru/intlayer_with_vite+vue.md +17 -17
  791. package/docs/ru/introduction.md +4 -4
  792. package/docs/ru/locale_mapper.md +4 -6
  793. package/docs/ru/mcp_server.md +13 -9
  794. package/docs/ru/packages/express-intlayer/t.md +4 -4
  795. package/docs/ru/packages/intlayer/getConfiguration.md +4 -4
  796. package/docs/ru/packages/intlayer/getEnumeration.md +4 -4
  797. package/docs/ru/packages/intlayer/getHTMLTextDir.md +4 -4
  798. package/docs/ru/packages/intlayer/getLocaleLang.md +4 -4
  799. package/docs/ru/packages/intlayer/getLocaleName.md +4 -4
  800. package/docs/ru/packages/intlayer/getLocalizedUrl.md +4 -4
  801. package/docs/ru/packages/intlayer/getMultilingualUrls.md +4 -4
  802. package/docs/ru/packages/intlayer/getPathWithoutLocale.md +4 -4
  803. package/docs/ru/packages/intlayer/getTranslation.md +4 -4
  804. package/docs/ru/packages/intlayer/getTranslationContent.md +4 -4
  805. package/docs/ru/packages/next-intlayer/t.md +4 -4
  806. package/docs/ru/packages/next-intlayer/useDictionary.md +4 -4
  807. package/docs/ru/packages/next-intlayer/useIntlayer.md +4 -4
  808. package/docs/ru/packages/next-intlayer/useLocale.md +4 -4
  809. package/docs/ru/packages/react-intlayer/t.md +4 -4
  810. package/docs/ru/packages/react-intlayer/useDictionary.md +4 -4
  811. package/docs/ru/packages/react-intlayer/useI18n.md +4 -4
  812. package/docs/ru/packages/react-intlayer/useIntlayer.md +4 -4
  813. package/docs/ru/packages/react-intlayer/useLocale.md +4 -4
  814. package/docs/ru/per_locale_file.md +4 -4
  815. package/docs/ru/roadmap.md +7 -5
  816. package/docs/ru/testing.md +4 -7
  817. package/docs/ru/vs_code_extension.md +13 -9
  818. package/docs/tr/CI_CD.md +4 -6
  819. package/docs/tr/autoFill.md +10 -8
  820. package/docs/tr/configuration.md +19 -22
  821. package/docs/tr/dictionary/condition.md +4 -10
  822. package/docs/tr/dictionary/content_file.md +7 -7
  823. package/docs/tr/dictionary/enumeration.md +4 -10
  824. package/docs/tr/dictionary/file.md +4 -10
  825. package/docs/tr/dictionary/function_fetching.md +4 -10
  826. package/docs/tr/dictionary/gender.md +4 -10
  827. package/docs/tr/dictionary/insertion.md +4 -10
  828. package/docs/tr/dictionary/markdown.md +4 -10
  829. package/docs/tr/dictionary/nesting.md +4 -10
  830. package/docs/tr/dictionary/translation.md +4 -10
  831. package/docs/tr/formatters.md +19 -33
  832. package/docs/tr/how_works_intlayer.md +6 -8
  833. package/docs/tr/index.md +5 -7
  834. package/docs/tr/interest_of_intlayer.md +7 -7
  835. package/docs/tr/intlayer_CMS.md +10 -8
  836. package/docs/tr/intlayer_cli.md +8 -8
  837. package/docs/tr/intlayer_visual_editor.md +5 -7
  838. package/docs/tr/intlayer_with_angular.md +10 -12
  839. package/docs/tr/intlayer_with_astro.md +244 -0
  840. package/docs/tr/intlayer_with_create_react_app.md +10 -12
  841. package/docs/tr/intlayer_with_express.md +9 -11
  842. package/docs/tr/intlayer_with_lynx+react.md +7 -9
  843. package/docs/tr/intlayer_with_nestjs.md +8 -10
  844. package/docs/tr/intlayer_with_nextjs_14.md +11 -11
  845. package/docs/tr/intlayer_with_nextjs_15.md +14 -13
  846. package/docs/tr/intlayer_with_nextjs_page_router.md +14 -14
  847. package/docs/tr/intlayer_with_nuxt.md +10 -12
  848. package/docs/tr/intlayer_with_react_native+expo.md +18 -29
  849. package/docs/tr/intlayer_with_react_router_v7.md +225 -270
  850. package/docs/tr/intlayer_with_tanstack.md +401 -304
  851. package/docs/tr/intlayer_with_vite+preact.md +18 -24
  852. package/docs/tr/intlayer_with_vite+react.md +18 -24
  853. package/docs/tr/intlayer_with_vite+solid.md +8 -14
  854. package/docs/tr/intlayer_with_vite+svelte.md +8 -14
  855. package/docs/tr/intlayer_with_vite+vue.md +18 -24
  856. package/docs/tr/introduction.md +5 -7
  857. package/docs/tr/locale_mapper.md +4 -6
  858. package/docs/tr/mcp_server.md +13 -9
  859. package/docs/tr/packages/express-intlayer/t.md +4 -6
  860. package/docs/tr/packages/intlayer/getConfiguration.md +4 -10
  861. package/docs/tr/packages/intlayer/getEnumeration.md +4 -10
  862. package/docs/tr/packages/intlayer/getHTMLTextDir.md +4 -10
  863. package/docs/tr/packages/intlayer/getLocaleLang.md +4 -10
  864. package/docs/tr/packages/intlayer/getLocaleName.md +4 -10
  865. package/docs/tr/packages/intlayer/getLocalizedUrl.md +4 -10
  866. package/docs/tr/packages/intlayer/getMultilingualUrls.md +4 -10
  867. package/docs/tr/packages/intlayer/getPathWithoutLocale.md +4 -10
  868. package/docs/tr/packages/intlayer/getTranslation.md +4 -10
  869. package/docs/tr/packages/intlayer/getTranslationContent.md +4 -10
  870. package/docs/tr/packages/next-intlayer/t.md +4 -6
  871. package/docs/tr/packages/next-intlayer/useDictionary.md +4 -6
  872. package/docs/tr/packages/next-intlayer/useIntlayer.md +4 -6
  873. package/docs/tr/packages/next-intlayer/useLocale.md +4 -6
  874. package/docs/tr/packages/react-intlayer/t.md +4 -6
  875. package/docs/tr/packages/react-intlayer/useDictionary.md +10 -273
  876. package/docs/tr/packages/react-intlayer/useI18n.md +5 -5
  877. package/docs/tr/packages/react-intlayer/useIntlayer.md +4 -6
  878. package/docs/tr/packages/react-intlayer/useLocale.md +4 -6
  879. package/docs/tr/per_locale_file.md +4 -6
  880. package/docs/tr/roadmap.md +11 -9
  881. package/docs/tr/testing.md +4 -7
  882. package/docs/tr/vs_code_extension.md +13 -9
  883. package/docs/zh/CI_CD.md +4 -6
  884. package/docs/zh/autoFill.md +10 -8
  885. package/docs/zh/configuration.md +19 -22
  886. package/docs/zh/dictionary/content_file.md +7 -7
  887. package/docs/zh/dictionary/enumeration.md +4 -4
  888. package/docs/zh/dictionary/file.md +4 -4
  889. package/docs/zh/dictionary/function_fetching.md +4 -4
  890. package/docs/zh/dictionary/gender.md +4 -6
  891. package/docs/zh/dictionary/insertion.md +4 -4
  892. package/docs/zh/dictionary/translation.md +4 -4
  893. package/docs/zh/formatters.md +19 -55
  894. package/docs/zh/how_works_intlayer.md +5 -5
  895. package/docs/zh/index.md +4 -4
  896. package/docs/zh/interest_of_intlayer.md +7 -7
  897. package/docs/zh/intlayer_CMS.md +10 -9
  898. package/docs/zh/intlayer_cli.md +7 -7
  899. package/docs/zh/intlayer_visual_editor.md +5 -6
  900. package/docs/zh/intlayer_with_angular.md +8 -8
  901. package/docs/zh/intlayer_with_astro.md +244 -0
  902. package/docs/zh/intlayer_with_create_react_app.md +9 -8
  903. package/docs/zh/intlayer_with_express.md +8 -8
  904. package/docs/zh/intlayer_with_lynx+react.md +6 -6
  905. package/docs/zh/intlayer_with_nestjs.md +8 -10
  906. package/docs/zh/intlayer_with_nextjs_14.md +8 -8
  907. package/docs/zh/intlayer_with_nextjs_15.md +9 -8
  908. package/docs/zh/intlayer_with_nextjs_page_router.md +8 -8
  909. package/docs/zh/intlayer_with_nuxt.md +8 -8
  910. package/docs/zh/intlayer_with_react_native+expo.md +25 -34
  911. package/docs/zh/intlayer_with_react_router_v7.md +204 -252
  912. package/docs/zh/intlayer_with_tanstack.md +211 -288
  913. package/docs/zh/intlayer_with_vite+preact.md +15 -15
  914. package/docs/zh/intlayer_with_vite+react.md +16 -15
  915. package/docs/zh/intlayer_with_vite+solid.md +6 -6
  916. package/docs/zh/intlayer_with_vite+svelte.md +6 -6
  917. package/docs/zh/intlayer_with_vite+vue.md +15 -15
  918. package/docs/zh/introduction.md +4 -4
  919. package/docs/zh/locale_mapper.md +4 -6
  920. package/docs/zh/mcp_server.md +13 -9
  921. package/docs/zh/packages/express-intlayer/t.md +4 -4
  922. package/docs/zh/packages/intlayer/getConfiguration.md +4 -4
  923. package/docs/zh/packages/intlayer/getEnumeration.md +4 -4
  924. package/docs/zh/packages/intlayer/getHTMLTextDir.md +4 -4
  925. package/docs/zh/packages/intlayer/getLocaleLang.md +4 -4
  926. package/docs/zh/packages/intlayer/getLocaleName.md +4 -4
  927. package/docs/zh/packages/intlayer/getLocalizedUrl.md +7 -16
  928. package/docs/zh/packages/intlayer/getMultilingualUrls.md +4 -4
  929. package/docs/zh/packages/intlayer/getPathWithoutLocale.md +4 -4
  930. package/docs/zh/packages/intlayer/getTranslation.md +4 -4
  931. package/docs/zh/packages/intlayer/getTranslationContent.md +4 -4
  932. package/docs/zh/packages/next-intlayer/t.md +4 -4
  933. package/docs/zh/packages/next-intlayer/useDictionary.md +4 -4
  934. package/docs/zh/packages/next-intlayer/useIntlayer.md +4 -4
  935. package/docs/zh/packages/next-intlayer/useLocale.md +4 -4
  936. package/docs/zh/packages/react-intlayer/t.md +4 -4
  937. package/docs/zh/packages/react-intlayer/useDictionary.md +4 -4
  938. package/docs/zh/packages/react-intlayer/useI18n.md +4 -4
  939. package/docs/zh/packages/react-intlayer/useIntlayer.md +4 -4
  940. package/docs/zh/packages/react-intlayer/useLocale.md +4 -4
  941. package/docs/zh/per_locale_file.md +4 -4
  942. package/docs/zh/roadmap.md +7 -5
  943. package/docs/zh/testing.md +4 -7
  944. package/docs/zh/vs_code_extension.md +13 -9
  945. package/frequent_questions/ar/bun_set_up.md +54 -0
  946. package/frequent_questions/de/bun_set_up.md +54 -0
  947. package/frequent_questions/en/bun_set_up.md +54 -0
  948. package/frequent_questions/en-GB/bun_set_up.md +54 -0
  949. package/frequent_questions/es/bun_set_up.md +54 -0
  950. package/frequent_questions/fr/bun_set_up.md +54 -0
  951. package/frequent_questions/hi/bun_set_up.md +55 -0
  952. package/frequent_questions/it/bun_set_up.md +55 -0
  953. package/frequent_questions/ja/bun_set_up.md +54 -0
  954. package/frequent_questions/ko/bun_set_up.md +54 -0
  955. package/frequent_questions/pt/bun_set_up.md +55 -0
  956. package/frequent_questions/ru/bun_set_up.md +55 -0
  957. package/frequent_questions/tr/bun_set_up.md +55 -0
  958. package/frequent_questions/zh/bun_set_up.md +54 -0
  959. package/package.json +42 -47
  960. package/src/blog.ts +16 -8
  961. package/src/common.ts +7 -8
  962. package/src/doc.ts +18 -8
  963. package/src/frequentQuestions.ts +23 -8
  964. package/src/generated/blog.entry.ts +152 -84
  965. package/src/generated/docs.entry.ts +536 -219
  966. package/src/generated/frequentQuestions.entry.ts +122 -56
  967. package/src/generated/legal.entry.ts +32 -24
  968. package/src/legal.ts +16 -8
  969. package/LICENSE +0 -202
  970. package/dist/cjs/index.cjs.map +0 -1
  971. package/dist/esm/index.mjs.map +0 -1
  972. package/dist/types/index.d.ts.map +0 -1
  973. package/docs/de/packages/@intlayer/api/index.md +0 -56
  974. package/docs/de/packages/@intlayer/chokidar/index.md +0 -56
  975. package/docs/de/packages/@intlayer/cli/index.md +0 -45
  976. package/docs/de/packages/@intlayer/config/index.md +0 -140
  977. package/docs/de/packages/@intlayer/core/index.md +0 -49
  978. package/docs/de/packages/@intlayer/design-system/index.md +0 -45
  979. package/docs/de/packages/@intlayer/dictionary-entry/index.md +0 -45
  980. package/docs/de/packages/@intlayer/editor/index.md +0 -45
  981. package/docs/de/packages/@intlayer/editor-react/index.md +0 -45
  982. package/docs/de/packages/@intlayer/webpack/index.md +0 -59
  983. package/docs/de/packages/angular-intlayer/index.md +0 -53
  984. package/docs/de/packages/express-intlayer/index.md +0 -284
  985. package/docs/de/packages/intlayer/index.md +0 -500
  986. package/docs/de/packages/intlayer-cli/index.md +0 -65
  987. package/docs/de/packages/intlayer-editor/index.md +0 -137
  988. package/docs/de/packages/lynx-intlayer/index.md +0 -83
  989. package/docs/de/packages/next-intlayer/index.md +0 -285
  990. package/docs/de/packages/nuxt-intlayer/index.md +0 -53
  991. package/docs/de/packages/preact-intlayer/index.md +0 -53
  992. package/docs/de/packages/react-intlayer/index.md +0 -280
  993. package/docs/de/packages/react-native-intlayer/index.md +0 -83
  994. package/docs/de/packages/react-scripts-intlayer/index.md +0 -80
  995. package/docs/de/packages/solid-intlayer/index.md +0 -54
  996. package/docs/de/packages/svelte-intlayer/index.md +0 -53
  997. package/docs/de/packages/vite-intlayer/index.md +0 -76
  998. package/docs/de/packages/vue-intlayer/index.md +0 -53
  999. package/docs/es/packages/angular-intlayer/index.md +0 -53
@@ -1,367 +1,430 @@
1
1
  ---
2
- createdAt: 2025-09-07
3
- updatedAt: 2025-09-07
4
- title: TanStack Start'ta Intlayer ile Başlarken (React)
5
- description: Intlayer kullanarak TanStack Start uygulamanıza i18n ekleyin-bileşen düzeyinde sözlükler, yerelleştirilmiş URL'ler ve SEO dostu meta veriler.
2
+ createdAt: 2025-09-09
3
+ updatedAt: 2025-09-09
4
+ title: Tanstack Start uygulamanızı nasıl çevirirsiniz – i18n rehberi 2025
5
+ description: Tanstack Start uygulamanıza Intlayer kullanarak uluslararasılaştırma (i18n) nasıl eklenir öğrenin. Uygulamanızı yerel dil yönlendirmesi ile çok dilli hale getirmek için bu kapsamlı rehberi takip edin.
6
6
  keywords:
7
7
  - Uluslararasılaştırma
8
8
  - Dokümantasyon
9
9
  - Intlayer
10
- - TanStack Start
11
- - TanStack Router
10
+ - Tanstack Start
12
11
  - React
13
12
  - i18n
14
- - JavaScript
13
+ - TypeScript
14
+ - Yerel Dil Yönlendirmesi
15
15
  slugs:
16
16
  - doc
17
17
  - environment
18
- - vite-and-react
19
18
  - tanstack-start
20
- applicationTemplate: https://github.com/AydinTheFirst/tanstack-start-intlayer
21
- author: AydinTheFirst
19
+ applicationTemplate: https://github.com/aymericzip/intlayer-tanstack-start-template
20
+ history:
21
+ - version: 6.5.2
22
+ date: 2025-10-03
23
+ changes: Doküman güncellemesi
24
+ - version: 5.8.1
25
+ date: 2025-09-09
26
+ changes: Tanstack Start için eklendi
22
27
  ---
23
28
 
24
- # Intlayer ve TanStack Start (React) ile uluslararasılaştırma (i18n) başlangıç kılavuzu
29
+ # Intlayer ile Tanstack Start çevirin | Uluslararasılaştırma (i18n)
30
+
31
+ Bu rehber, Tanstack Start projelerinde yerel dil yönlendirmesi, TypeScript desteği ve modern geliştirme uygulamalarıyla sorunsuz uluslararasılaştırma için **Intlayer**'ın nasıl entegre edileceğini göstermektedir.
25
32
 
26
33
  ## Intlayer Nedir?
27
34
 
28
- **Intlayer**, React uygulamaları için açık kaynaklı bir i18n araç takımıdır. Size şunları sağlar:
35
+ **Intlayer**, modern web uygulamalarında çok dilli desteği basitleştirmek için tasarlanmış yenilikçi, açık kaynaklı bir uluslararasılaştırma (i18n) kütüphanesidir.
29
36
 
30
- - **TypeScript güvenliği ile bileşen yerel sözlükleri**.
31
- - **Dinamik meta veriler ve rotalar** (SEO hazır).
32
- - **Çalışma zamanı yerel ayar anahtarlaması** (ve yerel ayarları algılamak/kalıcı hale getirmek için yardımcılar).
33
- - **Yapı zamanı dönüşümleri + dev DX için Vite eklentisi**.
37
+ Intlayer ile şunları yapabilirsiniz:
34
38
 
35
- Bu kılavuz, **TanStack Start** projesine Intlayer'ı nasıl bağlayacağınızı gösterir (Vite'i altında kullanan ve yönlendirme/SSR için TanStack Router kullanan).
39
+ - **Bileşen seviyesinde bildirisel sözlükler kullanarak çevirileri kolayca yönetin.**
40
+ - **Meta verileri, yönlendirmeleri ve içeriği dinamik olarak yerelleştirin.**
41
+ - **Otomatik oluşturulan tiplerle TypeScript desteğini sağlayarak otomatik tamamlama ve hata tespitini geliştirin.**
42
+ - **Dinamik yerel dil algılama ve değiştirme gibi gelişmiş özelliklerden faydalanın.**
43
+ - **Tanstack Start'ın dosya tabanlı yönlendirme sistemi ile yerel dil farkındalıklı yönlendirmeyi etkinleştirin.**
36
44
 
37
45
  ---
38
46
 
39
- ## Adım 1: Bağımlılıkları Kurma
47
+ ## Tanstack Start Uygulamasında Intlayer Kurulumu için Adım Adım Rehber
40
48
 
41
- ```bash
42
- # npm
43
- npm i intlayer react-intlayer
44
- npm i -D vite-intlayer
49
+ ### Adım 1: Proje Oluşturma
45
50
 
46
- # pnpm
47
- pnpm add intlayer react-intlayer
48
- pnpm add -D vite-intlayer
51
+ TanStack Start web sitesindeki [Yeni proje başlatma](https://tanstack.com/start/latest/docs/framework/react/quick-start) rehberini takip ederek yeni bir TanStack Start projesi oluşturun.
52
+
53
+ ### Adım 2: Intlayer Paketlerini Yükleyin
49
54
 
50
- # yarn
51
- yarn add intlayer react-intlayer
52
- yarn add -D vite-intlayer
55
+ Tercih ettiğiniz paket yöneticisini kullanarak gerekli paketleri yükleyin:
56
+
57
+ ```bash packageManager="npm"
58
+ npm install intlayer react-intlayer
59
+ npm install vite-intlayer --save-dev
53
60
  ```
54
61
 
55
- - **intlayer**: çekirdek (yapılandırma, sözlükler, CLI/dönüşümler).
56
- - **react-intlayer**: React için `<IntlayerProvider>` + kancalar.
57
- - **vite-intlayer**: Vite eklentisi, ayrıca yerel ayar algılama/yönlendirmeler için isteğe bağlı middleware (dev & SSR/önizlemede çalışır; üretim SSR için `dependencies`'a taşıyın).
62
+ ```bash packageManager="pnpm"
63
+ pnpm add intlayer react-intlayer
64
+ pnpm add vite-intlayer --save-dev
65
+ ```
58
66
 
59
- ---
67
+ - **intlayer**
68
+
69
+ - **intlayer**
70
+
71
+ Yapılandırma yönetimi, çeviri, [içerik bildirimi](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/dictionary/get_started.md), dönüştürme ve [CLI komutları](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/intlayer_cli.md) için uluslararasılaştırma araçları sağlayan temel paket.
60
72
 
61
- ## Adım 2: Intlayer'ı Yapılandırma
73
+ - **react-intlayer**
74
+ Intlayer'ı React uygulamasıyla entegre eden paket. React uluslararasılaştırması için bağlam sağlayıcıları ve kancalar sunar.
62
75
 
63
- Proje kökünüzde `intlayer.config.ts` oluşturun:
76
+ - **vite-intlayer**
77
+ Intlayer'ı [Vite paketleyicisi](https://vite.dev/guide/why.html#why-bundle-for-production) ile entegre etmek için Vite eklentisini içerir; ayrıca kullanıcının tercih ettiği yereli algılayan, çerezleri yöneten ve URL yönlendirmesini ele alan ara yazılımı da kapsar.
64
78
 
65
- ```ts fileName="intlayer.config.ts"
66
- import { Locales, type IntlayerConfig } from "intlayer";
79
+ ### Adım 3: Projenizin Yapılandırılması
80
+
81
+ Uygulamanızın dillerini yapılandırmak için bir yapılandırma dosyası oluşturun:
82
+
83
+ ```typescript fileName="intlayer.config.ts"
84
+ import type { IntlayerConfig } from "intlayer";
85
+
86
+ import { Locales } from "intlayer";
67
87
 
68
88
  const config: IntlayerConfig = {
69
89
  internationalization: {
70
- locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
71
90
  defaultLocale: Locales.ENGLISH,
91
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
72
92
  },
73
- // Ayrıca ayarlayabilirsiniz: contentDir, contentFileExtensions, middleware seçenekleri, vb.
74
93
  };
75
94
 
76
95
  export default config;
77
96
  ```
78
97
 
79
- CommonJS/ESM varyantları, `cjs`/`mjs`'yi tercih ederseniz orijinal dokümanınızla aynıdır.
80
-
81
- > Tam yapılandırma referansı: Intlayer'ın yapılandırma dokümantasyonuna bakın.
82
-
83
- ---
98
+ > Bu yapılandırma dosyası aracılığıyla, yerelleştirilmiş URL'ler, ara yazılım yönlendirmesi, çerez isimleri, içerik bildirimlerinizin konumu ve uzantısı, Intlayer günlüklerini konsolda devre dışı bırakma ve daha fazlasını ayarlayabilirsiniz. Mevcut parametrelerin tam listesi için [yapılandırma dokümantasyonuna](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/configuration.md) bakınız.
84
99
 
85
- ## Adım 3: Vite Eklentisini Ekleyin (ve isteğe bağlı middleware)
100
+ ### Adım 4: Intlayer'ı Vite Yapılandırmanıza Entegre Edin
86
101
 
87
- **TanStack Start Vite kullanır**, bu yüzden Intlayer'ın eklenti(leri)ni `vite.config.ts`'nize ekleyin:
102
+ Yapılandırmanıza intlayer eklentisini ekleyin:
88
103
 
89
- ```ts fileName="vite.config.ts"
104
+ ```typescript fileName="vite.config.ts"
105
+ import { reactRouter } from "@react-router/dev/vite";
90
106
  import { defineConfig } from "vite";
91
- import react from "@vitejs/plugin-react-swc";
92
- import { intlayer, intlayerMiddlewarePlugin } from "vite-intlayer";
107
+ import { intlayer } from "vite-intlayer";
108
+ import tsconfigPaths from "vite-tsconfig-paths";
93
109
 
94
110
  export default defineConfig({
95
- plugins: [
96
- react(),
97
- intlayer(),
98
- // Yerel ayar algılama, çerezler ve yönlendirmeler için isteğe bağlı ancak önerilen:
99
- intlayerMiddlewarePlugin(),
100
- ],
111
+ plugins: [reactRouter(), tsconfigPaths(), intlayer()],
101
112
  });
102
113
  ```
103
114
 
104
- > SSR dağıtırsanız, middleware'in üretimde çalışması için `vite-intlayer`'ı `dependencies`'a taşıyın.
115
+ > `intlayer()` Vite eklentisi, Intlayer'ı Vite ile entegre etmek için kullanılır. İçerik bildirim dosyalarının oluşturulmasını sağlar ve geliştirme modunda bunları izler. Vite uygulaması içinde Intlayer ortam değişkenlerini tanımlar. Ayrıca performansı optimize etmek için takma adlar sağlar.
105
116
 
106
- ---
117
+ ### Adım 5: Düzen Bileşenleri Oluşturun
118
+
119
+ Kök düzeninizi ve yerel dile özgü düzenlerinizi ayarlayın:
120
+
121
+ #### Kök Düzen
122
+
123
+ ```tsx fileName="src/routes/{-$locale}/route.tsx"
124
+ import { createFileRoute, Navigate, Outlet } from "@tanstack/react-router";
125
+ import { IntlayerProvider, useLocale } from "react-intlayer";
126
+
127
+ import { useI18nHTMLAttributes } from "@/hooks/useI18nHTMLAttributes";
128
+
129
+ export const Route = createFileRoute("/{-$locale}")({
130
+ component: LayoutComponent,
131
+ });
132
+
133
+ function LayoutComponent() {
134
+ const { defaultLocale } = useLocale();
135
+ const { locale } = Route.useParams();
136
+
137
+ return (
138
+ <IntlayerProvider locale={defaultLocale}>
139
+ <Outlet />
140
+ </IntlayerProvider>
141
+ );
142
+ }
143
+ ```
144
+
145
+ ### Adım 6: İçeriğinizi Bildirin
107
146
 
108
- ## Adım 4: İçeriğinizi Bildirin
147
+ Çevirileri depolamak için içerik bildirimlerinizi oluşturun ve yönetin:
109
148
 
110
- Sözlüklerinizi `./src` altında herhangi bir yere yerleştirin (varsayılan `contentDir`). Örnek:
149
+ ```tsx fileName="src/contents/page.content.ts"
150
+ import type { Dictionary } from "intlayer";
111
151
 
112
- ```tsx fileName="src/app.content.tsx"
113
- import { t, type Dictionary } from "intlayer";
114
- import type { ReactNode } from "react";
152
+ import { t } from "intlayer";
115
153
 
116
154
  const appContent = {
117
- key: "app",
118
155
  content: {
119
- viteLogo: t({ en: "Vite logo", fr: "Logo Vite", es: "Logo Vite" }),
120
- reactLogo: t({ en: "React logo", fr: "Logo React", es: "Logo React" }),
156
+ links: {
157
+ about: t({
158
+ tr: "Hakkında",
159
+ en: "About",
160
+ es: "Acerca de",
161
+ fr: "À propos",
162
+ }),
163
+ home: t({
164
+ tr: "Ana Sayfa",
165
+ en: "Home",
166
+ es: "Inicio",
167
+ fr: "Accueil",
168
+ }),
169
+ },
170
+ meta: {
171
+ description: t({
172
+ tr: "Bu, Intlayer'ın TanStack Router ile kullanımına bir örnektir",
173
+ en: "This is an example of using Intlayer with TanStack Router",
174
+ es: "Este es un ejemplo de uso de Intlayer con TanStack Router",
175
+ fr: "Ceci est un exemple d'utilisation d'Intlayer avec TanStack Router",
176
+ }),
177
+ },
121
178
  title: t({
122
- en: "TanStack Start + React",
123
- fr: "TanStack Start + React",
124
- es: "TanStack Start + React",
125
- }),
126
- count: t({ en: "count is ", fr: "le compte est ", es: "el recuento es " }),
127
- edit: t<ReactNode>({
128
- en: (
129
- <>
130
- Edit <code>src/routes/index.tsx</code> and save to test HMR
131
- </>
132
- ),
133
- fr: (
134
- <>
135
- Éditez <code>src/routes/index.tsx</code> et enregistrez pour tester
136
- HMR
137
- </>
138
- ),
139
- es: (
140
- <>
141
- Edita <code>src/routes/index.tsx</code> y guarda para probar HMR
142
- </>
143
- ),
144
- }),
145
- readTheDocs: t({
146
- en: "Click the logos to learn more",
147
- fr: "Cliquez sur les logos pour en savoir plus",
148
- es: "Haz clic en los logotipos para saber más",
179
+ tr: "Intlayer + TanStack Router'a Hoş Geldiniz",
180
+ en: "Welcome to Intlayer + TanStack Router",
181
+ es: "Bienvenido a Intlayer + TanStack Router",
182
+ fr: "Bienvenue à Intlayer + TanStack Router",
149
183
  }),
150
184
  },
185
+ key: "app",
151
186
  } satisfies Dictionary;
152
187
 
153
188
  export default appContent;
154
189
  ```
155
190
 
156
- JSON/ESM/CJS varyantları orijinal dokümanınızla aynı şekilde çalışır.
157
-
158
- > TSX içeriği? Kurulumunuz gerektiriyorsa `import React from "react"`'ı unutmayın.
191
+ > İçerik bildirimleriniz, uygulamanızda herhangi bir yerde tanımlanabilir, yeter ki `contentDir` dizinine dahil edilsin (varsayılan olarak, `./app`). Ve içerik bildirim dosya uzantısıyla eşleşmelidir (varsayılan olarak, `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`).
159
192
 
160
- ---
193
+ > Daha fazla ayrıntı için, [içerik bildirim dokümantasyonuna](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/dictionary/get_started.md) bakınız.
161
194
 
162
- ## Adım 5: TanStack Start'ı Intlayer ile Sarmalayın
195
+ ### Adım 7: Yerel Dili Algılayan Bileşenler ve Hook'lar Oluşturun
163
196
 
164
- TanStack Start ile, sağlayıcıları ayarlamak için **kök rota** doğru yerdir.
197
+ Yerel dil algılayan gezinme için bir `LocalizedLink` bileşeni oluşturun:
165
198
 
166
- ```tsx fileName="src/routes/__root.tsx"
167
- import {
168
- Outlet,
169
- createRootRoute,
170
- Link as RouterLink,
171
- } from "@tanstack/react-router";
172
- import { IntlayerProvider, useIntlayer } from "react-intlayer";
199
+ ```tsx fileName="src/components/localized-link.tsx"
200
+ import type { FC } from "react";
173
201
 
174
- function AppShell() {
175
- // Üst düzeyde bir sözlük kullanma örneği:
176
- const content = useIntlayer("app");
202
+ import { Link, type LinkComponentProps } from "@tanstack/react-router";
203
+ import { useLocale } from "react-intlayer";
177
204
 
178
- return (
179
- <div>
180
- <nav className="flex gap-3 p-3">
181
- <RouterLink to="/">Home</RouterLink>
182
- <RouterLink to="/about">About</RouterLink>
183
- </nav>
184
- <main className="p-6">
185
- <h1>{content.title}</h1>
186
- <Outlet />
187
- </main>
188
- </div>
189
- );
190
- }
205
+ export const LOCALE_ROUTE = "{-$locale}" as const;
191
206
 
192
- export const Route = createRootRoute({
193
- component: () => (
194
- <IntlayerProvider>
195
- <AppShell />
196
- </IntlayerProvider>
197
- ),
198
- });
199
- ```
207
+ // Ana yardımcı
208
+ export type RemoveLocaleParam<T> = T extends string
209
+ ? RemoveLocaleFromString<T>
210
+ : T;
200
211
 
201
- Ardından içeriğinizi sayfalarda kullanın:
212
+ export type To = RemoveLocaleParam<LinkComponentProps["to"]>;
202
213
 
203
- ```tsx fileName="src/routes/index.tsx"
204
- import { createFileRoute } from "@tanstack/react-router";
205
- import { useIntlayer } from "react-intlayer";
206
- import reactLogo from "../assets/react.svg";
207
-
208
- export const Route = createFileRoute("/")({
209
- component: () => {
210
- const content = useIntlayer("app");
211
- return (
212
- <>
213
- <button>{content.count}0</button>
214
- <p>{content.edit}</p>
215
- <img
216
- src={reactLogo}
217
- alt={content.reactLogo.value}
218
- width={48}
219
- height={48}
220
- />
221
- <p className="opacity-70">{content.readTheDocs}</p>
222
- </>
223
- );
224
- },
225
- });
226
- ```
214
+ type CollapseDoubleSlashes<S extends string> =
215
+ S extends `${infer H}//${infer T}` ? CollapseDoubleSlashes<`${H}/${T}`> : S;
227
216
 
228
- > Dize nitelikleri (`alt`, `title`, `aria-label`, …) `.value` gerektirir:
229
- >
230
- > ```jsx
231
- > <img alt={c.reactLogo.value} />
232
- > ```
217
+ type LocalizedLinkProps = {
218
+ to?: To;
219
+ } & Omit<LinkComponentProps, "to">;
233
220
 
234
- ---
221
+ // Yardımcılar
222
+ type RemoveAll<
223
+ S extends string,
224
+ Sub extends string,
225
+ > = S extends `${infer H}${Sub}${infer T}` ? RemoveAll<`${H}${T}`, Sub> : S;
235
226
 
236
- ## (İsteğe Bağlı) Adım 6: Yerel Ayar Anahtarlaması (İstemci)
227
+ type RemoveLocaleFromString<S extends string> = CollapseDoubleSlashes<
228
+ RemoveAll<S, typeof LOCALE_ROUTE>
229
+ >;
237
230
 
238
- ```tsx fileName="src/components/LocaleSwitcher.tsx"
239
- import { Locales } from "intlayer";
240
- import { useLocale } from "react-intlayer";
231
+ export const LocalizedLink: FC<LocalizedLinkProps> = (props) => {
232
+ const { locale } = useLocale();
241
233
 
242
- export function LocaleSwitcher() {
243
- const { setLocale } = useLocale();
244
234
  return (
245
- <div className="flex gap-2">
246
- <button onClick={() => setLocale(Locales.ENGLISH)}>English</button>
247
- <button onClick={() => setLocale(Locales.FRENCH)}>Français</button>
248
- <button onClick={() => setLocale(Locales.SPANISH)}>Español</button>
249
- </div>
235
+ <Link
236
+ {...props}
237
+ params={{
238
+ locale,
239
+ ...(typeof props?.params === "object" ? props?.params : {}),
240
+ }}
241
+ to={`/${LOCALE_ROUTE}${props.to}` as LinkComponentProps["to"]}
242
+ />
250
243
  );
251
- }
244
+ };
252
245
  ```
253
246
 
254
- ---
247
+ Bu bileşenin iki amacı vardır:
255
248
 
256
- ## (İsteğe Bağlı) Adım 7: Yerelleştirilmiş Yönlendirme (SEO dostu URL'ler)
249
+ - URL'den gereksiz `{-$locale}` önekini kaldırmak.
250
+ - Kullanıcının doğrudan yerelleştirilmiş rotaya yönlendirilmesini sağlamak için URL'ye locale parametresini enjekte etmek.
257
251
 
258
- TanStack Start ile **iki iyi kalıp** vardır. Birini seçin.
252
+ Daha sonra programatik gezinme için bir `useLocalizedNavigate` kancası oluşturabiliriz:
259
253
 
260
- URL'lerinizin `/:locale/...` olması için dinamik segment klasörü `src/routes/$locale/` oluşturun. `$locale` düzeninde, `params.locale`'ı doğrulayın, `<IntlayerProvider locale=...>` ayarlayın ve `<Outlet />` işleyin. Bu yaklaşım basittir, ancak geri kalan rotalarınızı `$locale` altına monte edeceksiniz ve varsayılan yerel ayarı öneki istemiyorsanız ekstra öneksiz bir ağaca ihtiyacınız olacak.
254
+ ```tsx fileName="src/hooks/useLocalizedNavigate.tsx"
255
+ import { useLocale } from "react-intlayer";
256
+ import { useNavigate } from "@tanstack/react-router";
257
+ import { LOCALE_ROUTE } from "@/components/localized-link";
258
+ import type { FileRouteTypes } from "@/routeTree.gen";
261
259
 
262
- ---
260
+ export const useLocalizedNavigate = () => {
261
+ const navigate = useNavigate();
263
262
 
264
- ## (İsteğe Bağlı) Adım 8: Yerel ayar değiştirirken URL'yi güncelleyin
263
+ const { locale } = useLocale();
265
264
 
266
- A Kalıbı (basepath) ile, yerel ayarları değiştirmek **farklı bir basepath'e** gezinmek anlamına gelir:
265
+ type StripLocalePrefix<T extends string> = T extends
266
+ | `/${typeof LOCALE_ROUTE}`
267
+ | `/${typeof LOCALE_ROUTE}/`
268
+ ? "/"
269
+ : T extends `/${typeof LOCALE_ROUTE}/${infer Rest}`
270
+ ? `/${Rest}`
271
+ : never;
272
+
273
+ type LocalizedTo = StripLocalePrefix<FileRouteTypes["to"]>;
274
+
275
+ interface LocalizedNavigate {
276
+ (to: LocalizedTo): ReturnType<typeof navigate>;
277
+ (
278
+ opts: { to: LocalizedTo } & Record<string, unknown>
279
+ ): ReturnType<typeof navigate>;
280
+ }
267
281
 
268
- ```tsx fileName="src/components/LocaleSwitcherNavigate.tsx"
269
- import { useRouter } from "@tanstack/react-router";
270
- import { Locales, getLocalizedUrl } from "intlayer";
271
- import { useLocale } from "react-intlayer";
282
+ const localizedNavigate: LocalizedNavigate = (args: any) => {
283
+ if (typeof args === "string") {
284
+ return navigate({ to: `/${LOCALE_ROUTE}${args}`, params: { locale } });
285
+ }
286
+
287
+ const { to, ...rest } = args;
272
288
 
273
- export function LocaleSwitcherNavigate() {
274
- const router = useRouter();
275
- const { locale, setLocale } = useLocale();
276
-
277
- const change = async (next: Locales) => {
278
- if (next === locale) return;
279
- const nextPath = getLocalizedUrl(
280
- window.location.pathname + window.location.search,
281
- next
282
- );
283
- await router.navigate({ to: nextPath }); // geçmişi korur
284
- setLocale(next);
289
+ const localedTo = `/${LOCALE_ROUTE}${to}` as any;
290
+
291
+ return navigate({ to: localedTo, params: { locale, ...rest } as any });
285
292
  };
286
293
 
294
+ return localizedNavigate;
295
+ };
296
+ ```
297
+
298
+ ### Adım 8: Sayfalarınızda Intlayer'ı Kullanın
299
+
300
+ Uygulamanız genelinde içerik sözlüklerinize erişin:
301
+
302
+ #### Yerelleştirilmiş Ana Sayfa
303
+
304
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
305
+ import { createFileRoute } from "@tanstack/react-router";
306
+ import { getIntlayer } from "intlayer";
307
+ import { useIntlayer } from "react-intlayer";
308
+
309
+ import LocaleSwitcher from "@/components/locale-switcher";
310
+ import { LocalizedLink } from "@/components/localized-link";
311
+ import { useLocalizedNavigate } from "@/hooks/useLocalizedNavigate";
312
+
313
+ export const Route = createFileRoute("/{-$locale}/")({
314
+ component: RouteComponent,
315
+ head: ({ params }) => {
316
+ const { locale } = params;
317
+ const metaContent = getIntlayer("app", locale);
318
+
319
+ return {
320
+ meta: [
321
+ { title: metaContent.title },
322
+ { content: metaContent.meta.description, name: "description" },
323
+ ],
324
+ };
325
+ },
326
+ });
327
+
328
+ function RouteComponent() {
329
+ const content = useIntlayer("app");
330
+ const navigate = useLocalizedNavigate();
331
+
287
332
  return (
288
- <div className="flex gap-2">
289
- <button onClick={() => change(Locales.ENGLISH)}>English</button>
290
- <button onClick={() => change(Locales.FRENCH)}>Français</button>
291
- <button onClick={() => change(Locales.SPANISH)}>Español</button>
333
+ <div>
334
+ <div>
335
+ {content.title}
336
+ <LocaleSwitcher />
337
+ <div>
338
+ <LocalizedLink to="/">{content.links.home}</LocalizedLink>
339
+ <LocalizedLink to="/about">{content.links.about}</LocalizedLink>
340
+ </div>
341
+ <div>
342
+ <button onClick={() => navigate({ to: "/" })}>
343
+ {content.links.home}
344
+ </button>
345
+ <button onClick={() => navigate({ to: "/about" })}>
346
+ {content.links.about}
347
+ </button>
348
+ </div>
349
+ </div>
292
350
  </div>
293
351
  );
294
352
  }
295
353
  ```
296
354
 
297
- ---
355
+ > `useIntlayer` kancasını daha fazla öğrenmek için, [belgelere](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/packages/react-intlayer/useIntlayer.md) bakınız.
298
356
 
299
- ## (İsteğe Bağlı) Adım 9: `<html lang>` ve `dir` (TanStack Start Document)
300
-
301
- TanStack Start, özelleştirebileceğiniz bir **Document** (kök HTML kabuğu) sunar. Erişilebilirlik/SEO için `lang` ve `dir` ayarlayın:
302
-
303
- ```tsx fileName="src/routes/__root.tsx" {4,15}
304
- import { HeadContent, Scripts, createRootRoute } from "@tanstack/react-router";
305
- import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
306
-
307
- import Header from "../components/Header";
308
-
309
- import { IntlayerProvider } from "react-intlayer";
310
- import appCss from "../styles.css?url";
311
-
312
- export const Route = createRootRoute({
313
- head: () => ({
314
- meta: [
315
- {
316
- charSet: "utf-8",
317
- },
318
- {
319
- name: "viewport",
320
- content: "width=device-width, initial-scale=1",
321
- },
322
- {
323
- title: "TanStack Start Starter",
324
- },
325
- ],
326
- links: [
327
- {
328
- rel: "stylesheet",
329
- href: appCss,
330
- },
331
- ],
332
- }),
333
-
334
- shellComponent: RootDocument,
335
- });
357
+ ### Adım 9: Bir Dil Değiştirici (Locale Switcher) Bileşeni Oluşturun
358
+
359
+ Kullanıcıların dilleri değiştirmesine izin veren bir bileşen oluşturun:
360
+
361
+ ```tsx fileName="src/components/locale-switcher.tsx"
362
+ import type { FC } from "react";
363
+
364
+ import { useLocation } from "@tanstack/react-router";
365
+ import { getHTMLTextDir, getLocaleName, getPathWithoutLocale } from "intlayer";
366
+ import { setLocaleCookie, useIntlayer, useLocale } from "react-intlayer";
367
+
368
+ import { LocalizedLink, To } from "./localized-link";
369
+
370
+ export const LocaleSwitcher: FC = () => {
371
+ const { localeSwitcherLabel } = useIntlayer("locale-switcher");
372
+ const { pathname } = useLocation();
373
+
374
+ const { availableLocales, locale } = useLocale();
375
+
376
+ const pathWithoutLocale = getPathWithoutLocale(pathname);
336
377
 
337
- function RootDocument({ children }: { children: React.ReactNode }) {
338
378
  return (
339
- <IntlayerProvider>
340
- <html lang="en">
341
- <head>
342
- <HeadContent />
343
- </head>
344
- <body>
345
- <Header />
346
- {children}
347
- <TanStackRouterDevtools />
348
- <Scripts />
349
- </body>
350
- </html>
351
- </IntlayerProvider>
379
+ <ol>
380
+ {availableLocales.map((localeEl) => (
381
+ <li key={localeEl}>
382
+ <LocalizedLink
383
+ aria-current={localeEl === locale ? "sayfa" : undefined}
384
+ aria-label={`${localeSwitcherLabel.value} ${getLocaleName(localeEl)}`}
385
+ onClick={() => setLocaleCookie(localeEl)}
386
+ params={{ locale: localeEl }}
387
+ to={pathWithoutLocale as To}
388
+ >
389
+ <span>
390
+ {/* Dil Kodu - örn. FR */}
391
+ {localeItem}
392
+ </span>
393
+ <span>
394
+ {/* Dil kendi yerelinde - örn. Français */}
395
+ {getLocaleName(localeItem, locale)}
396
+ </span>
397
+ <span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
398
+ {/* Dil mevcut yerelde - örn. Francés, mevcut yerel Locales.SPANISH olarak ayarlanmış */}
399
+ {getLocaleName(localeItem)}
400
+ </span>
401
+ <span dir="ltr" lang={Locales.ENGLISH}>
402
+ {/* Dil İngilizce olarak - örn. French */}
403
+ {getLocaleName(localeItem, Locales.ENGLISH)}
404
+ </span>
405
+ </LocalizedLink>
406
+ </li>
407
+ ))}
408
+ </ol>
352
409
  );
353
- }
410
+ };
354
411
  ```
355
412
 
356
- İstemci tarafı düzeltme için, küçük kancanızı da koruyabilirsiniz:
413
+ > `useLocale` hook'u hakkında daha fazla bilgi edinmek için [belgelere](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/packages/react-intlayer/useLocale.md) bakınız.
414
+
415
+ ### Adım 10: HTML Özniteliklerinin Yönetimini Ekleme (İsteğe Bağlı)
357
416
 
358
- ```tsx fileName="src/hooks/useI18nHTMLAttributes.ts"
417
+ HTML lang ve dir özniteliklerini yönetmek için bir hook oluşturun:
418
+
419
+ ```tsx fileName="src/hooks/useI18nHTMLAttributes.tsx"
420
+ // src/hooks/useI18nHTMLAttributes.tsx
421
+ import { getHTMLTextDir } from "intlayer";
359
422
  import { useEffect } from "react";
360
423
  import { useLocale } from "react-intlayer";
361
- import { getHTMLTextDir } from "intlayer";
362
424
 
363
425
  export const useI18nHTMLAttributes = () => {
364
426
  const { locale } = useLocale();
427
+
365
428
  useEffect(() => {
366
429
  document.documentElement.lang = locale;
367
430
  document.documentElement.dir = getHTMLTextDir(locale);
@@ -369,87 +432,121 @@ export const useI18nHTMLAttributes = () => {
369
432
  };
370
433
  ```
371
434
 
372
- ---
435
+ Sonra bunu kök bileşeninizde kullanın:
373
436
 
374
- ## (İsteğe Bağlı) Adım 10: Yerelleştirilmiş Bağlantı bileşeni
437
+ ```tsx fileName="src/routes/{-$locale}/index.tsx"
438
+ import { createFileRoute, Navigate, Outlet } from "@tanstack/react-router";
439
+ import { IntlayerProvider, useLocale } from "react-intlayer";
375
440
 
376
- TanStack Router bir `<Link/>` sağlar, ancak dahili URL'leri otomatik olarak önekeleştiren düz bir `<a>`'ya ihtiyacınız olursa:
441
+ import { useI18nHTMLAttributes } from "@/hooks/useI18nHTMLAttributes"; // hook'u içe aktar
377
442
 
378
- ```tsx fileName="src/components/Link.tsx"
379
- import { getLocalizedUrl } from "intlayer";
380
- import {
381
- forwardRef,
382
- type AnchorHTMLAttributes,
383
- type DetailedHTMLProps,
384
- } from "react";
385
- import { useLocale } from "react-intlayer";
443
+ export const Route = createFileRoute("/{-$locale}")({
444
+ component: LayoutComponent,
445
+ });
386
446
 
387
- export interface LinkProps
388
- extends DetailedHTMLProps<
389
- AnchorHTMLAttributes<HTMLAnchorElement>,
390
- HTMLAnchorElement
391
- > {}
392
-
393
- const isExternal = (href?: string) => /^https?:\/\//.test(href ?? "");
394
-
395
- export const Link = forwardRef<HTMLAnchorElement, LinkProps>(
396
- ({ href, children, ...props }, ref) => {
397
- const { locale } = useLocale();
398
- const hrefI18n =
399
- href && !isExternal(href) ? getLocalizedUrl(href, locale) : href;
400
- return (
401
- <a href={hrefI18n} ref={ref} {...props}>
402
- {children}
403
- </a>
404
- );
405
- }
406
- );
407
- Link.displayName = "Link";
447
+ function LayoutComponent() {
448
+ useI18nHTMLAttributes(); // bu satırı ekle
449
+
450
+ const { defaultLocale } = useLocale();
451
+ const { locale } = Route.useParams();
452
+
453
+ return (
454
+ <IntlayerProvider locale={locale ?? defaultLocale}>
455
+ <Outlet />
456
+ </IntlayerProvider>
457
+ );
458
+ }
408
459
  ```
409
460
 
410
- > A Kalıbını (basepath) kullanırsanız, TanStack'ın `<Link to="/about" />` zaten `basepath` aracılığıyla `/fr/about`'a çözümlenir, bu yüzden özel bir bağlantı isteğe bağlıdır.
461
+ ---
462
+
463
+ ### Adım 11: Middleware Ekleme (İsteğe Bağlı)
464
+
465
+ Uygulamanıza sunucu tarafı yönlendirme eklemek için `intlayerMiddleware`'i de kullanabilirsiniz. Bu eklenti, URL'ye göre mevcut yerel ayarı otomatik olarak algılar ve uygun yerel ayar çerezini ayarlar. Hiçbir yerel ayar belirtilmemişse, eklenti kullanıcının tarayıcı dil tercihlerine göre en uygun yerel ayarı belirler. Hiçbir yerel ayar algılanmazsa, varsayılan yerel ayara yönlendirme yapar.
466
+
467
+ > Üretimde `intlayerMiddleware` kullanmak için, `vite-intlayer` paketini `devDependencies`'den `dependencies`'e geçirmeniz gerektiğini unutmayın.
468
+
469
+ ```typescript {3,7} fileName="vite.config.ts"
470
+ import { reactRouter } from "@react-router/dev/vite";
471
+ import tailwindcss from "@tailwindcss/vite";
472
+ import { defineConfig } from "vite";
473
+ import { intlayer, intlayerMiddleware } from "vite-intlayer";
474
+ import tsconfigPaths from "vite-tsconfig-paths";
475
+
476
+ export default defineConfig({
477
+ plugins: [
478
+ tailwindcss(),
479
+ reactRouter(),
480
+ tsconfigPaths(),
481
+ intlayer(),
482
+ intlayerMiddleware(),
483
+ ],
484
+ });
485
+ ```
411
486
 
412
487
  ---
413
488
 
414
- ## TypeScript
489
+ ### Adım 12: TypeScript Yapılandırması (İsteğe Bağlı)
415
490
 
416
- Intlayer'ın oluşturulan türlerini dahil edin:
491
+ Intlayer, TypeScript'in avantajlarından yararlanmak ve kod tabanınızı daha güçlü hale getirmek için modül genişletme (module augmentation) kullanır.
492
+
493
+ TypeScript yapılandırmanızın otomatik oluşturulan türleri içerdiğinden emin olun:
417
494
 
418
495
  ```json5 fileName="tsconfig.json"
419
496
  {
420
- "include": ["src", ".intlayer/**/*.ts"],
497
+ // ... mevcut yapılandırmalarınız
498
+ include: [
499
+ // ... mevcut dahil ettikleriniz
500
+ ".intlayer/**/*.ts", // Otomatik oluşturulan türleri dahil et
501
+ ],
421
502
  }
422
503
  ```
423
504
 
424
505
  ---
425
506
 
426
- ## Git
507
+ ### Git Yapılandırması
427
508
 
428
- Intlayer'ın oluşturulan eserlerini yok sayın:
509
+ Intlayer tarafından oluşturulan dosyaların göz ardı edilmesi önerilir. Bu, bu dosyaların Git deposuna eklenmesini önlemenizi sağlar.
429
510
 
430
- ```gitignore
511
+ Bunu yapmak için, `.gitignore` dosyanıza aşağıdaki talimatları ekleyebilirsiniz:
512
+
513
+ ```plaintext fileName=".gitignore"
514
+ # Intlayer tarafından oluşturulan dosyaları yoksay
431
515
  .intlayer
432
516
  ```
433
517
 
434
518
  ---
435
519
 
436
- ## VS Code Uzantısı
520
+ ## VS Code Eklentisi
521
+
522
+ Intlayer ile geliştirme deneyiminizi iyileştirmek için resmi **Intlayer VS Code Eklentisi**ni yükleyebilirsiniz.
437
523
 
438
- - **Intlayer VS Code Uzantısı** → otomatik tamamlama, hatalar, satır içi önizlemeler, hızlı eylemler.
439
- Marketplace: `intlayer.intlayer-vs-code-extension`
524
+ [VS Code Marketplace'ten Yükleyin](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
525
+
526
+ Bu eklenti şunları sağlar:
527
+
528
+ - Çeviri anahtarları için **Otomatik tamamlama**.
529
+ - Eksik çeviriler için **Gerçek zamanlı hata tespiti**.
530
+ - Çevrilmiş içeriğin **Satır içi önizlemeleri**.
531
+ - Çevirileri kolayca oluşturup güncellemek için **Hızlı işlemler**.
532
+
533
+ Bu eklentinin nasıl kullanılacağı hakkında daha fazla detay için, [Intlayer VS Code Eklentisi dokümantasyonuna](https://intlayer.org/doc/vs-code-extension) bakabilirsiniz.
440
534
 
441
535
  ---
442
536
 
443
- ## Daha Fazla İlerleyin
537
+ ## Daha İleri Gitmek
444
538
 
445
- - Görsel Düzenleyici
446
- - CMS modu
447
- - Kenarda yerel ayar algılama / adaptörler
539
+ Daha ileri gitmek için, [görsel editörü](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/intlayer_visual_editor.md) uygulayabilir veya içeriğinizi [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/intlayer_CMS.md) kullanarak dışa aktarabilirsiniz.
448
540
 
449
541
  ---
450
542
 
451
- ## Dokümantasyon Geçmişi
543
+ ## Dokümantasyon Referansları
544
+
545
+ - [Intlayer Dokümantasyonu](https://intlayer.org)
546
+ - [Tanstack Start Dokümantasyonu](https://reactrouter.com/)
547
+ - [useIntlayer hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/packages/react-intlayer/useIntlayer.md)
548
+ - [useLocale hook](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/packages/react-intlayer/useLocale.md)
549
+ - [İçerik Beyanı](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/dictionary/get_started.md)
550
+ - [Yapılandırma](https://github.com/aymericzip/intlayer/blob/main/docs/docs/tr/configuration.md)
452
551
 
453
- | Sürüm | Tarih | Değişiklikler |
454
- | ----- | ---------- | --------------------------------- |
455
- | 1.0.0 | 2025-08-11 | TanStack Start uyarlaması eklendi |
552
+ Bu kapsamlı rehber, Intlayer'ı Tanstack Start ile tam uluslararasılaştırılmış, yerel farkındalıklı yönlendirme ve TypeScript desteğine sahip bir uygulama için entegre etmeniz gereken her şeyi sağlar.