@intlayer/docs 9.0.0-canary.3 → 9.0.0-canary.4

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 (1163) hide show
  1. package/blog/ar/intlayer_with_i18next.md +20 -4
  2. package/blog/ar/intlayer_with_next-i18next.md +20 -4
  3. package/blog/ar/intlayer_with_next-intl.md +20 -4
  4. package/blog/ar/intlayer_with_react-i18next.md +20 -4
  5. package/blog/ar/intlayer_with_react-intl.md +20 -4
  6. package/blog/ar/intlayer_with_vue-i18n.md +20 -4
  7. package/blog/de/intlayer_with_i18next.md +30 -6
  8. package/blog/de/intlayer_with_next-i18next.md +30 -6
  9. package/blog/de/intlayer_with_next-intl.md +33 -7
  10. package/blog/de/intlayer_with_react-i18next.md +33 -7
  11. package/blog/de/intlayer_with_react-intl.md +33 -7
  12. package/blog/de/intlayer_with_vue-i18n.md +33 -7
  13. package/blog/en/intlayer_with_i18next.md +20 -4
  14. package/blog/en/intlayer_with_next-i18next.md +20 -4
  15. package/blog/en/intlayer_with_next-intl.md +20 -4
  16. package/blog/en/intlayer_with_react-i18next.md +20 -4
  17. package/blog/en/intlayer_with_react-intl.md +20 -4
  18. package/blog/en/intlayer_with_vue-i18n.md +20 -4
  19. package/blog/en-GB/intlayer_with_i18next.md +20 -4
  20. package/blog/en-GB/intlayer_with_next-i18next.md +20 -4
  21. package/blog/en-GB/intlayer_with_next-intl.md +20 -4
  22. package/blog/en-GB/intlayer_with_react-i18next.md +20 -4
  23. package/blog/en-GB/intlayer_with_react-intl.md +20 -4
  24. package/blog/en-GB/intlayer_with_vue-i18n.md +20 -4
  25. package/blog/es/intlayer_with_i18next.md +20 -4
  26. package/blog/es/intlayer_with_next-i18next.md +20 -4
  27. package/blog/es/intlayer_with_next-intl.md +20 -4
  28. package/blog/es/intlayer_with_react-i18next.md +20 -4
  29. package/blog/es/intlayer_with_react-intl.md +20 -4
  30. package/blog/es/intlayer_with_vue-i18n.md +20 -4
  31. package/blog/fr/intlayer_with_i18next.md +20 -4
  32. package/blog/fr/intlayer_with_next-i18next.md +20 -4
  33. package/blog/fr/intlayer_with_next-intl.md +20 -4
  34. package/blog/fr/intlayer_with_react-i18next.md +20 -4
  35. package/blog/fr/intlayer_with_react-intl.md +20 -4
  36. package/blog/fr/intlayer_with_vue-i18n.md +20 -4
  37. package/blog/hi/intlayer_with_i18next.md +20 -4
  38. package/blog/hi/intlayer_with_next-i18next.md +20 -4
  39. package/blog/hi/intlayer_with_next-intl.md +20 -4
  40. package/blog/hi/intlayer_with_react-i18next.md +20 -4
  41. package/blog/hi/intlayer_with_react-intl.md +20 -4
  42. package/blog/hi/intlayer_with_vue-i18n.md +20 -4
  43. package/blog/id/intlayer_with_i18next.md +20 -4
  44. package/blog/id/intlayer_with_next-i18next.md +20 -4
  45. package/blog/id/intlayer_with_next-intl.md +20 -4
  46. package/blog/id/intlayer_with_react-i18next.md +20 -4
  47. package/blog/id/intlayer_with_react-intl.md +20 -4
  48. package/blog/id/intlayer_with_vue-i18n.md +20 -4
  49. package/blog/it/intlayer_with_i18next.md +33 -7
  50. package/blog/it/intlayer_with_next-i18next.md +33 -7
  51. package/blog/it/intlayer_with_next-intl.md +33 -7
  52. package/blog/it/intlayer_with_react-i18next.md +33 -7
  53. package/blog/it/intlayer_with_react-intl.md +33 -7
  54. package/blog/it/intlayer_with_vue-i18n.md +33 -7
  55. package/blog/ja/intlayer_with_i18next.md +20 -4
  56. package/blog/ja/intlayer_with_next-i18next.md +20 -4
  57. package/blog/ja/intlayer_with_next-intl.md +20 -4
  58. package/blog/ja/intlayer_with_react-i18next.md +20 -4
  59. package/blog/ja/intlayer_with_react-intl.md +20 -4
  60. package/blog/ja/intlayer_with_vue-i18n.md +20 -4
  61. package/blog/ko/intlayer_with_i18next.md +33 -7
  62. package/blog/ko/intlayer_with_next-i18next.md +33 -7
  63. package/blog/ko/intlayer_with_next-intl.md +33 -7
  64. package/blog/ko/intlayer_with_react-i18next.md +33 -7
  65. package/blog/ko/intlayer_with_react-intl.md +33 -7
  66. package/blog/ko/intlayer_with_vue-i18n.md +33 -7
  67. package/blog/pl/intlayer_with_i18next.md +20 -4
  68. package/blog/pl/intlayer_with_next-i18next.md +20 -4
  69. package/blog/pl/intlayer_with_next-intl.md +20 -4
  70. package/blog/pl/intlayer_with_react-i18next.md +20 -4
  71. package/blog/pl/intlayer_with_react-intl.md +20 -4
  72. package/blog/pl/intlayer_with_vue-i18n.md +20 -4
  73. package/blog/pt/intlayer_with_i18next.md +33 -7
  74. package/blog/pt/intlayer_with_next-i18next.md +33 -7
  75. package/blog/pt/intlayer_with_next-intl.md +33 -7
  76. package/blog/pt/intlayer_with_react-i18next.md +33 -7
  77. package/blog/pt/intlayer_with_react-intl.md +33 -7
  78. package/blog/pt/intlayer_with_vue-i18n.md +33 -7
  79. package/blog/ru/intlayer_with_i18next.md +20 -4
  80. package/blog/ru/intlayer_with_next-i18next.md +20 -4
  81. package/blog/ru/intlayer_with_next-intl.md +20 -4
  82. package/blog/ru/intlayer_with_react-i18next.md +20 -4
  83. package/blog/ru/intlayer_with_react-intl.md +20 -4
  84. package/blog/ru/intlayer_with_vue-i18n.md +20 -4
  85. package/blog/tr/intlayer_with_i18next.md +20 -4
  86. package/blog/tr/intlayer_with_next-i18next.md +20 -4
  87. package/blog/tr/intlayer_with_next-intl.md +20 -4
  88. package/blog/tr/intlayer_with_react-i18next.md +20 -4
  89. package/blog/tr/intlayer_with_react-intl.md +20 -4
  90. package/blog/tr/intlayer_with_vue-i18n.md +20 -4
  91. package/blog/uk/intlayer_with_i18next.md +20 -4
  92. package/blog/uk/intlayer_with_next-i18next.md +20 -4
  93. package/blog/uk/intlayer_with_next-intl.md +20 -4
  94. package/blog/uk/intlayer_with_react-i18next.md +20 -4
  95. package/blog/uk/intlayer_with_react-intl.md +20 -4
  96. package/blog/uk/intlayer_with_vue-i18n.md +20 -4
  97. package/blog/vi/intlayer_with_i18next.md +20 -4
  98. package/blog/vi/intlayer_with_next-i18next.md +20 -4
  99. package/blog/vi/intlayer_with_next-intl.md +20 -4
  100. package/blog/vi/intlayer_with_react-i18next.md +20 -4
  101. package/blog/vi/intlayer_with_react-intl.md +20 -4
  102. package/blog/vi/intlayer_with_vue-i18n.md +20 -4
  103. package/blog/zh/intlayer_with_i18next.md +20 -4
  104. package/blog/zh/intlayer_with_next-i18next.md +20 -4
  105. package/blog/zh/intlayer_with_next-intl.md +20 -4
  106. package/blog/zh/intlayer_with_react-i18next.md +20 -4
  107. package/blog/zh/intlayer_with_react-intl.md +20 -4
  108. package/blog/zh/intlayer_with_vue-i18n.md +20 -4
  109. package/dist/cjs/generated/docs.entry.cjs +160 -0
  110. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  111. package/dist/esm/generated/docs.entry.mjs +160 -0
  112. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  113. package/dist/types/generated/docs.entry.d.ts +8 -0
  114. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  115. package/docs/ar/intlayer_with_adonisjs.md +20 -4
  116. package/docs/ar/intlayer_with_analog.md +20 -4
  117. package/docs/ar/intlayer_with_angular_19.md +20 -4
  118. package/docs/ar/intlayer_with_angular_21.md +20 -4
  119. package/docs/ar/intlayer_with_astro_lit.md +20 -8
  120. package/docs/ar/intlayer_with_astro_preact.md +20 -8
  121. package/docs/ar/intlayer_with_astro_react.md +20 -8
  122. package/docs/ar/intlayer_with_astro_solid.md +20 -8
  123. package/docs/ar/intlayer_with_astro_svelte.md +20 -8
  124. package/docs/ar/intlayer_with_astro_vanilla.md +20 -8
  125. package/docs/ar/intlayer_with_astro_vue.md +20 -8
  126. package/docs/ar/intlayer_with_create_react_app.md +20 -4
  127. package/docs/ar/intlayer_with_express.md +20 -4
  128. package/docs/ar/intlayer_with_fastify.md +20 -8
  129. package/docs/ar/intlayer_with_hono.md +20 -4
  130. package/docs/ar/intlayer_with_lynx+react.md +20 -4
  131. package/docs/ar/intlayer_with_nestjs.md +20 -4
  132. package/docs/ar/intlayer_with_next-i18next.md +20 -4
  133. package/docs/ar/intlayer_with_nextjs_14.md +20 -4
  134. package/docs/ar/intlayer_with_nextjs_15.md +20 -4
  135. package/docs/ar/intlayer_with_nextjs_16.md +20 -4
  136. package/docs/ar/intlayer_with_nextjs_compiler.md +20 -4
  137. package/docs/ar/intlayer_with_nextjs_no_locale_path.md +20 -4
  138. package/docs/ar/intlayer_with_nextjs_page_router.md +20 -4
  139. package/docs/ar/intlayer_with_nuxt.md +25 -7
  140. package/docs/ar/intlayer_with_react_native+expo.md +20 -4
  141. package/docs/ar/intlayer_with_react_router_v7.md +20 -4
  142. package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +20 -4
  143. package/docs/ar/intlayer_with_svelte_kit.md +40 -8
  144. package/docs/ar/intlayer_with_tanstack+solid.md +20 -4
  145. package/docs/ar/intlayer_with_tanstack.md +20 -4
  146. package/docs/ar/intlayer_with_vite+lit.md +20 -4
  147. package/docs/ar/intlayer_with_vite+preact.md +20 -4
  148. package/docs/ar/intlayer_with_vite+react.md +20 -4
  149. package/docs/ar/intlayer_with_vite+react_compiler.md +20 -4
  150. package/docs/ar/intlayer_with_vite+solid.md +20 -4
  151. package/docs/ar/intlayer_with_vite+svelte.md +20 -4
  152. package/docs/ar/intlayer_with_vite+vanilla.md +20 -4
  153. package/docs/ar/intlayer_with_vite+vue.md +20 -4
  154. package/docs/ar/packages/angular-intlayer/exports.md +14 -10
  155. package/docs/ar/packages/angular-intlayer/usePathname.md +119 -0
  156. package/docs/ar/packages/intlayer/comparePaths.md +173 -0
  157. package/docs/ar/packages/intlayer/exports.md +5 -0
  158. package/docs/ar/packages/next-intlayer/exports.md +4 -0
  159. package/docs/ar/packages/next-intlayer/usePathname.md +136 -0
  160. package/docs/ar/packages/preact-intlayer/exports.md +10 -6
  161. package/docs/ar/packages/preact-intlayer/usePathname.md +117 -0
  162. package/docs/ar/packages/react-intlayer/exports.md +4 -0
  163. package/docs/ar/packages/react-intlayer/usePathname.md +87 -0
  164. package/docs/ar/packages/solid-intlayer/exports.md +4 -0
  165. package/docs/ar/packages/solid-intlayer/usePathname.md +119 -0
  166. package/docs/ar/packages/svelte-intlayer/exports.md +4 -0
  167. package/docs/ar/packages/svelte-intlayer/usePathname.md +103 -0
  168. package/docs/ar/packages/vue-intlayer/exports.md +4 -0
  169. package/docs/ar/packages/vue-intlayer/usePathname.md +109 -0
  170. package/docs/bn/intlayer_with_angular_21.md +20 -4
  171. package/docs/bn/intlayer_with_fastify.md +20 -8
  172. package/docs/bn/intlayer_with_hono.md +20 -4
  173. package/docs/bn/intlayer_with_vite+lit.md +20 -4
  174. package/docs/bn/intlayer_with_vite+vanilla.md +20 -4
  175. package/docs/bn/packages/intlayer/comparePaths.md +173 -0
  176. package/docs/cs/intlayer_with_angular_21.md +20 -4
  177. package/docs/cs/intlayer_with_fastify.md +20 -8
  178. package/docs/cs/intlayer_with_hono.md +20 -4
  179. package/docs/cs/intlayer_with_vite+lit.md +20 -4
  180. package/docs/cs/intlayer_with_vite+vanilla.md +20 -4
  181. package/docs/cs/packages/intlayer/comparePaths.md +173 -0
  182. package/docs/de/intlayer_with_adonisjs.md +20 -4
  183. package/docs/de/intlayer_with_analog.md +20 -4
  184. package/docs/de/intlayer_with_angular_19.md +20 -4
  185. package/docs/de/intlayer_with_angular_21.md +20 -4
  186. package/docs/de/intlayer_with_astro_lit.md +20 -8
  187. package/docs/de/intlayer_with_astro_preact.md +20 -8
  188. package/docs/de/intlayer_with_astro_react.md +20 -8
  189. package/docs/de/intlayer_with_astro_solid.md +20 -8
  190. package/docs/de/intlayer_with_astro_svelte.md +20 -8
  191. package/docs/de/intlayer_with_astro_vanilla.md +20 -8
  192. package/docs/de/intlayer_with_astro_vue.md +20 -8
  193. package/docs/de/intlayer_with_create_react_app.md +20 -4
  194. package/docs/de/intlayer_with_express.md +20 -4
  195. package/docs/de/intlayer_with_fastify.md +20 -8
  196. package/docs/de/intlayer_with_hono.md +20 -4
  197. package/docs/de/intlayer_with_lynx+react.md +20 -4
  198. package/docs/de/intlayer_with_nestjs.md +20 -4
  199. package/docs/de/intlayer_with_next-i18next.md +20 -4
  200. package/docs/de/intlayer_with_nextjs_14.md +20 -4
  201. package/docs/de/intlayer_with_nextjs_15.md +20 -4
  202. package/docs/de/intlayer_with_nextjs_16.md +20 -4
  203. package/docs/de/intlayer_with_nextjs_no_locale_path.md +20 -4
  204. package/docs/de/intlayer_with_nextjs_page_router.md +20 -4
  205. package/docs/de/intlayer_with_nuxt.md +25 -7
  206. package/docs/de/intlayer_with_react_router_v7.md +20 -4
  207. package/docs/de/intlayer_with_svelte_kit.md +40 -8
  208. package/docs/de/intlayer_with_tanstack+solid.md +20 -4
  209. package/docs/de/intlayer_with_tanstack.md +20 -4
  210. package/docs/de/intlayer_with_vite+lit.md +20 -4
  211. package/docs/de/intlayer_with_vite+preact.md +20 -4
  212. package/docs/de/intlayer_with_vite+react.md +20 -4
  213. package/docs/de/intlayer_with_vite+react_compiler.md +20 -4
  214. package/docs/de/intlayer_with_vite+solid.md +20 -4
  215. package/docs/de/intlayer_with_vite+vanilla.md +20 -4
  216. package/docs/de/intlayer_with_vite+vue.md +20 -4
  217. package/docs/de/migration_from_i18next_to_intlayer.md +20 -4
  218. package/docs/de/migration_from_next-i18next_to_intlayer.md +20 -4
  219. package/docs/de/migration_from_next-intl_to_intlayer.md +20 -4
  220. package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  221. package/docs/de/migration_from_react-i18next_to_intlayer.md +20 -4
  222. package/docs/de/migration_from_vue-i18n_to_intlayer.md +20 -4
  223. package/docs/de/packages/angular-intlayer/exports.md +13 -9
  224. package/docs/de/packages/angular-intlayer/usePathname.md +119 -0
  225. package/docs/de/packages/intlayer/comparePaths.md +173 -0
  226. package/docs/de/packages/intlayer/exports.md +5 -0
  227. package/docs/de/packages/next-intlayer/exports.md +4 -0
  228. package/docs/de/packages/next-intlayer/usePathname.md +136 -0
  229. package/docs/de/packages/preact-intlayer/exports.md +10 -6
  230. package/docs/de/packages/preact-intlayer/usePathname.md +117 -0
  231. package/docs/de/packages/react-intlayer/exports.md +4 -0
  232. package/docs/de/packages/react-intlayer/usePathname.md +87 -0
  233. package/docs/de/packages/solid-intlayer/exports.md +4 -0
  234. package/docs/de/packages/solid-intlayer/usePathname.md +119 -0
  235. package/docs/de/packages/svelte-intlayer/exports.md +13 -9
  236. package/docs/de/packages/svelte-intlayer/usePathname.md +103 -0
  237. package/docs/de/packages/vue-intlayer/exports.md +4 -0
  238. package/docs/de/packages/vue-intlayer/usePathname.md +109 -0
  239. package/docs/en/intlayer_with_adonisjs.md +20 -4
  240. package/docs/en/intlayer_with_analog.md +20 -4
  241. package/docs/en/intlayer_with_angular_19.md +20 -4
  242. package/docs/en/intlayer_with_angular_21.md +20 -4
  243. package/docs/en/intlayer_with_astro.md +20 -8
  244. package/docs/en/intlayer_with_astro_lit.md +20 -8
  245. package/docs/en/intlayer_with_astro_preact.md +20 -8
  246. package/docs/en/intlayer_with_astro_react.md +20 -8
  247. package/docs/en/intlayer_with_astro_solid.md +20 -8
  248. package/docs/en/intlayer_with_astro_svelte.md +20 -8
  249. package/docs/en/intlayer_with_astro_vanilla.md +20 -8
  250. package/docs/en/intlayer_with_astro_vue.md +20 -8
  251. package/docs/en/intlayer_with_create_react_app.md +20 -4
  252. package/docs/en/intlayer_with_express.md +20 -4
  253. package/docs/en/intlayer_with_fastify.md +20 -8
  254. package/docs/en/intlayer_with_hono.md +20 -4
  255. package/docs/en/intlayer_with_lynx+react.md +20 -4
  256. package/docs/en/intlayer_with_nestjs.md +20 -4
  257. package/docs/en/intlayer_with_next-i18next.md +20 -4
  258. package/docs/en/intlayer_with_nextjs_14.md +20 -4
  259. package/docs/en/intlayer_with_nextjs_15.md +20 -4
  260. package/docs/en/intlayer_with_nextjs_16.md +20 -4
  261. package/docs/en/intlayer_with_nextjs_compiler.md +20 -4
  262. package/docs/en/intlayer_with_nextjs_no_locale_path.md +20 -4
  263. package/docs/en/intlayer_with_nextjs_page_router.md +20 -4
  264. package/docs/en/intlayer_with_nuxt.md +25 -7
  265. package/docs/en/intlayer_with_react_native+expo.md +20 -4
  266. package/docs/en/intlayer_with_react_router_v7.md +20 -4
  267. package/docs/en/intlayer_with_svelte_kit.md +20 -4
  268. package/docs/en/intlayer_with_tanstack+solid.md +20 -4
  269. package/docs/en/intlayer_with_tanstack.md +20 -4
  270. package/docs/en/intlayer_with_vite+lit.md +20 -4
  271. package/docs/en/intlayer_with_vite+preact.md +20 -4
  272. package/docs/en/intlayer_with_vite+react.md +20 -4
  273. package/docs/en/intlayer_with_vite+react_compiler.md +20 -4
  274. package/docs/en/intlayer_with_vite+solid.md +20 -4
  275. package/docs/en/intlayer_with_vite+svelte.md +20 -4
  276. package/docs/en/intlayer_with_vite+vanilla.md +20 -4
  277. package/docs/en/intlayer_with_vite+vue.md +20 -4
  278. package/docs/en/migration_from_i18next_to_intlayer.md +20 -4
  279. package/docs/en/migration_from_next-i18next_to_intlayer.md +20 -4
  280. package/docs/en/migration_from_next-intl_to_intlayer.md +20 -4
  281. package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  282. package/docs/en/migration_from_react-i18next_to_intlayer.md +20 -4
  283. package/docs/en/migration_from_vue-i18n_to_intlayer.md +20 -4
  284. package/docs/en/packages/angular-intlayer/exports.md +13 -9
  285. package/docs/en/packages/angular-intlayer/usePathname.md +119 -0
  286. package/docs/en/packages/intlayer/comparePaths.md +173 -0
  287. package/docs/en/packages/intlayer/exports.md +18 -13
  288. package/docs/en/packages/next-intlayer/exports.md +4 -0
  289. package/docs/en/packages/next-intlayer/usePathname.md +136 -0
  290. package/docs/en/packages/preact-intlayer/exports.md +10 -6
  291. package/docs/en/packages/preact-intlayer/usePathname.md +117 -0
  292. package/docs/en/packages/react-intlayer/exports.md +4 -0
  293. package/docs/en/packages/react-intlayer/usePathname.md +87 -0
  294. package/docs/en/packages/solid-intlayer/exports.md +4 -0
  295. package/docs/en/packages/solid-intlayer/usePathname.md +119 -0
  296. package/docs/en/packages/svelte-intlayer/exports.md +13 -9
  297. package/docs/en/packages/svelte-intlayer/usePathname.md +103 -0
  298. package/docs/en/packages/vue-intlayer/exports.md +4 -0
  299. package/docs/en/packages/vue-intlayer/usePathname.md +109 -0
  300. package/docs/en-GB/intlayer_with_adonisjs.md +20 -4
  301. package/docs/en-GB/intlayer_with_analog.md +20 -4
  302. package/docs/en-GB/intlayer_with_angular_19.md +20 -4
  303. package/docs/en-GB/intlayer_with_angular_21.md +20 -4
  304. package/docs/en-GB/intlayer_with_astro_lit.md +20 -8
  305. package/docs/en-GB/intlayer_with_astro_preact.md +20 -8
  306. package/docs/en-GB/intlayer_with_astro_react.md +20 -8
  307. package/docs/en-GB/intlayer_with_astro_solid.md +20 -8
  308. package/docs/en-GB/intlayer_with_astro_svelte.md +20 -8
  309. package/docs/en-GB/intlayer_with_astro_vanilla.md +20 -8
  310. package/docs/en-GB/intlayer_with_astro_vue.md +20 -8
  311. package/docs/en-GB/intlayer_with_create_react_app.md +40 -8
  312. package/docs/en-GB/intlayer_with_express.md +20 -4
  313. package/docs/en-GB/intlayer_with_fastify.md +20 -8
  314. package/docs/en-GB/intlayer_with_hono.md +20 -4
  315. package/docs/en-GB/intlayer_with_lynx+react.md +40 -8
  316. package/docs/en-GB/intlayer_with_nestjs.md +20 -4
  317. package/docs/en-GB/intlayer_with_next-i18next.md +20 -4
  318. package/docs/en-GB/intlayer_with_nextjs_14.md +20 -4
  319. package/docs/en-GB/intlayer_with_nextjs_15.md +20 -4
  320. package/docs/en-GB/intlayer_with_nextjs_16.md +20 -4
  321. package/docs/en-GB/intlayer_with_nextjs_compiler.md +20 -4
  322. package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +20 -4
  323. package/docs/en-GB/intlayer_with_nextjs_page_router.md +20 -4
  324. package/docs/en-GB/intlayer_with_nuxt.md +25 -7
  325. package/docs/en-GB/intlayer_with_react_native+expo.md +40 -8
  326. package/docs/en-GB/intlayer_with_react_router_v7.md +20 -4
  327. package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +20 -4
  328. package/docs/en-GB/intlayer_with_svelte_kit.md +40 -8
  329. package/docs/en-GB/intlayer_with_tanstack+solid.md +20 -4
  330. package/docs/en-GB/intlayer_with_tanstack.md +20 -4
  331. package/docs/en-GB/intlayer_with_vite+lit.md +20 -4
  332. package/docs/en-GB/intlayer_with_vite+preact.md +20 -4
  333. package/docs/en-GB/intlayer_with_vite+react.md +20 -4
  334. package/docs/en-GB/intlayer_with_vite+react_compiler.md +20 -4
  335. package/docs/en-GB/intlayer_with_vite+solid.md +20 -4
  336. package/docs/en-GB/intlayer_with_vite+svelte.md +20 -4
  337. package/docs/en-GB/intlayer_with_vite+vanilla.md +20 -4
  338. package/docs/en-GB/intlayer_with_vite+vue.md +20 -4
  339. package/docs/en-GB/packages/angular-intlayer/exports.md +13 -9
  340. package/docs/en-GB/packages/angular-intlayer/usePathname.md +119 -0
  341. package/docs/en-GB/packages/intlayer/comparePaths.md +173 -0
  342. package/docs/en-GB/packages/intlayer/exports.md +5 -0
  343. package/docs/en-GB/packages/next-intlayer/exports.md +4 -0
  344. package/docs/en-GB/packages/next-intlayer/usePathname.md +136 -0
  345. package/docs/en-GB/packages/preact-intlayer/exports.md +10 -6
  346. package/docs/en-GB/packages/preact-intlayer/usePathname.md +117 -0
  347. package/docs/en-GB/packages/react-intlayer/exports.md +4 -0
  348. package/docs/en-GB/packages/react-intlayer/usePathname.md +87 -0
  349. package/docs/en-GB/packages/solid-intlayer/exports.md +15 -11
  350. package/docs/en-GB/packages/solid-intlayer/usePathname.md +119 -0
  351. package/docs/en-GB/packages/svelte-intlayer/exports.md +13 -9
  352. package/docs/en-GB/packages/svelte-intlayer/usePathname.md +103 -0
  353. package/docs/en-GB/packages/vue-intlayer/exports.md +4 -0
  354. package/docs/en-GB/packages/vue-intlayer/usePathname.md +109 -0
  355. package/docs/es/intlayer_with_adonisjs.md +20 -4
  356. package/docs/es/intlayer_with_analog.md +20 -4
  357. package/docs/es/intlayer_with_angular_19.md +20 -4
  358. package/docs/es/intlayer_with_angular_21.md +20 -4
  359. package/docs/es/intlayer_with_astro_lit.md +20 -8
  360. package/docs/es/intlayer_with_astro_preact.md +20 -8
  361. package/docs/es/intlayer_with_astro_react.md +20 -8
  362. package/docs/es/intlayer_with_astro_solid.md +20 -8
  363. package/docs/es/intlayer_with_astro_svelte.md +20 -8
  364. package/docs/es/intlayer_with_astro_vanilla.md +20 -8
  365. package/docs/es/intlayer_with_astro_vue.md +20 -8
  366. package/docs/es/intlayer_with_create_react_app.md +20 -4
  367. package/docs/es/intlayer_with_express.md +20 -4
  368. package/docs/es/intlayer_with_fastify.md +20 -8
  369. package/docs/es/intlayer_with_hono.md +20 -4
  370. package/docs/es/intlayer_with_lynx+react.md +20 -4
  371. package/docs/es/intlayer_with_nestjs.md +20 -4
  372. package/docs/es/intlayer_with_next-i18next.md +20 -4
  373. package/docs/es/intlayer_with_nextjs_14.md +20 -4
  374. package/docs/es/intlayer_with_nextjs_15.md +20 -4
  375. package/docs/es/intlayer_with_nextjs_16.md +20 -4
  376. package/docs/es/intlayer_with_nextjs_compiler.md +20 -4
  377. package/docs/es/intlayer_with_nextjs_no_locale_path.md +20 -4
  378. package/docs/es/intlayer_with_nextjs_page_router.md +20 -4
  379. package/docs/es/intlayer_with_nuxt.md +25 -7
  380. package/docs/es/intlayer_with_react_native+expo.md +20 -4
  381. package/docs/es/intlayer_with_react_router_v7.md +20 -4
  382. package/docs/es/intlayer_with_svelte_kit.md +40 -8
  383. package/docs/es/intlayer_with_tanstack+solid.md +20 -4
  384. package/docs/es/intlayer_with_tanstack.md +20 -4
  385. package/docs/es/intlayer_with_vite+lit.md +20 -4
  386. package/docs/es/intlayer_with_vite+preact.md +20 -4
  387. package/docs/es/intlayer_with_vite+react.md +20 -4
  388. package/docs/es/intlayer_with_vite+react_compiler.md +20 -4
  389. package/docs/es/intlayer_with_vite+solid.md +20 -4
  390. package/docs/es/intlayer_with_vite+svelte.md +20 -4
  391. package/docs/es/intlayer_with_vite+vanilla.md +20 -4
  392. package/docs/es/intlayer_with_vite+vue.md +20 -4
  393. package/docs/es/migration_from_i18next_to_intlayer.md +20 -4
  394. package/docs/es/migration_from_next-i18next_to_intlayer.md +20 -4
  395. package/docs/es/migration_from_next-intl_to_intlayer.md +20 -4
  396. package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  397. package/docs/es/migration_from_react-i18next_to_intlayer.md +20 -4
  398. package/docs/es/migration_from_vue-i18n_to_intlayer.md +20 -4
  399. package/docs/es/packages/angular-intlayer/exports.md +13 -9
  400. package/docs/es/packages/angular-intlayer/usePathname.md +119 -0
  401. package/docs/es/packages/intlayer/comparePaths.md +173 -0
  402. package/docs/es/packages/intlayer/exports.md +18 -13
  403. package/docs/es/packages/next-intlayer/exports.md +4 -0
  404. package/docs/es/packages/next-intlayer/usePathname.md +136 -0
  405. package/docs/es/packages/preact-intlayer/exports.md +10 -6
  406. package/docs/es/packages/preact-intlayer/usePathname.md +117 -0
  407. package/docs/es/packages/react-intlayer/exports.md +4 -0
  408. package/docs/es/packages/react-intlayer/usePathname.md +87 -0
  409. package/docs/es/packages/solid-intlayer/exports.md +4 -0
  410. package/docs/es/packages/solid-intlayer/usePathname.md +119 -0
  411. package/docs/es/packages/svelte-intlayer/exports.md +4 -0
  412. package/docs/es/packages/svelte-intlayer/usePathname.md +103 -0
  413. package/docs/es/packages/vue-intlayer/exports.md +4 -0
  414. package/docs/es/packages/vue-intlayer/usePathname.md +109 -0
  415. package/docs/fr/intlayer_with_adonisjs.md +20 -4
  416. package/docs/fr/intlayer_with_analog.md +20 -4
  417. package/docs/fr/intlayer_with_angular_19.md +20 -4
  418. package/docs/fr/intlayer_with_angular_21.md +20 -4
  419. package/docs/fr/intlayer_with_astro_lit.md +20 -8
  420. package/docs/fr/intlayer_with_astro_preact.md +20 -8
  421. package/docs/fr/intlayer_with_astro_react.md +20 -8
  422. package/docs/fr/intlayer_with_astro_solid.md +20 -8
  423. package/docs/fr/intlayer_with_astro_svelte.md +20 -8
  424. package/docs/fr/intlayer_with_astro_vanilla.md +20 -8
  425. package/docs/fr/intlayer_with_astro_vue.md +20 -8
  426. package/docs/fr/intlayer_with_create_react_app.md +20 -4
  427. package/docs/fr/intlayer_with_express.md +20 -4
  428. package/docs/fr/intlayer_with_fastify.md +20 -8
  429. package/docs/fr/intlayer_with_hono.md +20 -4
  430. package/docs/fr/intlayer_with_lynx+react.md +20 -4
  431. package/docs/fr/intlayer_with_nestjs.md +20 -4
  432. package/docs/fr/intlayer_with_next-i18next.md +20 -4
  433. package/docs/fr/intlayer_with_nextjs_14.md +20 -4
  434. package/docs/fr/intlayer_with_nextjs_15.md +20 -4
  435. package/docs/fr/intlayer_with_nextjs_16.md +20 -4
  436. package/docs/fr/intlayer_with_nextjs_compiler.md +20 -4
  437. package/docs/fr/intlayer_with_nextjs_no_locale_path.md +20 -4
  438. package/docs/fr/intlayer_with_nextjs_page_router.md +20 -4
  439. package/docs/fr/intlayer_with_nuxt.md +20 -4
  440. package/docs/fr/intlayer_with_react_router_v7.md +20 -4
  441. package/docs/fr/intlayer_with_svelte_kit.md +40 -8
  442. package/docs/fr/intlayer_with_tanstack+solid.md +20 -4
  443. package/docs/fr/intlayer_with_tanstack.md +20 -4
  444. package/docs/fr/intlayer_with_vite+lit.md +20 -4
  445. package/docs/fr/intlayer_with_vite+preact.md +20 -4
  446. package/docs/fr/intlayer_with_vite+react.md +20 -4
  447. package/docs/fr/intlayer_with_vite+react_compiler.md +20 -4
  448. package/docs/fr/intlayer_with_vite+solid.md +20 -4
  449. package/docs/fr/intlayer_with_vite+svelte.md +20 -4
  450. package/docs/fr/intlayer_with_vite+vanilla.md +20 -4
  451. package/docs/fr/intlayer_with_vite+vue.md +20 -4
  452. package/docs/fr/migration_from_i18next_to_intlayer.md +20 -4
  453. package/docs/fr/migration_from_next-i18next_to_intlayer.md +20 -4
  454. package/docs/fr/migration_from_next-intl_to_intlayer.md +20 -4
  455. package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  456. package/docs/fr/migration_from_react-i18next_to_intlayer.md +20 -4
  457. package/docs/fr/migration_from_vue-i18n_to_intlayer.md +20 -4
  458. package/docs/fr/packages/angular-intlayer/exports.md +13 -9
  459. package/docs/fr/packages/angular-intlayer/usePathname.md +119 -0
  460. package/docs/fr/packages/intlayer/comparePaths.md +173 -0
  461. package/docs/fr/packages/intlayer/exports.md +18 -13
  462. package/docs/fr/packages/next-intlayer/exports.md +4 -0
  463. package/docs/fr/packages/next-intlayer/usePathname.md +136 -0
  464. package/docs/fr/packages/preact-intlayer/exports.md +10 -6
  465. package/docs/fr/packages/preact-intlayer/usePathname.md +117 -0
  466. package/docs/fr/packages/react-intlayer/exports.md +4 -0
  467. package/docs/fr/packages/react-intlayer/usePathname.md +87 -0
  468. package/docs/fr/packages/solid-intlayer/exports.md +4 -0
  469. package/docs/fr/packages/solid-intlayer/usePathname.md +119 -0
  470. package/docs/fr/packages/svelte-intlayer/exports.md +4 -0
  471. package/docs/fr/packages/svelte-intlayer/usePathname.md +103 -0
  472. package/docs/fr/packages/vue-intlayer/exports.md +14 -10
  473. package/docs/fr/packages/vue-intlayer/usePathname.md +109 -0
  474. package/docs/hi/intlayer_with_adonisjs.md +20 -4
  475. package/docs/hi/intlayer_with_analog.md +20 -4
  476. package/docs/hi/intlayer_with_angular_19.md +20 -4
  477. package/docs/hi/intlayer_with_angular_21.md +20 -4
  478. package/docs/hi/intlayer_with_astro_vue.md +20 -8
  479. package/docs/hi/intlayer_with_create_react_app.md +20 -4
  480. package/docs/hi/intlayer_with_express.md +20 -4
  481. package/docs/hi/intlayer_with_fastify.md +20 -8
  482. package/docs/hi/intlayer_with_hono.md +20 -4
  483. package/docs/hi/intlayer_with_lynx+react.md +20 -4
  484. package/docs/hi/intlayer_with_nestjs.md +20 -4
  485. package/docs/hi/intlayer_with_next-i18next.md +20 -4
  486. package/docs/hi/intlayer_with_nextjs_14.md +20 -4
  487. package/docs/hi/intlayer_with_nextjs_15.md +20 -4
  488. package/docs/hi/intlayer_with_nextjs_16.md +20 -4
  489. package/docs/hi/intlayer_with_nextjs_compiler.md +20 -4
  490. package/docs/hi/intlayer_with_nextjs_no_locale_path.md +20 -4
  491. package/docs/hi/intlayer_with_nextjs_page_router.md +20 -4
  492. package/docs/hi/intlayer_with_nuxt.md +20 -4
  493. package/docs/hi/intlayer_with_react_router_v7.md +20 -4
  494. package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +20 -4
  495. package/docs/hi/intlayer_with_svelte_kit.md +40 -8
  496. package/docs/hi/intlayer_with_tanstack+solid.md +20 -4
  497. package/docs/hi/intlayer_with_tanstack.md +20 -4
  498. package/docs/hi/intlayer_with_vite+lit.md +20 -4
  499. package/docs/hi/intlayer_with_vite+preact.md +20 -4
  500. package/docs/hi/intlayer_with_vite+react.md +20 -4
  501. package/docs/hi/intlayer_with_vite+react_compiler.md +20 -4
  502. package/docs/hi/intlayer_with_vite+solid.md +20 -4
  503. package/docs/hi/intlayer_with_vite+svelte.md +20 -4
  504. package/docs/hi/intlayer_with_vite+vanilla.md +20 -4
  505. package/docs/hi/intlayer_with_vite+vue.md +20 -4
  506. package/docs/hi/packages/angular-intlayer/exports.md +13 -9
  507. package/docs/hi/packages/angular-intlayer/usePathname.md +119 -0
  508. package/docs/hi/packages/intlayer/comparePaths.md +173 -0
  509. package/docs/hi/packages/intlayer/exports.md +18 -13
  510. package/docs/hi/packages/intlayer/index.md +20 -4
  511. package/docs/hi/packages/next-intlayer/exports.md +4 -0
  512. package/docs/hi/packages/next-intlayer/usePathname.md +136 -0
  513. package/docs/hi/packages/preact-intlayer/exports.md +10 -6
  514. package/docs/hi/packages/preact-intlayer/usePathname.md +117 -0
  515. package/docs/hi/packages/react-intlayer/exports.md +3 -0
  516. package/docs/hi/packages/react-intlayer/usePathname.md +87 -0
  517. package/docs/hi/packages/solid-intlayer/exports.md +15 -11
  518. package/docs/hi/packages/solid-intlayer/usePathname.md +119 -0
  519. package/docs/hi/packages/svelte-intlayer/exports.md +13 -9
  520. package/docs/hi/packages/svelte-intlayer/usePathname.md +103 -0
  521. package/docs/hi/packages/vue-intlayer/exports.md +14 -10
  522. package/docs/hi/packages/vue-intlayer/usePathname.md +109 -0
  523. package/docs/id/intlayer_with_adonisjs.md +20 -4
  524. package/docs/id/intlayer_with_analog.md +20 -4
  525. package/docs/id/intlayer_with_angular_19.md +20 -4
  526. package/docs/id/intlayer_with_angular_21.md +20 -4
  527. package/docs/id/intlayer_with_astro_lit.md +20 -8
  528. package/docs/id/intlayer_with_astro_preact.md +20 -8
  529. package/docs/id/intlayer_with_astro_react.md +20 -8
  530. package/docs/id/intlayer_with_astro_solid.md +20 -8
  531. package/docs/id/intlayer_with_astro_svelte.md +20 -8
  532. package/docs/id/intlayer_with_astro_vanilla.md +20 -8
  533. package/docs/id/intlayer_with_astro_vue.md +20 -8
  534. package/docs/id/intlayer_with_create_react_app.md +20 -4
  535. package/docs/id/intlayer_with_express.md +20 -4
  536. package/docs/id/intlayer_with_fastify.md +20 -8
  537. package/docs/id/intlayer_with_hono.md +20 -4
  538. package/docs/id/intlayer_with_lynx+react.md +20 -4
  539. package/docs/id/intlayer_with_nestjs.md +20 -4
  540. package/docs/id/intlayer_with_next-i18next.md +20 -4
  541. package/docs/id/intlayer_with_nextjs_14.md +20 -4
  542. package/docs/id/intlayer_with_nextjs_15.md +20 -4
  543. package/docs/id/intlayer_with_nextjs_16.md +20 -4
  544. package/docs/id/intlayer_with_nextjs_compiler.md +20 -4
  545. package/docs/id/intlayer_with_nextjs_no_locale_path.md +20 -4
  546. package/docs/id/intlayer_with_nextjs_page_router.md +20 -4
  547. package/docs/id/intlayer_with_nuxt.md +25 -7
  548. package/docs/id/intlayer_with_react_native+expo.md +20 -4
  549. package/docs/id/intlayer_with_react_router_v7.md +20 -4
  550. package/docs/id/intlayer_with_react_router_v7_fs_routes.md +20 -4
  551. package/docs/id/intlayer_with_svelte_kit.md +40 -8
  552. package/docs/id/intlayer_with_tanstack+solid.md +20 -4
  553. package/docs/id/intlayer_with_tanstack.md +20 -4
  554. package/docs/id/intlayer_with_vite+lit.md +20 -4
  555. package/docs/id/intlayer_with_vite+preact.md +20 -4
  556. package/docs/id/intlayer_with_vite+react.md +20 -4
  557. package/docs/id/intlayer_with_vite+react_compiler.md +20 -4
  558. package/docs/id/intlayer_with_vite+solid.md +20 -4
  559. package/docs/id/intlayer_with_vite+svelte.md +20 -4
  560. package/docs/id/intlayer_with_vite+vanilla.md +20 -4
  561. package/docs/id/intlayer_with_vite+vue.md +20 -4
  562. package/docs/id/packages/angular-intlayer/exports.md +14 -10
  563. package/docs/id/packages/angular-intlayer/usePathname.md +119 -0
  564. package/docs/id/packages/intlayer/comparePaths.md +173 -0
  565. package/docs/id/packages/intlayer/exports.md +5 -0
  566. package/docs/id/packages/next-intlayer/exports.md +4 -0
  567. package/docs/id/packages/next-intlayer/usePathname.md +136 -0
  568. package/docs/id/packages/preact-intlayer/exports.md +10 -6
  569. package/docs/id/packages/preact-intlayer/usePathname.md +117 -0
  570. package/docs/id/packages/react-intlayer/exports.md +4 -0
  571. package/docs/id/packages/react-intlayer/usePathname.md +87 -0
  572. package/docs/id/packages/solid-intlayer/exports.md +4 -0
  573. package/docs/id/packages/solid-intlayer/usePathname.md +119 -0
  574. package/docs/id/packages/svelte-intlayer/exports.md +13 -9
  575. package/docs/id/packages/svelte-intlayer/usePathname.md +103 -0
  576. package/docs/id/packages/vue-intlayer/exports.md +4 -0
  577. package/docs/id/packages/vue-intlayer/usePathname.md +109 -0
  578. package/docs/it/intlayer_with_adonisjs.md +20 -4
  579. package/docs/it/intlayer_with_analog.md +20 -4
  580. package/docs/it/intlayer_with_angular_19.md +20 -4
  581. package/docs/it/intlayer_with_angular_21.md +20 -4
  582. package/docs/it/intlayer_with_astro_lit.md +20 -8
  583. package/docs/it/intlayer_with_astro_preact.md +20 -8
  584. package/docs/it/intlayer_with_astro_react.md +20 -8
  585. package/docs/it/intlayer_with_astro_solid.md +20 -8
  586. package/docs/it/intlayer_with_astro_svelte.md +20 -8
  587. package/docs/it/intlayer_with_astro_vanilla.md +20 -8
  588. package/docs/it/intlayer_with_astro_vue.md +20 -8
  589. package/docs/it/intlayer_with_create_react_app.md +20 -4
  590. package/docs/it/intlayer_with_express.md +20 -4
  591. package/docs/it/intlayer_with_fastify.md +20 -8
  592. package/docs/it/intlayer_with_hono.md +20 -4
  593. package/docs/it/intlayer_with_lynx+react.md +20 -4
  594. package/docs/it/intlayer_with_nestjs.md +20 -4
  595. package/docs/it/intlayer_with_next-i18next.md +20 -4
  596. package/docs/it/intlayer_with_nextjs_14.md +20 -4
  597. package/docs/it/intlayer_with_nextjs_15.md +20 -4
  598. package/docs/it/intlayer_with_nextjs_16.md +20 -4
  599. package/docs/it/intlayer_with_nextjs_compiler.md +20 -4
  600. package/docs/it/intlayer_with_nextjs_no_locale_path.md +20 -4
  601. package/docs/it/intlayer_with_nextjs_page_router.md +20 -4
  602. package/docs/it/intlayer_with_nuxt.md +25 -7
  603. package/docs/it/intlayer_with_react_native+expo.md +20 -4
  604. package/docs/it/intlayer_with_react_router_v7.md +20 -4
  605. package/docs/it/intlayer_with_svelte_kit.md +40 -8
  606. package/docs/it/intlayer_with_tanstack+solid.md +20 -4
  607. package/docs/it/intlayer_with_tanstack.md +20 -4
  608. package/docs/it/intlayer_with_vite+lit.md +20 -4
  609. package/docs/it/intlayer_with_vite+preact.md +20 -4
  610. package/docs/it/intlayer_with_vite+react.md +20 -4
  611. package/docs/it/intlayer_with_vite+react_compiler.md +20 -4
  612. package/docs/it/intlayer_with_vite+solid.md +20 -4
  613. package/docs/it/intlayer_with_vite+svelte.md +20 -4
  614. package/docs/it/intlayer_with_vite+vanilla.md +20 -4
  615. package/docs/it/intlayer_with_vite+vue.md +20 -4
  616. package/docs/it/migration_from_i18next_to_intlayer.md +20 -4
  617. package/docs/it/migration_from_next-i18next_to_intlayer.md +20 -4
  618. package/docs/it/migration_from_next-intl_to_intlayer.md +20 -4
  619. package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  620. package/docs/it/migration_from_react-i18next_to_intlayer.md +20 -4
  621. package/docs/it/migration_from_vue-i18n_to_intlayer.md +20 -4
  622. package/docs/it/packages/angular-intlayer/exports.md +13 -9
  623. package/docs/it/packages/angular-intlayer/usePathname.md +119 -0
  624. package/docs/it/packages/intlayer/comparePaths.md +173 -0
  625. package/docs/it/packages/intlayer/exports.md +18 -13
  626. package/docs/it/packages/next-intlayer/exports.md +4 -0
  627. package/docs/it/packages/next-intlayer/usePathname.md +136 -0
  628. package/docs/it/packages/preact-intlayer/exports.md +10 -6
  629. package/docs/it/packages/preact-intlayer/usePathname.md +117 -0
  630. package/docs/it/packages/react-intlayer/exports.md +20 -16
  631. package/docs/it/packages/react-intlayer/usePathname.md +87 -0
  632. package/docs/it/packages/solid-intlayer/exports.md +4 -0
  633. package/docs/it/packages/solid-intlayer/usePathname.md +119 -0
  634. package/docs/it/packages/svelte-intlayer/exports.md +4 -0
  635. package/docs/it/packages/svelte-intlayer/usePathname.md +103 -0
  636. package/docs/it/packages/vue-intlayer/exports.md +4 -0
  637. package/docs/it/packages/vue-intlayer/usePathname.md +109 -0
  638. package/docs/ja/intlayer_with_adonisjs.md +20 -4
  639. package/docs/ja/intlayer_with_analog.md +20 -4
  640. package/docs/ja/intlayer_with_angular_19.md +20 -4
  641. package/docs/ja/intlayer_with_angular_21.md +20 -4
  642. package/docs/ja/intlayer_with_astro_lit.md +20 -8
  643. package/docs/ja/intlayer_with_astro_preact.md +20 -8
  644. package/docs/ja/intlayer_with_astro_react.md +20 -8
  645. package/docs/ja/intlayer_with_astro_solid.md +20 -8
  646. package/docs/ja/intlayer_with_astro_svelte.md +20 -8
  647. package/docs/ja/intlayer_with_astro_vanilla.md +20 -8
  648. package/docs/ja/intlayer_with_astro_vue.md +20 -8
  649. package/docs/ja/intlayer_with_create_react_app.md +20 -4
  650. package/docs/ja/intlayer_with_express.md +20 -4
  651. package/docs/ja/intlayer_with_fastify.md +20 -8
  652. package/docs/ja/intlayer_with_hono.md +20 -4
  653. package/docs/ja/intlayer_with_lynx+react.md +20 -4
  654. package/docs/ja/intlayer_with_nestjs.md +20 -4
  655. package/docs/ja/intlayer_with_next-i18next.md +20 -4
  656. package/docs/ja/intlayer_with_nextjs_14.md +20 -4
  657. package/docs/ja/intlayer_with_nextjs_15.md +20 -4
  658. package/docs/ja/intlayer_with_nextjs_16.md +20 -4
  659. package/docs/ja/intlayer_with_nextjs_compiler.md +20 -4
  660. package/docs/ja/intlayer_with_nextjs_no_locale_path.md +20 -4
  661. package/docs/ja/intlayer_with_nextjs_page_router.md +20 -4
  662. package/docs/ja/intlayer_with_nuxt.md +25 -7
  663. package/docs/ja/intlayer_with_tanstack+solid.md +20 -4
  664. package/docs/ja/intlayer_with_tanstack.md +20 -4
  665. package/docs/ja/intlayer_with_vite+lit.md +20 -4
  666. package/docs/ja/intlayer_with_vite+react_compiler.md +20 -4
  667. package/docs/ja/intlayer_with_vite+solid.md +20 -4
  668. package/docs/ja/intlayer_with_vite+svelte.md +20 -4
  669. package/docs/ja/intlayer_with_vite+vanilla.md +20 -4
  670. package/docs/ja/intlayer_with_vite+vue.md +20 -4
  671. package/docs/ja/migration_from_i18next_to_intlayer.md +20 -4
  672. package/docs/ja/migration_from_next-i18next_to_intlayer.md +20 -4
  673. package/docs/ja/migration_from_next-intl_to_intlayer.md +20 -4
  674. package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  675. package/docs/ja/migration_from_react-i18next_to_intlayer.md +20 -4
  676. package/docs/ja/migration_from_vue-i18n_to_intlayer.md +20 -4
  677. package/docs/ja/packages/angular-intlayer/exports.md +13 -9
  678. package/docs/ja/packages/angular-intlayer/usePathname.md +119 -0
  679. package/docs/ja/packages/intlayer/comparePaths.md +173 -0
  680. package/docs/ja/packages/intlayer/exports.md +5 -0
  681. package/docs/ja/packages/next-intlayer/exports.md +4 -0
  682. package/docs/ja/packages/next-intlayer/usePathname.md +136 -0
  683. package/docs/ja/packages/preact-intlayer/exports.md +10 -6
  684. package/docs/ja/packages/preact-intlayer/usePathname.md +117 -0
  685. package/docs/ja/packages/react-intlayer/exports.md +21 -16
  686. package/docs/ja/packages/react-intlayer/usePathname.md +87 -0
  687. package/docs/ja/packages/solid-intlayer/exports.md +4 -0
  688. package/docs/ja/packages/solid-intlayer/usePathname.md +120 -0
  689. package/docs/ja/packages/svelte-intlayer/exports.md +13 -9
  690. package/docs/ja/packages/svelte-intlayer/usePathname.md +103 -0
  691. package/docs/ja/packages/vue-intlayer/exports.md +4 -0
  692. package/docs/ja/packages/vue-intlayer/usePathname.md +109 -0
  693. package/docs/ko/intlayer_with_adonisjs.md +20 -4
  694. package/docs/ko/intlayer_with_analog.md +42 -10
  695. package/docs/ko/intlayer_with_angular_19.md +42 -10
  696. package/docs/ko/intlayer_with_angular_21.md +42 -10
  697. package/docs/ko/intlayer_with_astro.md +28 -8
  698. package/docs/ko/intlayer_with_astro_lit.md +31 -9
  699. package/docs/ko/intlayer_with_astro_preact.md +31 -9
  700. package/docs/ko/intlayer_with_astro_react.md +31 -9
  701. package/docs/ko/intlayer_with_astro_solid.md +31 -9
  702. package/docs/ko/intlayer_with_astro_svelte.md +31 -9
  703. package/docs/ko/intlayer_with_astro_vanilla.md +28 -8
  704. package/docs/ko/intlayer_with_astro_vue.md +51 -17
  705. package/docs/ko/intlayer_with_create_react_app.md +39 -9
  706. package/docs/ko/intlayer_with_express.md +20 -4
  707. package/docs/ko/intlayer_with_fastify.md +20 -8
  708. package/docs/ko/intlayer_with_hono.md +20 -4
  709. package/docs/ko/intlayer_with_lynx+react.md +20 -4
  710. package/docs/ko/intlayer_with_nestjs.md +20 -4
  711. package/docs/ko/intlayer_with_next-i18next.md +20 -4
  712. package/docs/ko/intlayer_with_nextjs_14.md +40 -12
  713. package/docs/ko/intlayer_with_nextjs_15.md +63 -17
  714. package/docs/ko/intlayer_with_nextjs_16.md +59 -17
  715. package/docs/ko/intlayer_with_nextjs_compiler.md +55 -13
  716. package/docs/ko/intlayer_with_nextjs_no_locale_path.md +50 -14
  717. package/docs/ko/intlayer_with_nextjs_page_router.md +57 -15
  718. package/docs/ko/intlayer_with_nuxt.md +54 -14
  719. package/docs/ko/intlayer_with_react_native+expo.md +20 -4
  720. package/docs/ko/intlayer_with_react_router_v7.md +64 -16
  721. package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +64 -16
  722. package/docs/ko/intlayer_with_storybook.md +28 -8
  723. package/docs/ko/intlayer_with_svelte_kit.md +96 -24
  724. package/docs/ko/intlayer_with_tanstack+solid.md +78 -22
  725. package/docs/ko/intlayer_with_tanstack.md +78 -22
  726. package/docs/ko/intlayer_with_vanilla.md +31 -9
  727. package/docs/ko/intlayer_with_vite+lit.md +60 -16
  728. package/docs/ko/intlayer_with_vite+preact.md +57 -15
  729. package/docs/ko/intlayer_with_vite+react.md +10 -2
  730. package/docs/ko/intlayer_with_vite+react_compiler.md +42 -10
  731. package/docs/ko/intlayer_with_vite+solid.md +57 -15
  732. package/docs/ko/intlayer_with_vite+svelte.md +53 -15
  733. package/docs/ko/intlayer_with_vite+vanilla.md +63 -17
  734. package/docs/ko/intlayer_with_vite+vue.md +57 -15
  735. package/docs/ko/migration_from_i18next_to_intlayer.md +20 -4
  736. package/docs/ko/migration_from_next-i18next_to_intlayer.md +20 -4
  737. package/docs/ko/migration_from_next-intl_to_intlayer.md +20 -4
  738. package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  739. package/docs/ko/migration_from_react-i18next_to_intlayer.md +20 -4
  740. package/docs/ko/migration_from_vue-i18n_to_intlayer.md +20 -4
  741. package/docs/ko/packages/angular-intlayer/exports.md +14 -10
  742. package/docs/ko/packages/angular-intlayer/usePathname.md +119 -0
  743. package/docs/ko/packages/intlayer/comparePaths.md +173 -0
  744. package/docs/ko/packages/intlayer/exports.md +5 -0
  745. package/docs/ko/packages/next-intlayer/exports.md +4 -0
  746. package/docs/ko/packages/next-intlayer/usePathname.md +140 -0
  747. package/docs/ko/packages/preact-intlayer/exports.md +10 -6
  748. package/docs/ko/packages/preact-intlayer/usePathname.md +117 -0
  749. package/docs/ko/packages/react-intlayer/exports.md +4 -0
  750. package/docs/ko/packages/react-intlayer/usePathname.md +87 -0
  751. package/docs/ko/packages/solid-intlayer/exports.md +4 -0
  752. package/docs/ko/packages/solid-intlayer/usePathname.md +119 -0
  753. package/docs/ko/packages/svelte-intlayer/exports.md +4 -0
  754. package/docs/ko/packages/svelte-intlayer/usePathname.md +103 -0
  755. package/docs/ko/packages/vue-intlayer/exports.md +4 -0
  756. package/docs/ko/packages/vue-intlayer/usePathname.md +109 -0
  757. package/docs/nl/intlayer_with_angular_21.md +20 -4
  758. package/docs/nl/intlayer_with_fastify.md +20 -8
  759. package/docs/nl/intlayer_with_hono.md +20 -4
  760. package/docs/nl/intlayer_with_vite+lit.md +20 -4
  761. package/docs/nl/intlayer_with_vite+vanilla.md +20 -4
  762. package/docs/nl/packages/intlayer/comparePaths.md +173 -0
  763. package/docs/pl/intlayer_with_adonisjs.md +20 -4
  764. package/docs/pl/intlayer_with_analog.md +20 -4
  765. package/docs/pl/intlayer_with_angular_19.md +20 -4
  766. package/docs/pl/intlayer_with_angular_21.md +20 -4
  767. package/docs/pl/intlayer_with_astro_lit.md +20 -8
  768. package/docs/pl/intlayer_with_astro_preact.md +20 -8
  769. package/docs/pl/intlayer_with_astro_react.md +20 -8
  770. package/docs/pl/intlayer_with_astro_solid.md +20 -8
  771. package/docs/pl/intlayer_with_astro_svelte.md +20 -8
  772. package/docs/pl/intlayer_with_astro_vanilla.md +20 -8
  773. package/docs/pl/intlayer_with_astro_vue.md +20 -8
  774. package/docs/pl/intlayer_with_create_react_app.md +20 -4
  775. package/docs/pl/intlayer_with_express.md +20 -4
  776. package/docs/pl/intlayer_with_fastify.md +20 -8
  777. package/docs/pl/intlayer_with_hono.md +20 -4
  778. package/docs/pl/intlayer_with_lynx+react.md +20 -4
  779. package/docs/pl/intlayer_with_nestjs.md +20 -4
  780. package/docs/pl/intlayer_with_next-i18next.md +20 -4
  781. package/docs/pl/intlayer_with_nextjs_14.md +20 -4
  782. package/docs/pl/intlayer_with_nextjs_15.md +20 -4
  783. package/docs/pl/intlayer_with_nextjs_16.md +20 -4
  784. package/docs/pl/intlayer_with_nextjs_compiler.md +20 -4
  785. package/docs/pl/intlayer_with_nextjs_no_locale_path.md +20 -4
  786. package/docs/pl/intlayer_with_nextjs_page_router.md +20 -4
  787. package/docs/pl/intlayer_with_nuxt.md +25 -7
  788. package/docs/pl/intlayer_with_react_native+expo.md +20 -4
  789. package/docs/pl/intlayer_with_react_router_v7.md +20 -4
  790. package/docs/pl/intlayer_with_svelte_kit.md +40 -8
  791. package/docs/pl/intlayer_with_tanstack+solid.md +20 -4
  792. package/docs/pl/intlayer_with_tanstack.md +20 -4
  793. package/docs/pl/intlayer_with_vite+lit.md +20 -4
  794. package/docs/pl/intlayer_with_vite+preact.md +20 -4
  795. package/docs/pl/intlayer_with_vite+react.md +20 -4
  796. package/docs/pl/intlayer_with_vite+react_compiler.md +20 -4
  797. package/docs/pl/intlayer_with_vite+solid.md +20 -4
  798. package/docs/pl/intlayer_with_vite+svelte.md +20 -4
  799. package/docs/pl/intlayer_with_vite+vanilla.md +20 -4
  800. package/docs/pl/intlayer_with_vite+vue.md +20 -4
  801. package/docs/pl/packages/angular-intlayer/exports.md +13 -9
  802. package/docs/pl/packages/angular-intlayer/usePathname.md +119 -0
  803. package/docs/pl/packages/intlayer/comparePaths.md +173 -0
  804. package/docs/pl/packages/intlayer/exports.md +5 -0
  805. package/docs/pl/packages/next-intlayer/exports.md +4 -0
  806. package/docs/pl/packages/next-intlayer/usePathname.md +136 -0
  807. package/docs/pl/packages/preact-intlayer/exports.md +10 -6
  808. package/docs/pl/packages/preact-intlayer/usePathname.md +117 -0
  809. package/docs/pl/packages/react-intlayer/exports.md +4 -0
  810. package/docs/pl/packages/react-intlayer/usePathname.md +87 -0
  811. package/docs/pl/packages/solid-intlayer/exports.md +4 -0
  812. package/docs/pl/packages/solid-intlayer/usePathname.md +119 -0
  813. package/docs/pl/packages/svelte-intlayer/exports.md +4 -0
  814. package/docs/pl/packages/svelte-intlayer/usePathname.md +103 -0
  815. package/docs/pl/packages/vue-intlayer/exports.md +4 -0
  816. package/docs/pl/packages/vue-intlayer/usePathname.md +109 -0
  817. package/docs/pt/intlayer_with_adonisjs.md +20 -4
  818. package/docs/pt/intlayer_with_analog.md +20 -4
  819. package/docs/pt/intlayer_with_angular_19.md +20 -4
  820. package/docs/pt/intlayer_with_angular_21.md +20 -4
  821. package/docs/pt/intlayer_with_astro_lit.md +20 -8
  822. package/docs/pt/intlayer_with_astro_preact.md +20 -8
  823. package/docs/pt/intlayer_with_astro_react.md +20 -8
  824. package/docs/pt/intlayer_with_astro_solid.md +20 -8
  825. package/docs/pt/intlayer_with_astro_svelte.md +20 -8
  826. package/docs/pt/intlayer_with_astro_vanilla.md +20 -8
  827. package/docs/pt/intlayer_with_astro_vue.md +20 -8
  828. package/docs/pt/intlayer_with_create_react_app.md +20 -4
  829. package/docs/pt/intlayer_with_express.md +20 -4
  830. package/docs/pt/intlayer_with_fastify.md +20 -8
  831. package/docs/pt/intlayer_with_hono.md +20 -4
  832. package/docs/pt/intlayer_with_lynx+react.md +20 -4
  833. package/docs/pt/intlayer_with_nestjs.md +20 -4
  834. package/docs/pt/intlayer_with_next-i18next.md +20 -4
  835. package/docs/pt/intlayer_with_nextjs_14.md +20 -4
  836. package/docs/pt/intlayer_with_nextjs_15.md +20 -4
  837. package/docs/pt/intlayer_with_nextjs_16.md +20 -4
  838. package/docs/pt/intlayer_with_nextjs_compiler.md +20 -4
  839. package/docs/pt/intlayer_with_nextjs_no_locale_path.md +20 -4
  840. package/docs/pt/intlayer_with_nextjs_page_router.md +20 -4
  841. package/docs/pt/intlayer_with_nuxt.md +25 -7
  842. package/docs/pt/intlayer_with_react_native+expo.md +20 -4
  843. package/docs/pt/intlayer_with_react_router_v7.md +20 -4
  844. package/docs/pt/intlayer_with_svelte_kit.md +40 -8
  845. package/docs/pt/intlayer_with_tanstack+solid.md +20 -4
  846. package/docs/pt/intlayer_with_tanstack.md +20 -4
  847. package/docs/pt/intlayer_with_vite+lit.md +20 -4
  848. package/docs/pt/intlayer_with_vite+preact.md +20 -4
  849. package/docs/pt/intlayer_with_vite+react.md +20 -4
  850. package/docs/pt/intlayer_with_vite+react_compiler.md +20 -4
  851. package/docs/pt/intlayer_with_vite+solid.md +20 -4
  852. package/docs/pt/intlayer_with_vite+svelte.md +20 -4
  853. package/docs/pt/intlayer_with_vite+vanilla.md +20 -4
  854. package/docs/pt/intlayer_with_vite+vue.md +20 -4
  855. package/docs/pt/migration_from_i18next_to_intlayer.md +20 -4
  856. package/docs/pt/migration_from_next-i18next_to_intlayer.md +20 -4
  857. package/docs/pt/migration_from_next-intl_to_intlayer.md +20 -4
  858. package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  859. package/docs/pt/migration_from_react-i18next_to_intlayer.md +20 -4
  860. package/docs/pt/migration_from_vue-i18n_to_intlayer.md +20 -4
  861. package/docs/pt/packages/angular-intlayer/exports.md +14 -10
  862. package/docs/pt/packages/angular-intlayer/usePathname.md +119 -0
  863. package/docs/pt/packages/intlayer/comparePaths.md +173 -0
  864. package/docs/pt/packages/intlayer/exports.md +5 -0
  865. package/docs/pt/packages/next-intlayer/exports.md +4 -0
  866. package/docs/pt/packages/next-intlayer/usePathname.md +136 -0
  867. package/docs/pt/packages/preact-intlayer/exports.md +10 -6
  868. package/docs/pt/packages/preact-intlayer/usePathname.md +117 -0
  869. package/docs/pt/packages/react-intlayer/exports.md +21 -17
  870. package/docs/pt/packages/react-intlayer/usePathname.md +87 -0
  871. package/docs/pt/packages/solid-intlayer/exports.md +4 -0
  872. package/docs/pt/packages/solid-intlayer/usePathname.md +119 -0
  873. package/docs/pt/packages/svelte-intlayer/exports.md +4 -0
  874. package/docs/pt/packages/svelte-intlayer/usePathname.md +103 -0
  875. package/docs/pt/packages/vue-intlayer/exports.md +5 -1
  876. package/docs/pt/packages/vue-intlayer/usePathname.md +109 -0
  877. package/docs/ru/intlayer_with_adonisjs.md +20 -4
  878. package/docs/ru/intlayer_with_analog.md +20 -4
  879. package/docs/ru/intlayer_with_angular_19.md +20 -4
  880. package/docs/ru/intlayer_with_angular_21.md +20 -4
  881. package/docs/ru/intlayer_with_astro_vue.md +20 -8
  882. package/docs/ru/intlayer_with_create_react_app.md +20 -4
  883. package/docs/ru/intlayer_with_express.md +20 -4
  884. package/docs/ru/intlayer_with_fastify.md +20 -8
  885. package/docs/ru/intlayer_with_hono.md +20 -4
  886. package/docs/ru/intlayer_with_lynx+react.md +20 -4
  887. package/docs/ru/intlayer_with_nestjs.md +20 -4
  888. package/docs/ru/intlayer_with_next-i18next.md +20 -4
  889. package/docs/ru/intlayer_with_nextjs_14.md +20 -4
  890. package/docs/ru/intlayer_with_nextjs_15.md +20 -4
  891. package/docs/ru/intlayer_with_nextjs_16.md +20 -4
  892. package/docs/ru/intlayer_with_nextjs_compiler.md +20 -4
  893. package/docs/ru/intlayer_with_nextjs_no_locale_path.md +20 -4
  894. package/docs/ru/intlayer_with_nextjs_page_router.md +20 -4
  895. package/docs/ru/intlayer_with_nuxt.md +25 -7
  896. package/docs/ru/intlayer_with_react_native+expo.md +20 -4
  897. package/docs/ru/intlayer_with_react_router_v7.md +20 -4
  898. package/docs/ru/intlayer_with_svelte_kit.md +40 -8
  899. package/docs/ru/intlayer_with_tanstack+solid.md +20 -4
  900. package/docs/ru/intlayer_with_tanstack.md +20 -4
  901. package/docs/ru/intlayer_with_vite+lit.md +20 -4
  902. package/docs/ru/intlayer_with_vite+preact.md +20 -4
  903. package/docs/ru/intlayer_with_vite+react.md +20 -4
  904. package/docs/ru/intlayer_with_vite+react_compiler.md +20 -4
  905. package/docs/ru/intlayer_with_vite+solid.md +20 -4
  906. package/docs/ru/intlayer_with_vite+svelte.md +20 -4
  907. package/docs/ru/intlayer_with_vite+vanilla.md +20 -4
  908. package/docs/ru/intlayer_with_vite+vue.md +20 -4
  909. package/docs/ru/migration_from_i18next_to_intlayer.md +20 -4
  910. package/docs/ru/migration_from_next-i18next_to_intlayer.md +20 -4
  911. package/docs/ru/migration_from_next-intl_to_intlayer.md +20 -4
  912. package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  913. package/docs/ru/migration_from_react-i18next_to_intlayer.md +20 -4
  914. package/docs/ru/migration_from_vue-i18n_to_intlayer.md +20 -4
  915. package/docs/ru/packages/angular-intlayer/exports.md +13 -9
  916. package/docs/ru/packages/angular-intlayer/usePathname.md +119 -0
  917. package/docs/ru/packages/intlayer/comparePaths.md +173 -0
  918. package/docs/ru/packages/intlayer/exports.md +5 -0
  919. package/docs/ru/packages/next-intlayer/exports.md +4 -0
  920. package/docs/ru/packages/next-intlayer/usePathname.md +136 -0
  921. package/docs/ru/packages/preact-intlayer/exports.md +10 -6
  922. package/docs/ru/packages/preact-intlayer/usePathname.md +117 -0
  923. package/docs/ru/packages/react-intlayer/exports.md +4 -0
  924. package/docs/ru/packages/react-intlayer/usePathname.md +87 -0
  925. package/docs/ru/packages/solid-intlayer/exports.md +4 -0
  926. package/docs/ru/packages/solid-intlayer/usePathname.md +119 -0
  927. package/docs/ru/packages/svelte-intlayer/exports.md +4 -0
  928. package/docs/ru/packages/svelte-intlayer/usePathname.md +103 -0
  929. package/docs/ru/packages/vue-intlayer/exports.md +4 -0
  930. package/docs/ru/packages/vue-intlayer/usePathname.md +109 -0
  931. package/docs/tr/intlayer_with_adonisjs.md +20 -4
  932. package/docs/tr/intlayer_with_analog.md +20 -4
  933. package/docs/tr/intlayer_with_angular_19.md +20 -4
  934. package/docs/tr/intlayer_with_angular_21.md +20 -4
  935. package/docs/tr/intlayer_with_astro_lit.md +20 -8
  936. package/docs/tr/intlayer_with_astro_preact.md +20 -8
  937. package/docs/tr/intlayer_with_astro_react.md +20 -8
  938. package/docs/tr/intlayer_with_astro_solid.md +20 -8
  939. package/docs/tr/intlayer_with_astro_svelte.md +20 -8
  940. package/docs/tr/intlayer_with_astro_vanilla.md +20 -8
  941. package/docs/tr/intlayer_with_astro_vue.md +20 -8
  942. package/docs/tr/intlayer_with_create_react_app.md +20 -4
  943. package/docs/tr/intlayer_with_express.md +20 -4
  944. package/docs/tr/intlayer_with_fastify.md +20 -8
  945. package/docs/tr/intlayer_with_hono.md +20 -4
  946. package/docs/tr/intlayer_with_lynx+react.md +20 -4
  947. package/docs/tr/intlayer_with_nestjs.md +20 -4
  948. package/docs/tr/intlayer_with_next-i18next.md +20 -4
  949. package/docs/tr/intlayer_with_nextjs_14.md +20 -4
  950. package/docs/tr/intlayer_with_nextjs_15.md +20 -4
  951. package/docs/tr/intlayer_with_nextjs_16.md +20 -4
  952. package/docs/tr/intlayer_with_nextjs_compiler.md +20 -4
  953. package/docs/tr/intlayer_with_nextjs_no_locale_path.md +20 -4
  954. package/docs/tr/intlayer_with_nextjs_page_router.md +20 -4
  955. package/docs/tr/intlayer_with_nuxt.md +25 -7
  956. package/docs/tr/intlayer_with_react_native+expo.md +40 -8
  957. package/docs/tr/intlayer_with_react_router_v7.md +20 -4
  958. package/docs/tr/intlayer_with_svelte_kit.md +40 -8
  959. package/docs/tr/intlayer_with_tanstack+solid.md +20 -4
  960. package/docs/tr/intlayer_with_tanstack.md +20 -4
  961. package/docs/tr/intlayer_with_vite+lit.md +20 -4
  962. package/docs/tr/intlayer_with_vite+preact.md +20 -4
  963. package/docs/tr/intlayer_with_vite+react.md +20 -4
  964. package/docs/tr/intlayer_with_vite+react_compiler.md +20 -4
  965. package/docs/tr/intlayer_with_vite+solid.md +20 -4
  966. package/docs/tr/intlayer_with_vite+svelte.md +20 -4
  967. package/docs/tr/intlayer_with_vite+vanilla.md +20 -4
  968. package/docs/tr/intlayer_with_vite+vue.md +20 -4
  969. package/docs/tr/migration_from_i18next_to_intlayer.md +20 -4
  970. package/docs/tr/migration_from_next-i18next_to_intlayer.md +20 -4
  971. package/docs/tr/migration_from_next-intl_to_intlayer.md +20 -4
  972. package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +20 -4
  973. package/docs/tr/migration_from_react-i18next_to_intlayer.md +20 -4
  974. package/docs/tr/migration_from_vue-i18n_to_intlayer.md +20 -4
  975. package/docs/tr/packages/angular-intlayer/exports.md +13 -9
  976. package/docs/tr/packages/angular-intlayer/usePathname.md +119 -0
  977. package/docs/tr/packages/intlayer/comparePaths.md +173 -0
  978. package/docs/tr/packages/intlayer/exports.md +18 -13
  979. package/docs/tr/packages/next-intlayer/exports.md +4 -0
  980. package/docs/tr/packages/next-intlayer/usePathname.md +136 -0
  981. package/docs/tr/packages/preact-intlayer/exports.md +10 -6
  982. package/docs/tr/packages/preact-intlayer/usePathname.md +117 -0
  983. package/docs/tr/packages/react-intlayer/exports.md +4 -0
  984. package/docs/tr/packages/react-intlayer/usePathname.md +87 -0
  985. package/docs/tr/packages/solid-intlayer/exports.md +4 -0
  986. package/docs/tr/packages/solid-intlayer/usePathname.md +119 -0
  987. package/docs/tr/packages/svelte-intlayer/exports.md +13 -9
  988. package/docs/tr/packages/svelte-intlayer/usePathname.md +103 -0
  989. package/docs/tr/packages/vue-intlayer/exports.md +4 -0
  990. package/docs/tr/packages/vue-intlayer/usePathname.md +109 -0
  991. package/docs/uk/intlayer_with_adonisjs.md +20 -4
  992. package/docs/uk/intlayer_with_analog.md +20 -4
  993. package/docs/uk/intlayer_with_angular_19.md +20 -4
  994. package/docs/uk/intlayer_with_angular_21.md +20 -4
  995. package/docs/uk/intlayer_with_astro_lit.md +20 -8
  996. package/docs/uk/intlayer_with_astro_preact.md +20 -8
  997. package/docs/uk/intlayer_with_astro_react.md +20 -8
  998. package/docs/uk/intlayer_with_astro_solid.md +20 -8
  999. package/docs/uk/intlayer_with_astro_svelte.md +20 -8
  1000. package/docs/uk/intlayer_with_astro_vanilla.md +20 -8
  1001. package/docs/uk/intlayer_with_astro_vue.md +20 -8
  1002. package/docs/uk/intlayer_with_create_react_app.md +20 -4
  1003. package/docs/uk/intlayer_with_express.md +20 -4
  1004. package/docs/uk/intlayer_with_fastify.md +20 -8
  1005. package/docs/uk/intlayer_with_hono.md +20 -4
  1006. package/docs/uk/intlayer_with_lynx+react.md +20 -4
  1007. package/docs/uk/intlayer_with_nestjs.md +20 -4
  1008. package/docs/uk/intlayer_with_next-i18next.md +20 -4
  1009. package/docs/uk/intlayer_with_nextjs_14.md +20 -4
  1010. package/docs/uk/intlayer_with_nextjs_15.md +20 -4
  1011. package/docs/uk/intlayer_with_nextjs_16.md +20 -4
  1012. package/docs/uk/intlayer_with_nextjs_compiler.md +20 -4
  1013. package/docs/uk/intlayer_with_nextjs_no_locale_path.md +20 -4
  1014. package/docs/uk/intlayer_with_nextjs_page_router.md +20 -4
  1015. package/docs/uk/intlayer_with_nuxt.md +20 -4
  1016. package/docs/uk/intlayer_with_react_native+expo.md +20 -4
  1017. package/docs/uk/intlayer_with_react_router_v7.md +20 -4
  1018. package/docs/uk/intlayer_with_svelte_kit.md +20 -4
  1019. package/docs/uk/intlayer_with_tanstack+solid.md +20 -4
  1020. package/docs/uk/intlayer_with_tanstack.md +20 -4
  1021. package/docs/uk/intlayer_with_vite+lit.md +20 -4
  1022. package/docs/uk/intlayer_with_vite+preact.md +20 -4
  1023. package/docs/uk/intlayer_with_vite+react.md +20 -4
  1024. package/docs/uk/intlayer_with_vite+react_compiler.md +20 -4
  1025. package/docs/uk/intlayer_with_vite+solid.md +20 -4
  1026. package/docs/uk/intlayer_with_vite+svelte.md +20 -4
  1027. package/docs/uk/intlayer_with_vite+vanilla.md +20 -4
  1028. package/docs/uk/intlayer_with_vite+vue.md +20 -4
  1029. package/docs/uk/packages/angular-intlayer/exports.md +14 -10
  1030. package/docs/uk/packages/angular-intlayer/usePathname.md +119 -0
  1031. package/docs/uk/packages/intlayer/comparePaths.md +173 -0
  1032. package/docs/uk/packages/intlayer/exports.md +5 -0
  1033. package/docs/uk/packages/next-intlayer/exports.md +4 -0
  1034. package/docs/uk/packages/next-intlayer/usePathname.md +136 -0
  1035. package/docs/uk/packages/preact-intlayer/exports.md +10 -6
  1036. package/docs/uk/packages/preact-intlayer/usePathname.md +117 -0
  1037. package/docs/uk/packages/react-intlayer/exports.md +4 -0
  1038. package/docs/uk/packages/react-intlayer/usePathname.md +87 -0
  1039. package/docs/uk/packages/solid-intlayer/exports.md +5 -1
  1040. package/docs/uk/packages/solid-intlayer/usePathname.md +119 -0
  1041. package/docs/uk/packages/svelte-intlayer/exports.md +4 -0
  1042. package/docs/uk/packages/svelte-intlayer/usePathname.md +103 -0
  1043. package/docs/uk/packages/vue-intlayer/exports.md +4 -0
  1044. package/docs/uk/packages/vue-intlayer/usePathname.md +109 -0
  1045. package/docs/ur/intlayer_with_angular_21.md +20 -4
  1046. package/docs/ur/intlayer_with_fastify.md +20 -8
  1047. package/docs/ur/intlayer_with_hono.md +20 -4
  1048. package/docs/ur/intlayer_with_vite+lit.md +20 -4
  1049. package/docs/ur/intlayer_with_vite+vanilla.md +20 -4
  1050. package/docs/ur/packages/intlayer/comparePaths.md +173 -0
  1051. package/docs/vi/intlayer_with_adonisjs.md +20 -4
  1052. package/docs/vi/intlayer_with_analog.md +20 -4
  1053. package/docs/vi/intlayer_with_angular_19.md +20 -4
  1054. package/docs/vi/intlayer_with_angular_21.md +20 -4
  1055. package/docs/vi/intlayer_with_astro_lit.md +20 -8
  1056. package/docs/vi/intlayer_with_astro_preact.md +20 -8
  1057. package/docs/vi/intlayer_with_astro_react.md +20 -8
  1058. package/docs/vi/intlayer_with_astro_solid.md +20 -8
  1059. package/docs/vi/intlayer_with_astro_svelte.md +20 -8
  1060. package/docs/vi/intlayer_with_astro_vanilla.md +20 -8
  1061. package/docs/vi/intlayer_with_astro_vue.md +20 -8
  1062. package/docs/vi/intlayer_with_create_react_app.md +20 -4
  1063. package/docs/vi/intlayer_with_express.md +20 -4
  1064. package/docs/vi/intlayer_with_fastify.md +20 -8
  1065. package/docs/vi/intlayer_with_hono.md +20 -4
  1066. package/docs/vi/intlayer_with_lynx+react.md +20 -4
  1067. package/docs/vi/intlayer_with_nestjs.md +20 -4
  1068. package/docs/vi/intlayer_with_next-i18next.md +20 -4
  1069. package/docs/vi/intlayer_with_nextjs_14.md +20 -4
  1070. package/docs/vi/intlayer_with_nextjs_15.md +20 -4
  1071. package/docs/vi/intlayer_with_nextjs_16.md +20 -4
  1072. package/docs/vi/intlayer_with_nextjs_compiler.md +20 -4
  1073. package/docs/vi/intlayer_with_nextjs_no_locale_path.md +20 -4
  1074. package/docs/vi/intlayer_with_nextjs_page_router.md +20 -4
  1075. package/docs/vi/intlayer_with_nuxt.md +20 -4
  1076. package/docs/vi/intlayer_with_react_native+expo.md +20 -4
  1077. package/docs/vi/intlayer_with_react_router_v7.md +20 -4
  1078. package/docs/vi/intlayer_with_react_router_v7_fs_routes.md +20 -4
  1079. package/docs/vi/intlayer_with_svelte_kit.md +40 -8
  1080. package/docs/vi/intlayer_with_tanstack+solid.md +20 -4
  1081. package/docs/vi/intlayer_with_tanstack.md +20 -4
  1082. package/docs/vi/intlayer_with_vite+lit.md +20 -4
  1083. package/docs/vi/intlayer_with_vite+preact.md +20 -4
  1084. package/docs/vi/intlayer_with_vite+react.md +20 -4
  1085. package/docs/vi/intlayer_with_vite+react_compiler.md +20 -4
  1086. package/docs/vi/intlayer_with_vite+solid.md +20 -4
  1087. package/docs/vi/intlayer_with_vite+svelte.md +20 -4
  1088. package/docs/vi/intlayer_with_vite+vanilla.md +20 -4
  1089. package/docs/vi/intlayer_with_vite+vue.md +20 -4
  1090. package/docs/vi/packages/angular-intlayer/exports.md +14 -10
  1091. package/docs/vi/packages/angular-intlayer/usePathname.md +119 -0
  1092. package/docs/vi/packages/intlayer/comparePaths.md +173 -0
  1093. package/docs/vi/packages/intlayer/exports.md +5 -0
  1094. package/docs/vi/packages/next-intlayer/exports.md +4 -0
  1095. package/docs/vi/packages/next-intlayer/usePathname.md +136 -0
  1096. package/docs/vi/packages/preact-intlayer/exports.md +10 -6
  1097. package/docs/vi/packages/preact-intlayer/usePathname.md +117 -0
  1098. package/docs/vi/packages/react-intlayer/exports.md +20 -16
  1099. package/docs/vi/packages/react-intlayer/usePathname.md +87 -0
  1100. package/docs/vi/packages/solid-intlayer/exports.md +15 -11
  1101. package/docs/vi/packages/solid-intlayer/usePathname.md +119 -0
  1102. package/docs/vi/packages/svelte-intlayer/exports.md +13 -9
  1103. package/docs/vi/packages/svelte-intlayer/usePathname.md +103 -0
  1104. package/docs/vi/packages/vue-intlayer/exports.md +14 -10
  1105. package/docs/vi/packages/vue-intlayer/usePathname.md +109 -0
  1106. package/docs/zh/intlayer_with_adonisjs.md +20 -4
  1107. package/docs/zh/intlayer_with_analog.md +20 -4
  1108. package/docs/zh/intlayer_with_angular_19.md +20 -4
  1109. package/docs/zh/intlayer_with_angular_21.md +20 -4
  1110. package/docs/zh/intlayer_with_astro_lit.md +20 -8
  1111. package/docs/zh/intlayer_with_astro_preact.md +20 -8
  1112. package/docs/zh/intlayer_with_astro_react.md +20 -8
  1113. package/docs/zh/intlayer_with_astro_solid.md +20 -8
  1114. package/docs/zh/intlayer_with_astro_svelte.md +20 -8
  1115. package/docs/zh/intlayer_with_astro_vanilla.md +20 -8
  1116. package/docs/zh/intlayer_with_astro_vue.md +20 -8
  1117. package/docs/zh/intlayer_with_create_react_app.md +20 -4
  1118. package/docs/zh/intlayer_with_express.md +20 -4
  1119. package/docs/zh/intlayer_with_fastify.md +20 -8
  1120. package/docs/zh/intlayer_with_hono.md +20 -4
  1121. package/docs/zh/intlayer_with_lynx+react.md +20 -4
  1122. package/docs/zh/intlayer_with_nestjs.md +20 -4
  1123. package/docs/zh/intlayer_with_next-i18next.md +20 -4
  1124. package/docs/zh/intlayer_with_nextjs_14.md +20 -4
  1125. package/docs/zh/intlayer_with_nextjs_15.md +20 -4
  1126. package/docs/zh/intlayer_with_nextjs_16.md +20 -4
  1127. package/docs/zh/intlayer_with_nextjs_compiler.md +20 -4
  1128. package/docs/zh/intlayer_with_nextjs_no_locale_path.md +20 -4
  1129. package/docs/zh/intlayer_with_nextjs_page_router.md +20 -4
  1130. package/docs/zh/intlayer_with_nuxt.md +25 -7
  1131. package/docs/zh/intlayer_with_react_native+expo.md +20 -4
  1132. package/docs/zh/intlayer_with_react_router_v7.md +20 -4
  1133. package/docs/zh/intlayer_with_react_router_v7_fs_routes.md +20 -4
  1134. package/docs/zh/intlayer_with_svelte_kit.md +40 -8
  1135. package/docs/zh/intlayer_with_tanstack+solid.md +20 -4
  1136. package/docs/zh/intlayer_with_tanstack.md +20 -4
  1137. package/docs/zh/intlayer_with_vite+lit.md +20 -4
  1138. package/docs/zh/intlayer_with_vite+preact.md +20 -4
  1139. package/docs/zh/intlayer_with_vite+react_compiler.md +20 -4
  1140. package/docs/zh/intlayer_with_vite+solid.md +20 -4
  1141. package/docs/zh/intlayer_with_vite+svelte.md +20 -4
  1142. package/docs/zh/intlayer_with_vite+vanilla.md +20 -4
  1143. package/docs/zh/intlayer_with_vite+vue.md +20 -4
  1144. package/docs/zh/packages/angular-intlayer/exports.md +13 -9
  1145. package/docs/zh/packages/angular-intlayer/usePathname.md +119 -0
  1146. package/docs/zh/packages/intlayer/comparePaths.md +173 -0
  1147. package/docs/zh/packages/intlayer/exports.md +18 -13
  1148. package/docs/zh/packages/next-intlayer/exports.md +4 -0
  1149. package/docs/zh/packages/next-intlayer/usePathname.md +136 -0
  1150. package/docs/zh/packages/preact-intlayer/exports.md +10 -6
  1151. package/docs/zh/packages/preact-intlayer/usePathname.md +117 -0
  1152. package/docs/zh/packages/react-intlayer/exports.md +5 -1
  1153. package/docs/zh/packages/react-intlayer/usePathname.md +88 -0
  1154. package/docs/zh/packages/solid-intlayer/exports.md +15 -11
  1155. package/docs/zh/packages/solid-intlayer/usePathname.md +119 -0
  1156. package/docs/zh/packages/svelte-intlayer/exports.md +13 -9
  1157. package/docs/zh/packages/svelte-intlayer/usePathname.md +103 -0
  1158. package/docs/zh/packages/vue-intlayer/exports.md +14 -10
  1159. package/docs/zh/packages/vue-intlayer/usePathname.md +109 -0
  1160. package/docs/zh-TW/intlayer_with_angular_21.md +20 -4
  1161. package/docs/zh-TW/packages/intlayer/comparePaths.md +173 -0
  1162. package/package.json +7 -7
  1163. package/src/generated/docs.entry.ts +160 -0
