@intlayer/docs 7.5.0-canary.0 → 7.5.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 (377) hide show
  1. package/blog/ar/intlayer_with_i18next.md +1 -1
  2. package/blog/ar/intlayer_with_next-i18next.md +1 -1
  3. package/blog/ar/intlayer_with_next-intl.md +1 -1
  4. package/blog/ar/intlayer_with_react-i18next.md +1 -1
  5. package/blog/ar/intlayer_with_react-intl.md +1 -1
  6. package/blog/ar/intlayer_with_vue-i18n.md +1 -1
  7. package/blog/de/intlayer_with_i18next.md +1 -1
  8. package/blog/de/intlayer_with_next-i18next.md +1 -1
  9. package/blog/de/intlayer_with_next-intl.md +1 -1
  10. package/blog/de/intlayer_with_react-i18next.md +1 -1
  11. package/blog/de/intlayer_with_react-intl.md +1 -1
  12. package/blog/de/intlayer_with_vue-i18n.md +1 -1
  13. package/blog/en/intlayer_with_i18next.md +1 -1
  14. package/blog/en/intlayer_with_next-i18next.md +1 -1
  15. package/blog/en/intlayer_with_next-intl.md +1 -1
  16. package/blog/en/intlayer_with_react-i18next.md +1 -1
  17. package/blog/en/intlayer_with_react-intl.md +1 -1
  18. package/blog/en/intlayer_with_vue-i18n.md +1 -1
  19. package/blog/en-GB/intlayer_with_i18next.md +1 -1
  20. package/blog/en-GB/intlayer_with_next-i18next.md +1 -1
  21. package/blog/en-GB/intlayer_with_next-intl.md +1 -1
  22. package/blog/en-GB/intlayer_with_react-i18next.md +1 -1
  23. package/blog/en-GB/intlayer_with_react-intl.md +1 -1
  24. package/blog/en-GB/intlayer_with_vue-i18n.md +1 -1
  25. package/blog/es/intlayer_with_i18next.md +1 -1
  26. package/blog/es/intlayer_with_next-i18next.md +1 -1
  27. package/blog/es/intlayer_with_next-intl.md +1 -1
  28. package/blog/es/intlayer_with_react-i18next.md +1 -1
  29. package/blog/es/intlayer_with_react-intl.md +1 -1
  30. package/blog/es/intlayer_with_vue-i18n.md +1 -1
  31. package/blog/fr/intlayer_with_i18next.md +1 -1
  32. package/blog/fr/intlayer_with_next-i18next.md +1 -1
  33. package/blog/fr/intlayer_with_next-intl.md +1 -1
  34. package/blog/fr/intlayer_with_react-i18next.md +1 -1
  35. package/blog/fr/intlayer_with_react-intl.md +1 -1
  36. package/blog/fr/intlayer_with_vue-i18n.md +1 -1
  37. package/blog/hi/intlayer_with_i18next.md +1 -1
  38. package/blog/hi/intlayer_with_next-i18next.md +1 -1
  39. package/blog/hi/intlayer_with_next-intl.md +1 -1
  40. package/blog/hi/intlayer_with_react-i18next.md +1 -1
  41. package/blog/hi/intlayer_with_react-intl.md +1 -1
  42. package/blog/hi/intlayer_with_vue-i18n.md +1 -1
  43. package/blog/id/intlayer_with_i18next.md +1 -1
  44. package/blog/id/intlayer_with_next-i18next.md +1 -1
  45. package/blog/id/intlayer_with_next-intl.md +1 -1
  46. package/blog/id/intlayer_with_react-i18next.md +1 -1
  47. package/blog/id/intlayer_with_react-intl.md +1 -1
  48. package/blog/id/intlayer_with_vue-i18n.md +1 -1
  49. package/blog/it/intlayer_with_i18next.md +1 -1
  50. package/blog/it/intlayer_with_next-i18next.md +1 -1
  51. package/blog/it/intlayer_with_next-intl.md +1 -1
  52. package/blog/it/intlayer_with_react-i18next.md +1 -1
  53. package/blog/it/intlayer_with_react-intl.md +1 -1
  54. package/blog/it/intlayer_with_vue-i18n.md +1 -1
  55. package/blog/ja/intlayer_with_i18next.md +1 -1
  56. package/blog/ja/intlayer_with_next-i18next.md +1 -1
  57. package/blog/ja/intlayer_with_next-intl.md +1 -1
  58. package/blog/ja/intlayer_with_react-i18next.md +1 -1
  59. package/blog/ja/intlayer_with_react-intl.md +1 -1
  60. package/blog/ja/intlayer_with_vue-i18n.md +1 -1
  61. package/blog/ko/intlayer_with_i18next.md +1 -1
  62. package/blog/ko/intlayer_with_next-i18next.md +1 -1
  63. package/blog/ko/intlayer_with_next-intl.md +1 -1
  64. package/blog/ko/intlayer_with_react-i18next.md +1 -1
  65. package/blog/ko/intlayer_with_react-intl.md +1 -1
  66. package/blog/ko/intlayer_with_vue-i18n.md +1 -1
  67. package/blog/pl/intlayer_with_i18next.md +1 -1
  68. package/blog/pl/intlayer_with_next-i18next.md +1 -1
  69. package/blog/pl/intlayer_with_next-intl.md +1 -1
  70. package/blog/pl/intlayer_with_react-i18next.md +1 -1
  71. package/blog/pl/intlayer_with_react-intl.md +1 -1
  72. package/blog/pl/intlayer_with_vue-i18n.md +1 -1
  73. package/blog/pt/intlayer_with_i18next.md +1 -1
  74. package/blog/pt/intlayer_with_next-i18next.md +1 -1
  75. package/blog/pt/intlayer_with_next-intl.md +1 -1
  76. package/blog/pt/intlayer_with_react-i18next.md +1 -1
  77. package/blog/pt/intlayer_with_react-intl.md +1 -1
  78. package/blog/pt/intlayer_with_vue-i18n.md +1 -1
  79. package/blog/ru/intlayer_with_i18next.md +1 -1
  80. package/blog/ru/intlayer_with_next-i18next.md +1 -1
  81. package/blog/ru/intlayer_with_next-intl.md +1 -1
  82. package/blog/ru/intlayer_with_react-i18next.md +1 -1
  83. package/blog/ru/intlayer_with_react-intl.md +1 -1
  84. package/blog/ru/intlayer_with_vue-i18n.md +1 -1
  85. package/blog/tr/intlayer_with_i18next.md +1 -1
  86. package/blog/tr/intlayer_with_next-i18next.md +1 -1
  87. package/blog/tr/intlayer_with_next-intl.md +1 -1
  88. package/blog/tr/intlayer_with_react-i18next.md +1 -1
  89. package/blog/tr/intlayer_with_vue-i18n.md +1 -1
  90. package/blog/vi/intlayer_with_i18next.md +1 -1
  91. package/blog/vi/intlayer_with_next-i18next.md +1 -1
  92. package/blog/vi/intlayer_with_next-intl.md +1 -1
  93. package/blog/vi/intlayer_with_react-i18next.md +1 -1
  94. package/blog/vi/intlayer_with_react-intl.md +1 -1
  95. package/blog/vi/intlayer_with_vue-i18n.md +1 -1
  96. package/blog/zh/intlayer_with_i18next.md +1 -1
  97. package/blog/zh/intlayer_with_next-i18next.md +1 -1
  98. package/blog/zh/intlayer_with_next-intl.md +1 -1
  99. package/blog/zh/intlayer_with_react-i18next.md +1 -1
  100. package/blog/zh/intlayer_with_react-intl.md +1 -1
  101. package/blog/zh/intlayer_with_vue-i18n.md +1 -1
  102. package/dist/cjs/common.cjs +6 -6
  103. package/dist/cjs/common.cjs.map +1 -1
  104. package/dist/cjs/generated/blog.entry.cjs +4 -4
  105. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  106. package/dist/cjs/generated/docs.entry.cjs +23 -4
  107. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  108. package/dist/cjs/generated/frequentQuestions.entry.cjs +4 -4
  109. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  110. package/dist/cjs/generated/legal.entry.cjs +4 -4
  111. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  112. package/dist/esm/generated/docs.entry.mjs +19 -0
  113. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  114. package/dist/types/generated/docs.entry.d.ts +1 -0
  115. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  116. package/docs/ar/cli/index.md +5 -0
  117. package/docs/ar/cli/login.md +157 -0
  118. package/docs/ar/configuration.md +12 -0
  119. package/docs/ar/dictionary/content_file.md +1 -1
  120. package/docs/ar/intlayer_CMS.md +1 -1
  121. package/docs/ar/intlayer_visual_editor.md +1 -1
  122. package/docs/ar/intlayer_with_nextjs_15.md +1 -1
  123. package/docs/ar/intlayer_with_nextjs_16.md +1 -1
  124. package/docs/ar/intlayer_with_nuxt.md +1 -1
  125. package/docs/ar/intlayer_with_react_router_v7.md +1 -1
  126. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +1 -1
  127. package/docs/ar/intlayer_with_tanstack.md +1 -1
  128. package/docs/ar/intlayer_with_vite+react.md +1 -1
  129. package/docs/ar/intlayer_with_vite+vue.md +1 -1
  130. package/docs/ar/plugins/sync-json.md +1 -1
  131. package/docs/de/cli/index.md +5 -0
  132. package/docs/de/cli/login.md +160 -0
  133. package/docs/de/configuration.md +12 -0
  134. package/docs/de/dictionary/content_file.md +1 -1
  135. package/docs/de/intlayer_CMS.md +1 -1
  136. package/docs/de/intlayer_visual_editor.md +1 -1
  137. package/docs/de/intlayer_with_nextjs_15.md +1 -1
  138. package/docs/de/intlayer_with_nextjs_16.md +1 -1
  139. package/docs/de/intlayer_with_nuxt.md +1 -1
  140. package/docs/de/intlayer_with_react_router_v7.md +1 -1
  141. package/docs/de/intlayer_with_react_router_v7_fs_routes.md +1 -1
  142. package/docs/de/intlayer_with_tanstack.md +1 -1
  143. package/docs/de/intlayer_with_vite+react.md +1 -1
  144. package/docs/de/intlayer_with_vite+vue.md +1 -1
  145. package/docs/de/plugins/sync-json.md +1 -1
  146. package/docs/en/cli/index.md +5 -0
  147. package/docs/en/cli/login.md +157 -0
  148. package/docs/en/configuration.md +13 -0
  149. package/docs/en/dictionary/content_file.md +1 -1
  150. package/docs/en/index.md +1 -0
  151. package/docs/en/intlayer_CMS.md +1 -1
  152. package/docs/en/intlayer_visual_editor.md +1 -1
  153. package/docs/en/intlayer_with_nextjs_15.md +1 -1
  154. package/docs/en/intlayer_with_nextjs_16.md +1 -1
  155. package/docs/en/intlayer_with_nuxt.md +1 -1
  156. package/docs/en/intlayer_with_react_router_v7.md +1 -1
  157. package/docs/en/intlayer_with_react_router_v7_fs_routes.md +1 -1
  158. package/docs/en/intlayer_with_tanstack.md +8 -7
  159. package/docs/en/intlayer_with_vite+preact.md +1 -2
  160. package/docs/en/intlayer_with_vite+react.md +1 -1
  161. package/docs/en/intlayer_with_vite+vue.md +1 -1
  162. package/docs/en/plugins/sync-json.md +1 -1
  163. package/docs/en-GB/cli/index.md +5 -0
  164. package/docs/en-GB/cli/login.md +181 -0
  165. package/docs/en-GB/configuration.md +12 -0
  166. package/docs/en-GB/dictionary/content_file.md +1 -1
  167. package/docs/en-GB/intlayer_CMS.md +1 -1
  168. package/docs/en-GB/intlayer_visual_editor.md +1 -1
  169. package/docs/en-GB/intlayer_with_nextjs_15.md +1 -1
  170. package/docs/en-GB/intlayer_with_nextjs_16.md +1 -1
  171. package/docs/en-GB/intlayer_with_nuxt.md +1 -1
  172. package/docs/en-GB/intlayer_with_react_router_v7.md +1 -1
  173. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +1 -1
  174. package/docs/en-GB/intlayer_with_tanstack.md +1 -1
  175. package/docs/en-GB/intlayer_with_vite+react.md +1 -1
  176. package/docs/en-GB/intlayer_with_vite+vue.md +1 -1
  177. package/docs/en-GB/plugins/sync-json.md +1 -1
  178. package/docs/es/cli/index.md +5 -0
  179. package/docs/es/cli/login.md +182 -0
  180. package/docs/es/configuration.md +12 -0
  181. package/docs/es/dictionary/content_file.md +1 -1
  182. package/docs/es/intlayer_CMS.md +1 -1
  183. package/docs/es/intlayer_visual_editor.md +1 -1
  184. package/docs/es/intlayer_with_nextjs_15.md +1 -1
  185. package/docs/es/intlayer_with_nextjs_16.md +1 -1
  186. package/docs/es/intlayer_with_nuxt.md +1 -1
  187. package/docs/es/intlayer_with_react_router_v7.md +1 -1
  188. package/docs/es/intlayer_with_react_router_v7_fs_routes.md +1 -1
  189. package/docs/es/intlayer_with_tanstack.md +1 -1
  190. package/docs/es/intlayer_with_vite+react.md +1 -1
  191. package/docs/es/intlayer_with_vite+vue.md +1 -1
  192. package/docs/es/plugins/sync-json.md +1 -1
  193. package/docs/fr/cli/index.md +5 -0
  194. package/docs/fr/cli/login.md +185 -0
  195. package/docs/fr/configuration.md +12 -0
  196. package/docs/fr/dictionary/content_file.md +1 -1
  197. package/docs/fr/intlayer_CMS.md +1 -1
  198. package/docs/fr/intlayer_visual_editor.md +1 -1
  199. package/docs/fr/intlayer_with_nextjs_15.md +1 -1
  200. package/docs/fr/intlayer_with_nextjs_16.md +1 -1
  201. package/docs/fr/intlayer_with_nuxt.md +1 -1
  202. package/docs/fr/intlayer_with_react_router_v7.md +1 -1
  203. package/docs/fr/intlayer_with_react_router_v7_fs_routes.md +1 -1
  204. package/docs/fr/intlayer_with_tanstack.md +1 -1
  205. package/docs/fr/intlayer_with_vite+react.md +1 -1
  206. package/docs/fr/intlayer_with_vite+vue.md +1 -1
  207. package/docs/fr/plugins/sync-json.md +1 -1
  208. package/docs/hi/cli/index.md +5 -0
  209. package/docs/hi/cli/login.md +181 -0
  210. package/docs/hi/configuration.md +12 -0
  211. package/docs/hi/dictionary/content_file.md +1 -1
  212. package/docs/hi/intlayer_CMS.md +1 -1
  213. package/docs/hi/intlayer_visual_editor.md +1 -1
  214. package/docs/hi/intlayer_with_nextjs_15.md +1 -1
  215. package/docs/hi/intlayer_with_nextjs_16.md +1 -1
  216. package/docs/hi/intlayer_with_nuxt.md +1 -1
  217. package/docs/hi/intlayer_with_react_router_v7.md +1 -1
  218. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +1 -1
  219. package/docs/hi/intlayer_with_tanstack.md +1 -1
  220. package/docs/hi/intlayer_with_vite+react.md +1 -1
  221. package/docs/hi/intlayer_with_vite+vue.md +1 -1
  222. package/docs/hi/plugins/sync-json.md +1 -1
  223. package/docs/id/cli/index.md +5 -0
  224. package/docs/id/cli/login.md +157 -0
  225. package/docs/id/configuration.md +12 -0
  226. package/docs/id/dictionary/content_file.md +1 -1
  227. package/docs/id/intlayer_CMS.md +1 -1
  228. package/docs/id/intlayer_visual_editor.md +1 -1
  229. package/docs/id/intlayer_with_nextjs_15.md +1 -1
  230. package/docs/id/intlayer_with_nextjs_16.md +1 -1
  231. package/docs/id/intlayer_with_nuxt.md +1 -1
  232. package/docs/id/intlayer_with_react_router_v7.md +1 -1
  233. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +1 -1
  234. package/docs/id/intlayer_with_tanstack.md +1 -1
  235. package/docs/id/intlayer_with_vite+preact.md +1 -2
  236. package/docs/id/intlayer_with_vite+react.md +1 -1
  237. package/docs/id/intlayer_with_vite+vue.md +1 -1
  238. package/docs/id/plugins/sync-json.md +1 -1
  239. package/docs/it/cli/index.md +5 -0
  240. package/docs/it/cli/login.md +157 -0
  241. package/docs/it/configuration.md +12 -0
  242. package/docs/it/dictionary/content_file.md +1 -1
  243. package/docs/it/intlayer_CMS.md +1 -1
  244. package/docs/it/intlayer_visual_editor.md +1 -1
  245. package/docs/it/intlayer_with_nextjs_15.md +1 -1
  246. package/docs/it/intlayer_with_nextjs_16.md +1 -1
  247. package/docs/it/intlayer_with_nuxt.md +1 -1
  248. package/docs/it/intlayer_with_react_router_v7.md +1 -1
  249. package/docs/it/intlayer_with_react_router_v7_fs_routes.md +1 -1
  250. package/docs/it/intlayer_with_tanstack.md +1 -1
  251. package/docs/it/intlayer_with_vite+react.md +1 -1
  252. package/docs/it/intlayer_with_vite+vue.md +1 -1
  253. package/docs/it/plugins/sync-json.md +1 -1
  254. package/docs/ja/cli/index.md +5 -0
  255. package/docs/ja/cli/login.md +159 -0
  256. package/docs/ja/configuration.md +12 -0
  257. package/docs/ja/dictionary/content_file.md +1 -1
  258. package/docs/ja/intlayer_CMS.md +1 -1
  259. package/docs/ja/intlayer_visual_editor.md +1 -1
  260. package/docs/ja/intlayer_with_nextjs_15.md +1 -1
  261. package/docs/ja/intlayer_with_nextjs_16.md +1 -1
  262. package/docs/ja/intlayer_with_nuxt.md +1 -1
  263. package/docs/ja/intlayer_with_react_router_v7.md +1 -1
  264. package/docs/ja/intlayer_with_react_router_v7_fs_routes.md +1 -1
  265. package/docs/ja/intlayer_with_tanstack.md +1 -1
  266. package/docs/ja/intlayer_with_vite+react.md +1 -1
  267. package/docs/ja/intlayer_with_vite+vue.md +1 -1
  268. package/docs/ja/plugins/sync-json.md +1 -1
  269. package/docs/ko/cli/index.md +5 -0
  270. package/docs/ko/cli/login.md +188 -0
  271. package/docs/ko/configuration.md +12 -0
  272. package/docs/ko/dictionary/content_file.md +1 -1
  273. package/docs/ko/intlayer_CMS.md +1 -1
  274. package/docs/ko/intlayer_visual_editor.md +1 -1
  275. package/docs/ko/intlayer_with_nextjs_15.md +1 -1
  276. package/docs/ko/intlayer_with_nextjs_16.md +1 -1
  277. package/docs/ko/intlayer_with_nuxt.md +1 -1
  278. package/docs/ko/intlayer_with_react_router_v7.md +1 -1
  279. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +1 -1
  280. package/docs/ko/intlayer_with_tanstack.md +1 -1
  281. package/docs/ko/intlayer_with_vite+react.md +1 -1
  282. package/docs/ko/intlayer_with_vite+vue.md +1 -1
  283. package/docs/ko/plugins/sync-json.md +1 -1
  284. package/docs/pl/cli/index.md +5 -0
  285. package/docs/pl/cli/login.md +187 -0
  286. package/docs/pl/configuration.md +12 -0
  287. package/docs/pl/dictionary/content_file.md +1 -1
  288. package/docs/pl/intlayer_CMS.md +1 -1
  289. package/docs/pl/intlayer_visual_editor.md +1 -1
  290. package/docs/pl/intlayer_with_nextjs_15.md +1 -1
  291. package/docs/pl/intlayer_with_nextjs_16.md +1 -1
  292. package/docs/pl/intlayer_with_nuxt.md +1 -1
  293. package/docs/pl/intlayer_with_react_router_v7.md +1 -1
  294. package/docs/pl/intlayer_with_react_router_v7_fs_routes.md +2 -2
  295. package/docs/pl/intlayer_with_tanstack.md +1 -1
  296. package/docs/pl/intlayer_with_vite+preact.md +1 -2
  297. package/docs/pl/intlayer_with_vite+react.md +1 -1
  298. package/docs/pl/intlayer_with_vite+vue.md +1 -1
  299. package/docs/pl/plugins/sync-json.md +1 -1
  300. package/docs/pt/cli/index.md +5 -0
  301. package/docs/pt/cli/login.md +186 -0
  302. package/docs/pt/configuration.md +12 -0
  303. package/docs/pt/dictionary/content_file.md +1 -1
  304. package/docs/pt/intlayer_CMS.md +1 -1
  305. package/docs/pt/intlayer_visual_editor.md +1 -1
  306. package/docs/pt/intlayer_with_nextjs_15.md +1 -1
  307. package/docs/pt/intlayer_with_nextjs_16.md +1 -1
  308. package/docs/pt/intlayer_with_nuxt.md +1 -1
  309. package/docs/pt/intlayer_with_react_router_v7.md +1 -1
  310. package/docs/pt/intlayer_with_react_router_v7_fs_routes.md +570 -0
  311. package/docs/pt/intlayer_with_tanstack.md +1 -1
  312. package/docs/pt/intlayer_with_vite+react.md +1 -1
  313. package/docs/pt/intlayer_with_vite+vue.md +1 -1
  314. package/docs/pt/plugins/sync-json.md +1 -1
  315. package/docs/ru/cli/index.md +5 -0
  316. package/docs/ru/cli/login.md +181 -0
  317. package/docs/ru/configuration.md +12 -0
  318. package/docs/ru/dictionary/content_file.md +1 -1
  319. package/docs/ru/intlayer_CMS.md +1 -1
  320. package/docs/ru/intlayer_visual_editor.md +1 -1
  321. package/docs/ru/intlayer_with_nextjs_15.md +1 -1
  322. package/docs/ru/intlayer_with_nextjs_16.md +1 -1
  323. package/docs/ru/intlayer_with_nuxt.md +1 -1
  324. package/docs/ru/intlayer_with_react_router_v7.md +1 -1
  325. package/docs/ru/intlayer_with_react_router_v7_fs_routes.md +1 -1
  326. package/docs/ru/intlayer_with_tanstack.md +1 -1
  327. package/docs/ru/intlayer_with_vite+react.md +1 -1
  328. package/docs/ru/intlayer_with_vite+vue.md +1 -1
  329. package/docs/ru/plugins/sync-json.md +1 -1
  330. package/docs/tr/cli/index.md +5 -0
  331. package/docs/tr/cli/login.md +171 -0
  332. package/docs/tr/configuration.md +12 -0
  333. package/docs/tr/dictionary/content_file.md +1 -1
  334. package/docs/tr/intlayer_CMS.md +1 -1
  335. package/docs/tr/intlayer_visual_editor.md +1 -1
  336. package/docs/tr/intlayer_with_nextjs_15.md +1 -1
  337. package/docs/tr/intlayer_with_nextjs_16.md +1 -1
  338. package/docs/tr/intlayer_with_nuxt.md +1 -1
  339. package/docs/tr/intlayer_with_react_router_v7.md +1 -1
  340. package/docs/tr/intlayer_with_react_router_v7_fs_routes.md +1 -1
  341. package/docs/tr/intlayer_with_tanstack.md +1 -1
  342. package/docs/tr/intlayer_with_vite+react.md +1 -1
  343. package/docs/tr/intlayer_with_vite+vue.md +1 -1
  344. package/docs/tr/plugins/sync-json.md +1 -1
  345. package/docs/vi/cli/index.md +5 -0
  346. package/docs/vi/cli/login.md +186 -0
  347. package/docs/vi/configuration.md +12 -0
  348. package/docs/vi/dictionary/content_file.md +1 -1
  349. package/docs/vi/intlayer_CMS.md +1 -1
  350. package/docs/vi/intlayer_visual_editor.md +1 -1
  351. package/docs/vi/intlayer_with_nextjs_15.md +1 -1
  352. package/docs/vi/intlayer_with_nextjs_16.md +1 -1
  353. package/docs/vi/intlayer_with_nuxt.md +1 -1
  354. package/docs/vi/intlayer_with_react_router_v7.md +1 -1
  355. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +1 -1
  356. package/docs/vi/intlayer_with_tanstack.md +1 -1
  357. package/docs/vi/intlayer_with_vite+preact.md +1 -2
  358. package/docs/vi/intlayer_with_vite+react.md +1 -1
  359. package/docs/vi/intlayer_with_vite+vue.md +1 -1
  360. package/docs/vi/plugins/sync-json.md +1 -1
  361. package/docs/zh/cli/index.md +5 -0
  362. package/docs/zh/cli/login.md +182 -0
  363. package/docs/zh/configuration.md +12 -0
  364. package/docs/zh/dictionary/content_file.md +1 -1
  365. package/docs/zh/intlayer_CMS.md +1 -1
  366. package/docs/zh/intlayer_visual_editor.md +1 -1
  367. package/docs/zh/intlayer_with_nextjs_15.md +1 -1
  368. package/docs/zh/intlayer_with_nextjs_16.md +1 -1
  369. package/docs/zh/intlayer_with_nuxt.md +1 -1
  370. package/docs/zh/intlayer_with_react_router_v7.md +1 -1
  371. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +1 -1
  372. package/docs/zh/intlayer_with_tanstack.md +1 -1
  373. package/docs/zh/intlayer_with_vite+react.md +1 -1
  374. package/docs/zh/intlayer_with_vite+vue.md +1 -1
  375. package/docs/zh/plugins/sync-json.md +1 -1
  376. package/package.json +9 -9
  377. package/src/generated/docs.entry.ts +19 -0