@@ -14,6 +14,9 @@ slugs:
14
14
  - react-intlayer
15
15
  - exports
16
16
  history:
17
+ - version: 10.0.0
18
+ date: 2026-06-23
19
+ changes: "إضافة أداة usePathname"
17
20
  - version: 7.5.14
18
21
  date: 2026-01-21
19
22
  changes: "توثيق موحّد لجميع الصادرات"
@@ -64,6 +67,7 @@ import "react-intlayer";
64
67
  | `useDictionaryDynamic` | هوك يتعامل مع القواميس الديناميكية التي تُحمّل بواسطة المفتاح. يستخدم React Suspense داخليًا لحالات التحميل. | - |
65
68
  | `useLocale` | هوك على جهة العميل للحصول على الـlocale الحالية، الـlocale الافتراضية، الـlocales المتاحة، ودالة لتحديث الـlocale. | [useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/react-intlayer/useLocale.md) |
66
69
  | `useLocaleBase` | Hook للحصول على اللغة الحالية وجميع الحقول المتعلقة بها (locale, defaultLocale, availableLocales, setLocale) من السياق. | - |
70
+ | `usePathname` | خطاف (Hook) يعيد مسار الرابط (pathname) الحالي مع إزالة جزء الإعداد المحلي. يتفاعل مع تنقل المتصفح عبر `popstate`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/react-intlayer/usePathname.md) |
67
71
  | `useRewriteURL` | Hook على جانب العميل لإدارة إعادة كتابة عناوين URL. إذا وُجدت قاعدة إعادة كتابة للمسار الحالي والlocale، فسيتم تحديث عنوان URL. | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/react-intlayer/useRewriteURL.md) |
68
72
  | `useI18n` | هوك يوفر دالة ترجمة `t()` للوصول إلى محتوى متداخل عبر المفتاح. يحاكي نمط i18next/next-intl. | [useI18n](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/react-intlayer/useI18n.md) |
69
73
  | `useIntl` | هوك يوفر كائن `Intl` مربوط بالـ locale. يقوم بحقن الـ locale الحالي تلقائيًا ويستخدم تخزينًا مؤقتًا محسّنًا. | - |
@@ -0,0 +1,87 @@
1
+ ---
2
+ createdAt: 2026-06-22
3
+ updatedAt: 2026-06-22
4
+ title: توثيق الخطاف usePathname | react-intlayer
5
+ description: تعرف على كيفية استخدام الخطاف usePathname من حزمة react-intlayer للحصول على مسار URL الحالي بدون جزء الإعداد المحلي (locale).
6
+ keywords:
7
+ - usePathname
8
+ - مسار الرابط
9
+ - react
10
+ - intlayer
11
+ - التوجيه
12
+ - التدويل
13
+ slugs:
14
+ - doc
15
+ - packages
16
+ - react-intlayer
17
+ - usePathname
18
+ history:
19
+ - version: 10.0.0
20
+ date: 2026-06-23
21
+ changes: "إضافة أداة usePathname"
22
+ - version: 8.2.0
23
+ date: 2026-06-22
24
+ changes: "تهيئة السجل"
25
+ author: aymericzip
26
+ ---
27
+
28
+ # تكامل React: توثيق الخطاف `usePathname`
29
+
30
+ الخطاف `usePathname` من `react-intlayer` يعيد المسار الحالي للمتصفح (pathname) مع إزالة جزء الإعداد المحلي (locale). يعتمد على الخاصية الأصلية `window.location.pathname` ويتفاعل مع أحداث تنقل المتصفح عبر `popstate`.
31
+
32
+ ## استيراد `usePathname`
33
+
34
+ ```typescript
35
+ import { usePathname } from "react-intlayer";
36
+ ```
37
+
38
+ ## نظرة عامة
39
+
40
+ على عكس خطافات التوجيه الخاصة بأطر العمل (مثل تلك الموجودة في `next-intlayer` أو `react-router`)، يُعد هذا الخطاف حلاً خفيف الوزن ومستقلاً عن أطر العمل لتطبيقات React الخالصة. يقوم باستخراج مسار URL الحالي ويزيل أي بادئة محلية مطابقة (على سبيل المثال، `/ar/about` تصبح `/about`).
41
+
42
+ ## الاستخدام
43
+
44
+ ```tsx fileName="src/components/Navigation.tsx" codeFormat={["typescript", "esm"]}
45
+ import type { FC } from "react";
46
+ import { usePathname } from "react-intlayer";
47
+
48
+ const Navigation: FC = () => {
49
+ const pathname = usePathname();
50
+
51
+ return (
52
+ <nav>
53
+ <a
54
+ href="/home"
55
+ style={{ fontWeight: pathname === "/home" ? "bold" : "normal" }}
56
+ >
57
+ الرئيسية
58
+ </a>
59
+ <a
60
+ href="/about"
61
+ style={{ fontWeight: pathname === "/about" ? "bold" : "normal" }}
62
+ >
63
+ من نحن
64
+ </a>
65
+ </nav>
66
+ );
67
+ };
68
+
69
+ export default Navigation;
70
+ ```
71
+
72
+ ## القيمة المرجعة
73
+
74
+ | النوع | الوصف |
75
+ | -------- | ---------------------------------------------------------------------------------------------------- |
76
+ | `string` | مسار المتصفح الحالي مع إزالة بادئة الإعداد المحلي (على سبيل المثال، `/ar/dashboard` → `/dashboard`). |
77
+
78
+ ## السلوك
79
+
80
+ - **إزالة الإعداد المحلي**: يستخدم أداة `getPathWithoutLocale` داخليًا لاكتشاف وإزالة الإعداد المحلي تلقائيًا من المسار بناءً على تكوين Intlayer للتطبيق.
81
+ - **التفاعلية**: يستمع إلى الحدث `popstate`. عندما يتنقل المستخدم باستخدام أزرار الرجوع/التقدم في المتصفح أو عندما يتم استدعاء `pushState`/`replaceState`، يقوم الخطاف بتحديث المسار المرجع.
82
+ - **SSR Fallback**: على الخادم (حيث تكون `window` غير معرفة)، فإنه يرجع `/` افتراضيًا لأنه لا يمتلك وصولًا إلى URL الخاص بالطلب بشكل افتراضي في سياق React خالص.
83
+
84
+ ## الوثائق ذات الصلة
85
+
86
+ - [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/react-intlayer/useLocale.md)
87
+ - [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/intlayer/getPathWithoutLocale.md)
@@ -14,6 +14,9 @@ slugs:
14
14
  - solid-intlayer