@@ -0,0 +1,570 @@
1
+ ---
2
+ createdAt: 2025-12-07
3
+ updatedAt: 2025-12-07
4
+ title: Como traduzir sua aplicação React Router v7 (File-System Routes) – guia i18n 2025
5
+ description: Aprenda como adicionar internacionalização (i18n) à sua aplicação React Router v7 usando Intlayer com roteamento baseado em sistema de arquivos. Siga este guia completo para tornar sua aplicação multilíngue com roteamento consciente de localidade.
6
+ keywords:
7
+ - Internacionalização
8
+ - Documentação
9
+ - Intlayer
10
+ - React Router v7
11
+ - fs-routes
12
+ - File System Routes
13
+ - React
14
+ - i18n
15
+ - TypeScript
16
+ - Locale Routing
17
+ slugs:
18
+ - doc
19
+ - environment
20
+ - vite-and-react
21
+ - react-router-v7-fs-routes
22
+ applicationTemplate: https://github.com/aymericzip/intlayer-react-router-v7-fs-routes-template
23
+ youtubeVideo: https://www.youtube.com/watch?v=dS9L7uJeak4
24
+ history:
25
+ - version: 7.3.4
26
+ date: 2025-12-08
27
+ changes: Histórico inicial
28
+ ---
29
+
30
+ # Traduza seu site React Router v7 (File-System Routes) usando Intlayer | Internacionalização (i18n)
31
+
32
+ Este guia demonstra como integrar o **Intlayer** para internacionalização perfeita em projetos React Router v7 usando **roteamento baseado em sistema de arquivos** (`@react-router/fs-routes`) com roteamento consciente de localidade, suporte a TypeScript e práticas modernas de desenvolvimento.
33
+
34
+ ## Índice
35
+
36
+ <TOC/>
37
+
38
+ ## O que é o Intlayer?
39
+
40
+ **Intlayer** é uma biblioteca de internacionalização (i18n) inovadora e de código aberto projetada para simplificar o suporte multilíngue em aplicações web modernas.
41
+
42
+ Com o Intlayer, você pode:
43
+
44
+ - **Gerenciar traduções facilmente** usando dicionários declarativos no nível do componente.
45
+ - **Localizar dinamicamente metadados**, rotas e conteúdo.
46
+ - **Garantir suporte ao TypeScript** com tipos autogerados, melhorando o preenchimento automático e a detecção de erros.
47
+ - **Aproveitar recursos avançados**, como detecção dinâmica de localidade e alternância de idioma.
48
+ - **Habilitar roteamento consciente de localidade** com o sistema de roteamento baseado em sistema de arquivos do React Router v7.
49
+
50
+ ---
51
+
52
+ ## Guia Passo a Passo para Configurar o Intlayer em uma Aplicação React Router v7 com File-System Routes
53
+
54
+ <Tab defaultTab="video">
55
+ <TabItem label="Vídeo" value="video">
56
+
57
+ <iframe title="Como traduzir sua aplicação React Router v7 (File-System Routes) usando Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/dS9L7uJeak4?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
58
+
59
+ </TabItem>
60
+ <TabItem label="Código" value="code">
61
+
62
+ <iframe
63
+ src="https://stackblitz.com/github/aymericzip/intlayer-react-router-v7-fs-routes-template?embed=1&ctl=1&file=intlayer.config.ts"
64
+ className="m-auto overflow-hidden rounded-lg border-0 max-md:size-full max-md:h-[700px] md:aspect-16/9 md:w-full"
65
+ title="Demo CodeSandbox - Como internacionalizar sua aplicação usando Intlayer"
66
+ sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
67
+ loading="lazy"
68
+ />
69
+
70
+ </TabItem>
71
+ </Tab>
72
+
73
+ Veja o [Application Template](https://github.com/aymericzip/intlayer-react-router-v7-fs-routes-template) no GitHub.
74
+
75
+ ### Passo 1: Instalar Dependências
76
+
77
+ Instale os pacotes necessários usando seu gerenciador de pacotes preferido:
78
+
79
+ ```bash packageManager="npm"
80
+ npm install intlayer react-intlayer
81
+ npm install vite-intlayer --save-dev
82
+ npm install @react-router/fs-routes --save-dev
83
+ ```
84
+
85
+ ```bash packageManager="pnpm"
86
+ pnpm add intlayer react-intlayer
87
+ pnpm add vite-intlayer --save-dev
88
+ pnpm add @react-router/fs-routes --save-dev
89
+ ```
90
+
91
+ - **intlayer**
92
+
93
+ 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/cli/index.md).
94
+
95
+ - **react-intlayer**
96
+ O pacote que integra o Intlayer com aplicações React. Fornece providers de contexto e hooks para internacionalização em React.
97
+
98
+ - **vite-intlayer**
99
+ Inclui o plugin Vite para integrar o Intlayer com o [Vite bundler](https://vite.dev/guide/why.html#why-bundle-for-production), bem como middleware para detectar a localidade preferida do usuário, gerenciar cookies e lidar com redirecionamento de URL.
100
+
101
+ - **@react-router/fs-routes**
102
+ O pacote que habilita roteamento baseado em sistema de arquivos para React Router v7.
103
+
104
+ ### Passo 2: Configuração do seu projeto
105
+
106
+ Crie um arquivo de configuração para configurar os idiomas da sua aplicação:
107
+
108
+ ```typescript fileName="intlayer.config.ts" codeFormat="typescript"
109
+ import { type IntlayerConfig, Locales } from "intlayer";
110
+
111
+ const config: IntlayerConfig = {
112
+ internationalization: {
113
+ defaultLocale: Locales.ENGLISH,
114
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
115
+ },
116
+ };
117
+
118
+ export default config;
119
+ ```
120
+
121
+ ```javascript fileName="intlayer.config.mjs" codeFormat="esm"
122
+ import { Locales } from "intlayer";
123
+
124
+ /** @type {import('intlayer').IntlayerConfig} */
125
+ const config = {
126
+ internationalization: {
127
+ defaultLocale: Locales.ENGLISH,
128
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
129
+ },
130
+ };
131
+
132
+ export default config;
133
+ ```
134
+
135
+ ```javascript fileName="intlayer.config.cjs" codeFormat="commonjs"
136
+ const { Locales } = require("intlayer");
137
+
138
+ /** @type {import('intlayer').IntlayerConfig} */
139
+ const config = {
140
+ internationalization: {
141
+ defaultLocale: Locales.ENGLISH,
142
+ locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH],
143
+ },
144
+ };
145
+
146
+ module.exports = config;
147
+ ```
148
+
149
+ > Através deste arquivo de configuração, você pode configurar URLs localizadas, redirecionamento de middleware, nomes de cookies, a localização e extensão das suas declarações de conteúdo, desabilitar os logs do Intlayer no console e mais. Para uma lista completa dos parâmetros disponíveis, consulte a [documentação de configuração](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/configuration.md).
150
+
151
+ ### Passo 3: Integrar o Intlayer na sua Configuração do Vite
152
+
153
+ Adicione o plugin intlayer na sua configuração:
154
+
155
+ ```typescript fileName="vite.config.ts"
156
+ import { reactRouter } from "@react-router/dev/vite";
157
+ import { defineConfig } from "vite";
158
+ import { intlayer } from "vite-intlayer";
159
+ import tsconfigPaths from "vite-tsconfig-paths";
160
+
161
+ export default defineConfig({
162
+ plugins: [reactRouter(), tsconfigPaths(), intlayer()],
163
+ });
164
+ ```
165
+
166
+ > O plugin Vite `intlayer()` é usado para integrar o Intlayer com o Vite. Ele garante a construção dos arquivos de declaração de conteúdo e os monitora em modo de desenvolvimento. Ele define variáveis de ambiente do Intlayer dentro da aplicação Vite. Além disso, fornece aliases para otimizar o desempenho.
167
+
168
+ ### Passo 4: Configurar Rotas File-System do React Router v7
169
+
170
+ Configure sua configuração de rotas para usar rotas baseadas em sistema de arquivos com `flatRoutes`:
171
+
172
+ ```typescript fileName="app/routes.ts"
173
+ import type { RouteConfig } from "@react-router/dev/routes";
174
+ import { flatRoutes } from "@react-router/fs-routes";
175
+ import { configuration } from "intlayer";
176
+
177
+ const routes: RouteConfig = flatRoutes({
178
+ // Ignorar arquivos de declaração de conteúdo para não serem tratados como rotas
179
+ ignoredRouteFiles: configuration.content.fileExtensions.map(
180
+ (fileExtension) => `**/*${fileExtension}`
181
+ ),
182
+ });
183
+
184
+ export default routes;
185
+ ```
186
+
187
+ > A função `flatRoutes` do `@react-router/fs-routes` habilita roteamento baseado em sistema de arquivos, onde a estrutura de arquivos no diretório `routes/` determina as rotas da sua aplicação. A opção `ignoredRouteFiles` garante que os arquivos de declaração de conteúdo do Intlayer (`.content.ts`, etc.) não sejam tratados como arquivos de rota.
188
+
189
+ ### Passo 5: Criar Arquivos de Rota com Convenções File-System
190
+
191
+ Com roteamento baseado em sistema de arquivos, você usa uma convenção de nomenclatura plana onde pontos (`.`) representam segmentos de caminho e parênteses `()` denotam segmentos opcionais.
192
+
193
+ Crie os seguintes arquivos no seu diretório `app/routes/`:
194
+
195
+ #### Estrutura de Arquivos
196
+
197
+ ```bash
198
+ app/routes/
199
+ ├── ($locale)._layout.tsx # Wrapper de layout para rotas de locale
200
+ ├── ($locale)._index.tsx # Página inicial (/:locale?)
201
+ ├── ($locale)._index.content.ts # Conteúdo da página inicial
202
+ ├── ($locale).about.tsx # Página About (/:locale?/about)
203
+ └── ($locale).about.content.ts # Conteúdo da página About
204
+ ```
205
+
206
+ As convenções de nomenclatura:
207
+
208
+ - `($locale)` - Segmento dinâmico opcional para o parâmetro locale
209
+ - `_layout` - Rota de layout que envolve as rotas filhas
210
+ - `_index` - Rota index (renderiza no caminho pai)
211
+ - `.` (ponto) - Separa segmentos de caminho (ex.: `($locale).about` → `/:locale?/about`)
212
+
213
+ #### Componente de Layout
214
+
215
+ ```tsx fileName="app/routes/($locale)._layout.tsx"
216
+ import { IntlayerProvider } from "react-intlayer";
217
+ import { Outlet } from "react-router";
218
+
219
+ import { useI18nHTMLAttributes } from "~/hooks/useI18nHTMLAttributes";
220
+
221
+ import type { Route } from "./+types/($locale)._layout";
222
+
223
+ export default function RootLayout({ params }: Route.ComponentProps) {
224
+ useI18nHTMLAttributes();
225
+
226
+ const { locale } = params;
227
+
228
+ return (
229
+ <IntlayerProvider locale={locale}>
230
+ <Outlet />
231
+ </IntlayerProvider>
232
+ );
233
+ }
234
+ ```
235
+
236
+ #### Página Index
237
+
238
+ ```tsx fileName="app/routes/($locale)._index.tsx"
239
+ import { useIntlayer } from "react-intlayer";
240
+ import { LocalizedLink } from "~/components/localized-link";
241
+
242
+ import type { Route } from "./+types/($locale)._index";
243
+
244
+ export default function Page() {
245
+ const { title, description, aboutLink } = useIntlayer("page");
246
+
247
+ return (
248
+ <div>
249
+ <h1>{title}</h1>
250
+ <p>{description}</p>
251
+ <nav>
252
+ <LocalizedLink to="/about">{aboutLink}</LocalizedLink>
253
+ </nav>
254
+ </div>
255
+ );
256
+ }
257
+ ```
258
+
259
+ #### Página About
260
+
261
+ ```tsx fileName="app/routes/($locale).about.tsx"
262
+ import { useIntlayer } from "react-intlayer";
263
+ import { LocalizedLink } from "~/components/localized-link";
264
+
265
+ import type { Route } from "./+types/($locale).about";
266
+
267
+ export default function AboutPage() {
268
+ const { title, content, homeLink } = useIntlayer("about");
269
+
270
+ return (
271
+ <div>
272
+ <h1>{title}</h1>
273
+ <p>{content}</p>
274
+ <nav>
275
+ <LocalizedLink to="/">{homeLink}</LocalizedLink>
276
+ </nav>
277
+ </div>
278
+ );
279
+ }
280
+ ```
281
+
282
+ ### Passo 6: Declarar seu Conteúdo
283
+
284
+ Crie e gerencie suas declarações de conteúdo para armazenar traduções. Coloque os arquivos de conteúdo ao lado dos seus arquivos de rota:
285
+
286
+ ```tsx fileName="app/routes/($locale)._index.content.ts"
287
+ import { t, type Dictionary } from "intlayer";
288
+
289
+ const pageContent = {
290
+ key: "page",
291
+ content: {
292
+ title: t({
293
+ en: "Welcome to React Router v7 + Intlayer",
294
+ es: "Bienvenido a React Router v7 + Intlayer",
295
+ fr: "Bienvenue sur React Router v7 + Intlayer",
296
+ }),
297
+ description: t({
298
+ en: "Build multilingual applications with ease using React Router v7 and Intlayer.",
299
+ es: "Cree aplicaciones multilingües fácilmente usando React Router v7 y Intlayer.",
300
+ fr: "Créez des applications multilingues facilement avec React Router v7 et Intlayer.",
301
+ }),
302
+ aboutLink: t({
303
+ en: "Learn About Us",
304
+ es: "Aprender Sobre Nosotros",
305
+ fr: "En savoir plus sur nous",
306
+ }),
307
+ },
308
+ } satisfies Dictionary;
309
+
310
+ export default pageContent;
311
+ ```
312
+
313
+ ```tsx fileName="app/routes/($locale).about.content.ts"
314
+ import { t, type Dictionary } from "intlayer";
315
+
316
+ const aboutContent = {
317
+ key: "about",
318
+ content: {
319
+ title: t({
320
+ en: "About Us",
321
+ es: "Sobre Nosotros",
322
+ fr: "À propos de nous",
323
+ }),
324
+ content: t({
325
+ en: "This is the about page content.",
326
+ es: "Este es el contenido de la página de información.",
327
+ fr: "Ceci est le contenu de la page à propos.",
328
+ }),
329
+ homeLink: t({
330
+ en: "Home",
331
+ es: "Inicio",
332
+ fr: "Accueil",
333
+ }),
334
+ },
335
+ } satisfies Dictionary;
336
+
337
+ export default aboutContent;
338
+ ```
339
+
340
+ > Suas declarações de conteúdo podem ser definidas em qualquer lugar da sua aplicação, desde que sejam incluídas no diretório `contentDir` (por padrão, `./app`). E correspondam à extensão de arquivo de declaração de conteúdo (por padrão, `.content.{json,ts,tsx,js,jsx,mjs,mjx,cjs,cjx}`).
341
+
342
+ > 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).
343
+
344
+ ### Passo 7: Criar Componentes Locale-Aware
345
+
346
+ Crie um componente `LocalizedLink` para navegação consciente de localidade:
347
+
348
+ ```tsx fileName="app/components/localized-link.tsx"
349
+ import type { FC } from "react";
350
+
351
+ import { getLocalizedUrl, type LocalesValues } from "intlayer";
352
+ import { useLocale } from "react-intlayer";
353
+ import { Link, type LinkProps, type To } from "react-router";
354
+
355
+ const isExternalLink = (to: string) => /^(https?:)?\/\//.test(to);
356
+
357
+ export const locacalizeTo = (to: To, locale: LocalesValues): To => {
358
+ if (typeof to === "string") {
359
+ if (isExternalLink(to)) {
360
+ return to;
361
+ }
362
+
363
+ return getLocalizedUrl(to, locale);
364
+ }
365
+
366
+ if (isExternalLink(to.pathname ?? "")) {
367
+ return to;
368
+ }
369
+
370
+ return {
371
+ ...to,
372
+ pathname: getLocalizedUrl(to.pathname ?? "", locale),
373
+ };
374
+ };
375
+
376
+ export const LocalizedLink: FC<LinkProps> = (props) => {
377
+ const { locale } = useLocale();
378
+
379
+ return <Link {...props} to={locacalizeTo(props.to, locale)} />;
380
+ };
381
+ ```
382
+
383
+ No caso de você querer navegar para as rotas localizadas, você pode usar o hook `useLocalizedNavigate`:
384
+
385
+ ```tsx fileName="app/hooks/useLocalizedNavigate.ts"
386
+ import { useLocale } from "react-intlayer";
387
+ import { type NavigateOptions, type To, useNavigate } from "react-router";
388
+
389
+ import { locacalizeTo } from "~/components/localized-link";
390
+
391
+ export const useLocalizedNavigate = () => {
392
+ const navigate = useNavigate();
393
+ const { locale } = useLocale();
394
+
395
+ const localizedNavigate = (to: To, options?: NavigateOptions) => {
396
+ const localedTo = locacalizeTo(to, locale);
397
+
398
+ navigate(localedTo, options);
399
+ };
400
+
401
+ return localizedNavigate;
402
+ };
403
+ ```
404
+
405
+ ### Passo 8: Criar um Componente de Alternância de Locale
406
+
407
+ Crie um componente para permitir que os usuários alterem idiomas:
408
+
409
+ ```tsx fileName="app/components/locale-switcher.tsx"
410
+ import type { FC } from "react";
411
+
412
+ import {
413
+ getHTMLTextDir,
414
+ getLocaleName,
415
+ getLocalizedUrl,
416
+ getPathWithoutLocale,
417
+ Locales,
418
+ } from "intlayer";
419
+ import { useIntlayer, useLocale } from "react-intlayer";
420
+ import { Link, useLocation } from "react-router";
421
+
422
+ export const LocaleSwitcher: FC = () => {
423
+ const { localeSwitcherLabel } = useIntlayer("locale-switcher");
424
+ const { pathname } = useLocation();
425
+
426
+ const { availableLocales, locale } = useLocale();
427
+
428
+ const pathWithoutLocale = getPathWithoutLocale(pathname);
429
+
430
+ return (
431
+ <ol>
432
+ {availableLocales.map((localeItem) => (
433
+ <li key={localeItem}>
434
+ <Link
435
+ aria-current={localeItem === locale ? "page" : undefined}
436
+ aria-label={`${localeSwitcherLabel.value} ${getLocaleName(localeItem)}`}
437
+ reloadDocument // Recarregar a página para aplicar o novo locale
438
+ to={getLocalizedUrl(pathWithoutLocale, localeItem)}
439
+ >
440
+ <span>
441
+ {/* Locale - ex.: FR */}
442
+ {localeItem}
443
+ </span>
444
+ <span>
445
+ {/* Idioma na sua própria Locale - ex.: Français */}
446
+ {getLocaleName(localeItem, locale)}
447
+ </span>
448
+ <span dir={getHTMLTextDir(localeItem)} lang={localeItem}>
449
+ {/* Idioma na Locale atual - ex.: Francés com a locale atual definida como Locales.SPANISH */}
450
+ {getLocaleName(localeItem)}
451
+ </span>
452
+ <span dir="ltr" lang={Locales.ENGLISH}>
453
+ {/* Idioma em inglês - ex.: French */}
454
+ {getLocaleName(localeItem, Locales.ENGLISH)}
455
+ </span>
456
+ </Link>
457
+ </li>
458
+ ))}
459
+ </ol>
460
+ );
461
+ };
462
+ ```
463
+
464
+ > Para saber mais sobre o hook `useLocale`, consulte a [documentação](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/packages/react-intlayer/useLocale.md).
465
+
466
+ ### Passo 9: Adicionar Gerenciamento de Atributos HTML (Opcional)
467
+
468
+ Crie um hook para gerenciar os atributos HTML lang e dir:
469
+
470
+ ```tsx fileName="app/hooks/useI18nHTMLAttributes.tsx"
471
+ import { getHTMLTextDir } from "intlayer";
472
+ import { useEffect } from "react";
473
+ import { useLocale } from "react-intlayer";
474
+
475
+ export const useI18nHTMLAttributes = () => {
476
+ const { locale } = useLocale();
477
+
478
+ useEffect(() => {
479
+ document.documentElement.lang = locale;
480
+ document.documentElement.dir = getHTMLTextDir(locale);
481
+ }, [locale]);
482
+ };
483
+ ```
484
+
485
+ Este hook já é usado no componente de layout (`($locale)._layout.tsx`) mostrado no Passo 5.
486
+
487
+ ### Passo 10: Adicionar middleware (Opcional)
488
+
489
+ Você também pode usar o `intlayerProxy` para adicionar roteamento do lado do servidor à sua aplicação. Este plugin detectará automaticamente a localidade atual com base na URL e definirá o cookie de localidade apropriado. Se nenhuma localidade for especificada, o plugin determinará a localidade mais adequada com base nas preferências de idioma do navegador do usuário. Se nenhuma localidade for detectada, ele redirecionará para a localidade padrão.
490
+
491
+ > Note que para usar o `intlayerProxy` em produção, você precisa mover o pacote `vite-intlayer` de `devDependencies` para `dependencies`.
492
+
493
+ ```typescript {3,7} fileName="vite.config.ts"
494
+ import { reactRouter } from "@react-router/dev/vite";
495
+ import { defineConfig } from "vite";
496
+ import { intlayer, intlayerProxy } from "vite-intlayer";
497
+ import tsconfigPaths from "vite-tsconfig-paths";
498
+
499
+ export default defineConfig({
500
+ plugins: [reactRouter(), tsconfigPaths(), intlayer(), intlayerProxy()],
501
+ });
502
+ ```
503
+
504
+ ---
505
+
506
+ ## Configurar TypeScript
507
+
508
+ O Intlayer usa module augmentation para aproveitar os benefícios do TypeScript e tornar sua codebase mais robusta.
509
+
510
+ Certifique-se de que sua configuração do TypeScript inclui os tipos autogerados:
511
+
512
+ ```json5 fileName="tsconfig.json"
513
+ {
514
+ // ... suas configurações existentes
515
+ include: [
516
+ // ... seus includes existentes
517
+ ".intlayer/**/*.ts", // Incluir os tipos autogerados
518
+ ],
519
+ }
520
+ ```
521
+
522
+ ---
523
+
524
+ ## Configuração do Git
525
+
526
+ É recomendado ignorar os arquivos gerados pelo Intlayer. Isso permite que você evite commitá-los no seu repositório Git.
527
+
528
+ Para fazer isso, você pode adicionar as seguintes instruções ao seu arquivo `.gitignore`:
529
+
530
+ ```plaintext fileName=".gitignore"
531
+ # Ignorar os arquivos gerados pelo Intlayer
532
+ .intlayer
533
+ ```
534
+
535
+ ---
536
+
537
+ ## Extensão do VS Code
538
+
539
+ Para melhorar sua experiência de desenvolvimento com o Intlayer, você pode instalar a extensão oficial **Intlayer VS Code Extension**.
540
+
541
+ [Instalar no VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=intlayer.intlayer-vs-code-extension)
542
+
543
+ Esta extensão fornece:
544
+
545
+ - **Autocompletar** para chaves de tradução.
546
+ - **Detecção de erros em tempo real** para traduções faltando.
547
+ - **Pré-visualizações inline** do conteúdo traduzido.
548
+ - **Ações rápidas** para criar e atualizar traduções facilmente.
549
+
550
+ Para mais detalhes sobre como usar a extensão, consulte a [documentação da Extensão Intlayer VS Code](https://intlayer.org/doc/vs-code-extension).
551
+
552
+ ---
553
+
554
+ ## Ir Além
555
+
556
+ Para ir além, você pode implementar o [editor visual](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_visual_editor.md) ou externalizar seu conteúdo usando o [CMS](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/intlayer_CMS.md).
557
+
558
+ ---
559
+
560
+ ## Referências da Documentação
561
+
562
+ - [Documentação do Intlayer](https://intlayer.org)
563
+ - [Documentação do React Router v7](https://reactrouter.com/)
564
+ - [Documentação do React Router fs-routes](https://reactrouter.com/how-to/file-route-conventions)
565
+ - [Hook useIntlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/packages/react-intlayer/useIntlayer.md)
566
+ - [Hook useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/packages/react-intlayer/useLocale.md)
567
+ - [Declaração de Conteúdo](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/dictionary/content_file.md)
568
+ - [Configuração](https://github.com/aymericzip/intlayer/blob/main/docs/docs/pt/configuration.md)
569
+
570
+ Este guia completo fornece tudo o que você precisa para integrar o Intlayer com o React Router v7 usando roteamento baseado em sistema de arquivos para uma aplicação totalmente internacionalizada com roteamento consciente de localidade e suporte a TypeScript.
@@ -57,7 +57,7 @@ Com o Intlayer, você pode:
57
57
  <Tab defaultTab="video">
58
58
  <TabItem label="Video" value="video">
59
59
 
60
- <iframe title="A melhor solução i18n para Tanstack Start? Descubra o Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/_XTdKVWaeqg?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
60
+ <iframe title="A melhor solução i18n para Tanstack Start? Descubra o Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/_XTdKVWaeqg?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
61
61
 
62
62
  </TabItem>
63
63
  <TabItem label="Code" value="code">
@@ -47,7 +47,7 @@ Com o Intlayer, você pode:
47
47
  <Tab defaultTab="video">
48
48
  <TabItem label="Video" value="video">
49
49
 
50
- <iframe title="The best i18n solution for Vite and React? Discover Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/dS9L7uJeak4?si=VaKmrYMmXjo3xpk2"/>
50
+ <iframe title="The best i18n solution for Vite and React? Discover Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/dS9L7uJeak4?si=VaKmrYMmXjo3xpk2"/>
51
51
 
52
52
  </TabItem>
53
53
  <TabItem label="Code" value="code">
@@ -42,7 +42,7 @@ Com o Intlayer, você pode:
42
42
  <Tab defaultTab="video">
43
43
  <TabItem label="Vídeo" value="video">
44
44
 
45
- <iframe title="The best i18n solution for Vite and Vue? Discover Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/IE3XWkZ6a5U?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
45
+ <iframe title="The best i18n solution for Vite and Vue? Discover Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/IE3XWkZ6a5U?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
46
46
 
47
47
  </TabItem>
48
48
  <TabItem label="Código" value="code">
@@ -34,7 +34,7 @@ history:
34
34
 
35
35
  # Sync JSON (pontes i18n) - Sync JSON com suporte ICU / i18next
36
36
 
37
- <iframe title="Como manter suas traduções JSON sincronizadas com Intlayer" class="m-auto aspect-[16/9] w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/MpGMxniDHNg?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
37
+ <iframe title="Como manter suas traduções JSON sincronizadas com Intlayer" class="m-auto aspect-16/9 w-full overflow-hidden rounded-lg border-0" allow="autoplay; gyroscope;" loading="lazy" width="1080" height="auto" src="https://www.youtube.com/embed/MpGMxniDHNg?autoplay=0&amp;origin=http://intlayer.org&amp;controls=0&amp;rel=1"/>
38
38
 
39
39
  Use o Intlayer como um complemento para sua pilha i18n existente. Este plugin mantém suas mensagens JSON sincronizadas com os dicionários Intlayer para que você possa:
40
40
 
@@ -103,6 +103,10 @@ Intlayer поддерживает несколько форматов конфи
103
103
 
104
104
  ## Запуск команд intlayer
105
105
 
106
+ ### Аутентификация
107
+
108
+ - **[Вход](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ru/cli/login.md)** - Аутентификация в Intlayer CMS и получение учетных данных доступа
109
+
106
110
  ### Основные команды
107
111
 
108
112
  - **[Сборка словарей](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ru/cli/build.md)** - Сборка ваших словарей из файлов декларации контента
@@ -144,6 +148,7 @@ Intlayer поддерживает несколько форматов конфи
144
148
 
145
149
  ```json fileName="package.json"
146
150
  "scripts": {
151
+ "intlayer:login": "npx intlayer login",
147
152
  "intlayer:build": "npx intlayer build",
148
153
  "intlayer:watch": "npx intlayer build --watch",
149
154
  "intlayer:push": "npx intlayer push",