15
15
  - exports
16
16
  history:
17
+ - version: 10.0.0
18
+ date: 2026-06-23
19
+ changes: "إضافة أداة usePathname"
17
20
  - version: 8.0.0
18
21
  date: 2026-01-21
19
22
  changes: "توحيد التوثيق لجميع الصادرات"
@@ -59,6 +62,7 @@ import "solid-intlayer";
59
62
  | `useDictionaryAsync` | مثل `useDictionary`، ولكن يتعامل مع القواميس غير المتزامنة. | - |
60
63
  | `useDictionaryDynamic` | مثل `useDictionary`، ولكن يتعامل مع القواميس الديناميكية. | - |
61
64
  | `useLocale` | يعيد الـ locale الحالية ودالة لتعيينها. | [useLocale](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/solid-intlayer/useLocale.md) |
65
+ | `usePathname` | يُعيد مسار الرابط الحالي (pathname) كـ `Accessor<string>` مع إزالة جزء اللغة (locale). متفاعل مع `popstate`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/solid-intlayer/usePathname.md) |
62
66
  | `useRewriteURL` | هو hook على جانب العميل لإدارة إعادة كتابة عناوين URL. يقوم بتحديث الـ URL تلقائيًا إذا وُجدت قاعدة إعادة كتابة محلية. | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/solid-intlayer/useRewriteURL.md) |
63
67
  | `useIntl` | يعيد كائن Intl للـ locale الحالية. | - |
64
68
  | `useLoadDynamic` | هوك لتحميل القواميس الديناميكية. | - |
@@ -0,0 +1,119 @@
1
+ ---
2
+ createdAt: 2026-06-22
3
+ updatedAt: 2026-06-22
4
+ title: توثيق Hook usePathname | solid-intlayer
5
+ description: تعرف على كيفية استخدام hook usePathname من حزمة solid-intlayer
6
+ keywords:
7
+ - usePathname
8
+ - pathname
9
+ - locale
10
+ - Intlayer
11
+ - تدويل
12
+ - توثيق
13
+ - Solid
14
+ - Solid.js
15
+ - JavaScript
16
+ slugs:
17
+ - doc
18
+ - packages
19
+ - solid-intlayer
20
+ - usePathname
21
+ history:
22
+ - version: 10.0.0
23
+ date: 2026-06-23
24
+ changes: "إضافة أداة usePathname"
25
+ - version: 8.2.0
26
+ date: 2026-06-22
27
+ changes: "تهيئة السجل"
28
+ author: aymericzip
29
+ ---
30
+
31
+ # تكامل Solid: توثيق Hook `usePathname`
32
+
33
+ يُعيد الـ hook `usePathname` مسار المتصفح الحالي (pathname) مع إزالة جزء اللغة (locale)، على شكل `Accessor<string>` خاص بـ Solid. إنه مفيد للتنقل القائم على اللغة — على سبيل المثال، لتحديد عنصر التنقل النشط — دون الحاجة إلى إزالة بادئة اللغة يدويًا.
34
+
35
+ ## استيراد `usePathname` في Solid
36
+
37
+ ```typescript
38
+ import { usePathname } from "solid-intlayer";
39
+ ```
40
+
41
+ ## نظرة عامة
42
+
43
+ يقوم `usePathname` بإنشاء إشارة تفاعلية (reactive signal) مُهيأة من `window.location.pathname`، ويزيل بادئة اللغة عبر `getPathWithoutLocale`، ثم يُحدّث الإشارة كلما أصدر المتصفح حدث `popstate` (التنقل للخلف/للأمام). يتم تنظيف مستمع الحدث (event listener) تلقائيًا عبر `onCleanup`.
44
+
45
+ ## الاستخدام
46
+
47
+ ```tsx fileName="src/components/NavItem.tsx"
48
+ import type { Component } from "solid-js";
49
+ import { usePathname } from "solid-intlayer";
50
+
51
+ type NavItemProps = {
52
+ href: string;
53
+ label: string;
54
+ };
55
+
56
+ const NavItem: Component<NavItemProps> = ({ href, label }) => {
57
+ const pathname = usePathname();
58
+
59
+ return (
60
+ <a href={href} aria-current={pathname() === href ? "page" : undefined}>
61
+ {label}
62
+ </a>
63
+ );
64
+ };
65
+
66
+ export default NavItem;
67
+ ```
68
+
69
+ ## القيمة المرجعة
70
+
71
+ | النوع | الوصف |
72
+ | ------------------ | --------------------------------------------------------------------------------------------- |
73
+ | `Accessor<string>` | Accessor خاص بـ Solid (حصول تفاعلي - getter) يُعيد المسار الحالي (pathname) بدون بادئة اللغة. |
74
+
75
+ ## السلوك
76
+
77
+ - **إزالة اللغة**: يُزيل الجزء الأمامي للغة من المسار (مثال: `/ar/dashboard` ← `/dashboard`).
78
+ - **تفاعلي**: يتم التحديث تلقائيًا عند وقوع أحداث `popstate` (التنقل للخلف / للأمام في المتصفح).
79
+ - **آمن لـ SSR**: يُعيد `""` عندما لا يكون كائن `window` متاحًا.
80
+ - **التنظيف**: يُزال مستمع `popstate` تلقائيًا من خلال وظيفة `onCleanup` في Solid.
81
+
82
+ ## مثال
83
+
84
+ ```tsx fileName="src/components/Sidebar.tsx"
85
+ import type { Component } from "solid-js";
86
+ import { For } from "solid-js";
87
+ import { usePathname } from "solid-intlayer";
88
+
89
+ const links = [
90
+ { href: "/dashboard", label: "لوحة التحكم" },
91
+ { href: "/settings", label: "الإعدادات" },
92
+ ];
93
+
94
+ const Sidebar: Component = () => {
95
+ const pathname = usePathname();
96
+
97
+ return (
98
+ <nav>
99
+ <For each={links}>
100
+ {({ href, label }) => (
101
+ <a
102
+ href={href}
103
+ style={{ "font-weight": pathname() === href ? "bold" : "normal" }}
104
+ >
105
+ {label}
106
+ </a>
107
+ )}
108
+ </For>
109
+ </nav>
110
+ );
111
+ };
112
+
113
+ export default Sidebar;
114
+ ```
115
+
116
+ ## مواضيع ذات صلة
117
+
118
+ - [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/solid-intlayer/useLocale.md) — اللغة الحالية + مفتاح تغيير اللغة
119
+ - [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/intlayer/getPathWithoutLocale.md) — الأداة الأساسية التي يستخدمها هذا الـ hook
@@ -14,6 +14,9 @@ slugs:
14
14
  - svelte-intlayer
15
15
  - exports
16
16
  history:
17
+ - version: 10.0.0
18
+ date: 2026-06-23
19
+ changes: "إضافة أداة usePathname المساعدة"
17
20
  - version: 8.0.0
18
21
  date: 2026-01-21
19
22
  changes: "توحيد التوثيق لجميع الصادرات"
@@ -71,6 +74,7 @@ import "svelte-intlayer";
71
74
  | `useDictionaryAsync` | نفس عمل `useDictionary`، لكنه يتعامل مع القواميس غير المتزامنة. | - |
72
75
  | `useDictionaryDynamic` | نفس عمل `useDictionary`، لكنه يتعامل مع القواميس الديناميكية. | - |
73
76
  | `useLocale` | تعيد الـ locale الحالي ودالة لتعيينها. | - |
77
+ | `usePathname` | تُرجع مسار URL الحالي (pathname) كمخزن `Readable<string>` مع إزالة جزء locale. يتفاعل مع أحداث `popstate`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/svelte-intlayer/usePathname.md) |
74
78
  | `useRewriteURL` | دالة على جانب العميل لإدارة إعادة كتابة عناوين URL. تقوم بتحديث عنوان URL تلقائيًا إذا كانت هناك قاعدة إعادة كتابة مخصصة للـ locale. | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/svelte-intlayer/useRewriteURL.md) |
75
79
  | `useIntl` | تعيد كائن Intl للـ locale الحالي. | - |
76
80
 
@@ -0,0 +1,103 @@
1
+ ---
2
+ createdAt: 2026-06-22
3
+ updatedAt: 2026-06-22
4
+ title: توثيق دالة usePathname | svelte-intlayer
5
+ description: تعرف على كيفية استخدام دالة usePathname من حزمة svelte-intlayer
6
+ keywords:
7
+ - usePathname
8
+ - pathname
9
+ - locale
10
+ - Intlayer
11
+ - التدويل (Internationalization)
12
+ - توثيق
13
+ - Svelte
14
+ - JavaScript
15
+ slugs:
16
+ - doc
17
+ - packages
18
+ - svelte-intlayer
19
+ - usePathname
20
+ history:
21
+ - version: 10.0.0
22
+ date: 2026-06-23
23
+ changes: "إضافة أداة usePathname المساعدة"
24
+ - version: 8.2.0
25
+ date: 2026-06-22
26
+ changes: "تهيئة السجل التاريخي"
27
+ author: aymericzip
28
+ ---
29
+
30
+ # تكامل Svelte: توثيق `usePathname`
31
+
32
+ تعيد دالة `usePathname` مسار المتصفح الحالي (pathname) بعد إزالة جزء الـ locale منه، وتُرجع ذلك كمخزن (store) من نوع `Readable<string>` في Svelte. يُعد هذا مفيدًا لبناء تنقل (navigation) يراعي الـ locale — على سبيل المثال، لتحديد عنصر التنقل النشط حاليًا — دون الحاجة إلى إزالة بادئة الـ locale يدويًا.
33
+
34
+ ## استيراد `usePathname` في Svelte
35
+
36
+ ```typescript
37
+ import { usePathname } from "svelte-intlayer";
38
+ ```
39
+
40
+ ## نظرة عامة
41
+
42
+ تقوم `usePathname` بإنشاء store قابل للقراءة في Svelte يقرأ من `window.location.pathname`، ويزيل بادئة الـ locale باستخدام `getPathWithoutLocale`، ثم يُصدر قيمة جديدة كلما أطلق المتصفح حدث `popstate` (التنقل للخلف/للأمام). اشترك في هذا الـ store باستخدام صيغة `$` داخل المكونات (components).
43
+
44
+ ## الاستخدام
45
+
46
+ ```svelte fileName="src/components/NavItem.svelte"
47
+ <script lang="ts">
48
+ import { usePathname } from "svelte-intlayer";
49
+
50
+ export let href: string;
51
+ export let label: string;
52
+
53
+ const pathname = usePathname();
54
+ </script>
55
+
56
+ <a {href} aria-current={$pathname === href ? "page" : undefined}>
57
+ {label}
58
+ </a>
59
+ ```
60
+
61
+ ## القيمة المُرجعة
62
+
63
+ | النوع | الوصف |
64
+ | ------------------ | ------------------------------------------------------------------------------------- |
65
+ | `Readable<string>` | Store Svelte قابل للقراءة يحتوي على مسار URL الحالي (pathname) بدون بادئة الـ locale. |
66
+
67
+ ## السلوك
68
+
69
+ - **إزالة الـ Locale**: تزيل مقطع الـ locale الأمامي (مثلًا `/ar/dashboard` ← `/dashboard`).
70
+ - **تفاعلية (Reactive)**: تُصدر قيمة جديدة عند كل حدث `popstate` (التنقل للخلف / للأمام في المتصفح).
71
+ - **آمنة في SSR**: تعيد `""` عندما يكون `window` غير متوفر.
72
+ - **التنظيف (Cleanup)**: تتم إزالة مستمع (listener) الـ `popstate` تلقائيًا عندما يلغي آخر مشترك (subscriber) اشتراكه.
73
+
74
+ ## مثال
75
+
76
+ ```svelte fileName="src/components/Sidebar.svelte"
77
+ <script lang="ts">
78
+ import { usePathname } from "svelte-intlayer";
79
+
80
+ const links = [
81
+ { href: "/dashboard", label: "لوحة التحكم" },
82
+ { href: "/settings", label: "الإعدادات" },
83
+ ];
84
+
85
+ const pathname = usePathname();
86
+ </script>
87
+
88
+ <nav>
89
+ {#each links as link}
90
+ <a
91
+ href={link.href}
92
+ style:font-weight={$pathname === link.href ? "bold" : "normal"}
93
+ >
94
+ {link.label}
95
+ </a>
96
+ {/each}
97
+ </nav>
98
+ ```
99
+
100
+ ## مواضيع ذات صلة
101
+
102
+ - [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/svelte-intlayer/useLocale.md) — الـ locale الحالي + مبدّل الـ locale
103
+ - [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/intlayer/getPathWithoutLocale.md) — الأداة الأساسية المُستخدمة داخل هذا الـ hook
@@ -14,6 +14,9 @@ slugs:
14
14
  - vue-intlayer
15
15
  - exports
16
16
  history:
17
+ - version: 10.0.0
18
+ date: 2026-06-23
19
+ changes: "إضافة أداة usePathname المساعدة"
17
20
  - version: 8.0.0
18
21
  date: 2026-01-21
19
22
  changes: "توحيد التوثيق لجميع الصادرات"
@@ -59,6 +62,7 @@ import "vue-intlayer";
59
62
  | `useDictionaryAsync` | نفس وظيفة `useDictionary`، ولكن يتعامل مع القواميس غير المتزامنة. | - |
60
63
  | `useDictionaryDynamic` | نفس وظيفة `useDictionary`، ولكن يتعامل مع القواميس الديناميكية. | - |
61
64
  | `useLocale` | يعيد الـ locale الحالي ودالة لتعيينه. | - |
65
+ | `usePathname` | يُرجع مسار URL الحالي (pathname) كـ `ComputedRef<string>` مع إزالة جزء locale. يتفاعل مع أحداث `popstate`. | [usePathname](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/vue-intlayer/usePathname.md) |
62
66
  | `useRewriteURL` | Composable على جانب العميل لإدارة إعادة كتابة URL. يقوم بتحديث URL تلقائيًا إذا وُجدت قاعدة إعادة كتابة محلية. | [useRewriteURL](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/vue-intlayer/useRewriteURL.md) |
63
67
  | `useIntl` | يعيد كائن Intl للـ locale الحالي. | - |
64
68
  | `useLoadDynamic` | Composable لتحميل قواميس ديناميكية. | - |
@@ -0,0 +1,109 @@
1
+ ---
2
+ createdAt: 2026-06-22
3
+ updatedAt: 2026-06-22
4
+ title: توثيق دالة usePathname | vue-intlayer
5
+ description: تعرف على كيفية استخدام دالة usePathname من حزمة vue-intlayer
6
+ keywords:
7
+ - usePathname
8
+ - pathname
9
+ - locale
10
+ - Intlayer
11
+ - التدويل (Internationalization)
12
+ - توثيق
13
+ - Vue
14
+ - JavaScript
15
+ slugs:
16
+ - doc
17
+ - packages
18
+ - vue-intlayer
19
+ - usePathname
20
+ history:
21
+ - version: 10.0.0
22
+ date: 2026-06-23
23
+ changes: "إضافة أداة usePathname المساعدة"
24
+ - version: 8.2.0
25
+ date: 2026-06-22
26
+ changes: "تهيئة السجل التاريخي"
27
+ author: aymericzip
28
+ ---
29
+
30
+ # تكامل Vue: توثيق `usePathname`
31
+
32
+ تعيد دالة `usePathname` مسار المتصفح الحالي (pathname) بعد إزالة جزء الـ locale منه، كقيمة محسوبة (Computed Ref) من نوع `ComputedRef<string>` في Vue. يُعد هذا مفيدًا لبناء تنقل (navigation) يراعي الـ locale — على سبيل المثال، لتحديد عنصر التنقل النشط حاليًا — دون الحاجة إلى إزالة بادئة الـ locale يدويًا.
33
+
34
+ ## استيراد `usePathname` في Vue
35
+
36
+ ```typescript
37
+ import { usePathname } from "vue-intlayer";
38
+ ```
39
+
40
+ ## نظرة عامة
41
+
42
+ تقوم `usePathname` بإنشاء (computed ref) في Vue تقرأ من `window.location.pathname`، وتزيل بادئة الـ locale باستخدام `getPathWithoutLocale`، وتُحَدِّث قيمتها كلما أطلق المتصفح حدث `popstate` (التنقل للخلف/للأمام). يمكن استخدام هذه القيمة مباشرة في قوالب Vue أو داخل دالة `setup`.
43
+
44
+ ## الاستخدام
45
+
46
+ ```vue fileName="src/components/NavItem.vue"
47
+ <script setup lang="ts">
48
+ import { usePathname } from "vue-intlayer";
49
+
50
+ const props = defineProps<{
51
+ href: string;
52
+ label: string;
53
+ }>();
54
+
55
+ const pathname = usePathname();
56
+ </script>
57
+
58
+ <template>
59
+ <a :href="href" :aria-current="pathname === href ? 'page' : undefined">
60
+ {{ label }}
61
+ </a>
62
+ </template>
63
+ ```
64
+
65
+ ## القيمة المُرجعة
66
+
67
+ | النوع | الوصف |
68
+ | --------------------- | -------------------------------------------------------------------------------------- |
69
+ | `ComputedRef<string>` | قيمة محسوبة من Vue تحتوي على مسار URL الحالي (pathname) للمتصفح بدون بادئة الـ locale. |
70
+
71
+ ## السلوك
72
+
73
+ - **إزالة الـ Locale**: تزيل مقطع الـ locale الأمامي (مثلًا `/ar/dashboard` ← `/dashboard`).
74
+ - **تفاعلية (Reactive)**: تُحدِّث القيمة عند كل حدث `popstate` (التنقل للخلف / للأمام في المتصفح).
75
+ - **آمنة في SSR**: تعيد `""` عندما يكون `window` غير متوفر.
76
+ - **التنظيف (Cleanup)**: تتم إضافة مستمع (listener) الـ `popstate` بشكل عام عند التهيئة وعادةً لا تتطلب تنظيفًا يدويًا لكل مكون، بفضل كيفية إدارة Vue لدورة حياة المكونات.
77
+
78
+ ## مثال
79
+
80
+ ```vue fileName="src/components/Sidebar.vue"
81
+ <script setup lang="ts">
82
+ import { usePathname } from "vue-intlayer";
83
+
84
+ const links = [
85
+ { href: "/dashboard", label: "لوحة التحكم" },
86
+ { href: "/settings", label: "الإعدادات" },
87
+ ];
88
+
89
+ const pathname = usePathname();
90
+ </script>
91
+
92
+ <template>
93
+ <nav>
94
+ <a
95
+ v-for="link in links"
96
+ :key="link.href"
97
+ :href="link.href"
98
+ :style="{ fontWeight: pathname === link.href ? 'bold' : 'normal' }"
99
+ >
100
+ {{ link.label }}
101
+ </a>
102
+ </nav>
103
+ </template>
104
+ ```
105
+
106
+ ## مواضيع ذات صلة
107
+
108
+ - [`useLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/vue-intlayer/useLocale.md) — الـ locale الحالي + مبدّل الـ locale
109
+ - [`getPathWithoutLocale`](https://github.com/aymericzip/intlayer/blob/main/docs/docs/ar/packages/intlayer/getPathWithoutLocale.md) — الأداة الأساسية المُستخدمة داخل هذا الـ composable
@@ -83,28 +83,44 @@ GitHub এ [অ্যাপ্লিকেশন টেমপ্লেট](https
83
83
 
84
84
  npm ব্যবহার করে প্রয়োজনীয় প্যাকেজ ইন্সটল করুন:
85
85
 
86
+ ```bash packageManager="npm"
87
+ npx intlayer-cli init --interactive
88
+ ```
89
+
90
+ ```bash packageManager="pnpm"
91
+ pnpm dlx intlayer-cli init --interactive
92
+ ```
93
+
94
+ ```bash packageManager="yarn"
95
+ yarn dlx intlayer-cli init --interactive
96
+ ```
97
+
98
+ ```bash packageManager="bun"
99
+ bunx intlayer-cli init --interactive
100
+ ```
101
+
102
+ > `--interactive` ফ্ল্যাগটি ঐচ্ছিক। আপনি যদি একজন AI এজেন্ট হন তবে `intlayer-cli init` ব্যবহার করুন।
103
+
104
+ > এই কমান্ডটি আপনার এনভায়রনমেন্ট সনাক্ত করবে এবং প্রয়োজনীয় প্যাকেজগুলি ইনস্টল করবে। উদাহরণস্বরূপ:
105
+
86
106
  ```bash packageManager="npm"
87
107
  npm install intlayer angular-intlayer
88
108
  npm install @angular-builders/custom-esbuild --save-dev
89
- npx intlayer init
90
109
  ```
91
110
 
92
111
  ```bash packageManager="pnpm"
93
112
  pnpm add intlayer angular-intlayer
94
113
  pnpm add @angular-builders/custom-esbuild --save-dev
95
- pnpm intlayer init
96
114
  ```
97
115
 
98
116
  ```bash packageManager="yarn"
99
117
  yarn add intlayer angular-intlayer
100
118
  yarn add @angular-builders/custom-esbuild --save-dev
101
- yarn intlayer init
102
119
  ```
103
120
 
104
121
  ```bash packageManager="bun"
105
122
  bun add intlayer angular-intlayer
106
123
  bun add @angular-builders/custom-esbuild --dev
107
- bun x intlayer init
108
124
  ```
109
125
 
110
126
  - **intlayer**
@@ -61,27 +61,39 @@ GitHub-এ [অ্যাপ্লিকেশন টেমপ্লেট](https
61
61
  `fastify-intlayer` ব্যবহার শুরু করতে, npm ব্যবহার করে প্যাকেজটি ইনস্টল করুন:
62
62
 
63
63
  ```bash packageManager="npm"
64
- npm install intlayer fastify-intlayer
65
- npx intlayer init
64
+ npx intlayer-cli init --interactive
65
+ ```
66
+
67
+ ```bash packageManager="pnpm"
68
+ pnpm dlx intlayer-cli init --interactive
69
+ ```
70
+
71
+ ```bash packageManager="yarn"
72
+ yarn dlx intlayer-cli init --interactive
73
+ ```
74
+
75
+ ```bash packageManager="bun"
76
+ bunx intlayer-cli init --interactive
77
+ ```
78
+
79
+ > `--interactive` ফ্ল্যাগটি ঐচ্ছিক। আপনি যদি একজন AI এজেন্ট হন তবে `intlayer-cli init` ব্যবহার করুন।
66
80
 
81
+ > এই কমান্ডটি আপনার এনভায়রনমেন্ট সনাক্ত করবে এবং প্রয়োজনীয় প্যাকেজগুলি ইনস্টল করবে। উদাহরণস্বরূপ:
82
+
83
+ ```bash packageManager="npm"
84
+ npm install intlayer fastify-intlayer
67
85
  ```
68
86
 
69
87
  ```bash packageManager="pnpm"
70
88
  pnpm add intlayer fastify-intlayer
71
- pnpm intlayer init
72
-
73
89
  ```
74
90
 
75
91
  ```bash packageManager="yarn"
76
92
  yarn add intlayer fastify-intlayer
77
- yarn intlayer init
78
-
79
93
  ```
80
94
 
81
95
  ```bash packageManager="bun"
82
96
  bun add intlayer fastify-intlayer
83
- bun x intlayer init
84
-
85
97
  ```
86
98
 
87
99
  ### কনফিগারেশন
@@ -62,24 +62,40 @@ GitHub-এ [Application Template](https://github.com/aymericzip/intlayer-hono-te
62
62
 
63
63
  `hono-intlayer` ব্যবহার শুরু করতে, npm ব্যবহার করে প্যাকেজটি ইনস্টল করুন:
64
64
 
65
+ ```bash packageManager="npm"
66
+ npx intlayer-cli init --interactive
67
+ ```
68
+
69
+ ```bash packageManager="pnpm"
70
+ pnpm dlx intlayer-cli init --interactive
71
+ ```
72
+
73
+ ```bash packageManager="yarn"
74
+ yarn dlx intlayer-cli init --interactive
75
+ ```
76
+
77
+ ```bash packageManager="bun"
78
+ bunx intlayer-cli init --interactive
79
+ ```
80
+
81
+ > `--interactive` ফ্ল্যাগটি ঐচ্ছিক। আপনি যদি একজন AI এজেন্ট হন তবে `intlayer-cli init` ব্যবহার করুন।
82
+
83
+ > এই কমান্ডটি আপনার এনভায়রনমেন্ট সনাক্ত করবে এবং প্রয়োজনীয় প্যাকেজগুলি ইনস্টল করবে। উদাহরণস্বরূপ:
84
+
65
85
  ```bash packageManager="npm"
66
86
  npm install intlayer hono-intlayer
67
- npx intlayer init
68
87
  ```
69
88
 
70
89
  ```bash packageManager="pnpm"
71
90
  pnpm add intlayer hono-intlayer
72
- pnpm intlayer init
73
91
  ```
74
92
 
75
93
  ```bash packageManager="yarn"
76
94
  yarn add intlayer hono-intlayer
77
- yarn intlayer init
78
95
  ```
79
96
 
80
97
  ```bash packageManager="bun"
81
98
  bun add intlayer hono-intlayer
82
- bun x intlayer init
83
99
  ```
84
100
 
85
101
  ### সেটআপ (Setup)