@intlayer/docs 8.1.1 → 8.1.5

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 (251) hide show
  1. package/blog/ar/vue-i18n_vs_intlayer.md +1 -1
  2. package/blog/de/per-component_vs_centralized_i18n.md +1 -1
  3. package/blog/de/vue-i18n_vs_intlayer.md +1 -1
  4. package/blog/en/__per-component_vs_centralized_i18n.md +1 -1
  5. package/blog/en/per-component_vs_centralized_i18n.md +1 -1
  6. package/blog/en/vue-i18n_vs_intlayer.md +1 -1
  7. package/blog/en-GB/per-component_vs_centralized_i18n.md +1 -1
  8. package/blog/en-GB/vue-i18n_vs_intlayer.md +1 -1
  9. package/blog/es/per-component_vs_centralized_i18n.md +1 -1
  10. package/blog/es/vue-i18n_vs_intlayer.md +1 -1
  11. package/blog/fr/per-component_vs_centralized_i18n.md +1 -1
  12. package/blog/fr/vue-i18n_vs_intlayer.md +1 -1
  13. package/blog/hi/vue-i18n_vs_intlayer.md +1 -1
  14. package/blog/id/vue-i18n_vs_intlayer.md +1 -1
  15. package/blog/it/vue-i18n_vs_intlayer.md +1 -1
  16. package/blog/ja/vue-i18n_vs_intlayer.md +1 -1
  17. package/blog/ko/vue-i18n_vs_intlayer.md +1 -1
  18. package/blog/pl/vue-i18n_vs_intlayer.md +1 -1
  19. package/blog/pt/per-component_vs_centralized_i18n.md +1 -1
  20. package/blog/pt/vue-i18n_vs_intlayer.md +1 -1
  21. package/blog/ru/vue-i18n_vs_intlayer.md +1 -1
  22. package/blog/tr/vue-i18n_vs_intlayer.md +1 -1
  23. package/blog/uk/vue-i18n_vs_intlayer.md +1 -1
  24. package/blog/vi/vue-i18n_vs_intlayer.md +1 -1
  25. package/blog/zh/vue-i18n_vs_intlayer.md +1 -1
  26. package/dist/cjs/blog.cjs +1 -21
  27. package/dist/cjs/blog.cjs.map +1 -1
  28. package/dist/cjs/common.cjs +1 -77
  29. package/dist/cjs/common.cjs.map +1 -1
  30. package/dist/cjs/doc.cjs +1 -21
  31. package/dist/cjs/doc.cjs.map +1 -1
  32. package/dist/cjs/frequentQuestions.cjs +1 -21
  33. package/dist/cjs/frequentQuestions.cjs.map +1 -1
  34. package/dist/cjs/generated/blog.entry.cjs +1 -551
  35. package/dist/cjs/generated/blog.entry.cjs.map +1 -1
  36. package/dist/cjs/generated/docs.entry.cjs +1 -3071
  37. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  38. package/dist/cjs/generated/frequentQuestions.entry.cjs +1 -351
  39. package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
  40. package/dist/cjs/generated/legal.entry.cjs +1 -71
  41. package/dist/cjs/generated/legal.entry.cjs.map +1 -1
  42. package/dist/cjs/index.cjs +1 -34
  43. package/dist/cjs/legal.cjs +1 -21
  44. package/dist/cjs/legal.cjs.map +1 -1
  45. package/dist/esm/blog.mjs +1 -14
  46. package/dist/esm/blog.mjs.map +1 -1
  47. package/dist/esm/common.mjs +1 -66
  48. package/dist/esm/common.mjs.map +1 -1
  49. package/dist/esm/doc.mjs +1 -14
  50. package/dist/esm/doc.mjs.map +1 -1
  51. package/dist/esm/frequentQuestions.mjs +1 -14
  52. package/dist/esm/frequentQuestions.mjs.map +1 -1
  53. package/dist/esm/generated/blog.entry.mjs +1 -550
  54. package/dist/esm/generated/blog.entry.mjs.map +1 -1
  55. package/dist/esm/generated/docs.entry.mjs +1 -3070
  56. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  57. package/dist/esm/generated/frequentQuestions.entry.mjs +1 -350
  58. package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
  59. package/dist/esm/generated/legal.entry.mjs +1 -70
  60. package/dist/esm/generated/legal.entry.mjs.map +1 -1
  61. package/dist/esm/index.mjs +1 -6
  62. package/dist/esm/legal.mjs +1 -14
  63. package/dist/esm/legal.mjs.map +1 -1
  64. package/dist/types/common.d.ts.map +1 -1
  65. package/dist/types/generated/docs.entry.d.ts +0 -5
  66. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  67. package/docs/ar/agent_skills.md +7 -1
  68. package/docs/ar/cli/build.md +8 -0
  69. package/docs/ar/cli/index.md +1 -1
  70. package/docs/ar/compiler.md +1 -1
  71. package/docs/ar/configuration.md +34 -17
  72. package/docs/de/agent_skills.md +7 -1
  73. package/docs/de/cli/build.md +8 -0
  74. package/docs/de/cli/index.md +1 -1
  75. package/docs/de/compiler.md +1 -1
  76. package/docs/de/configuration.md +34 -17
  77. package/docs/en/agent_skills.md +7 -1
  78. package/docs/en/cli/build.md +8 -0
  79. package/docs/en/compiler.md +1 -1
  80. package/docs/en/configuration.md +79 -11
  81. package/docs/en-GB/agent_skills.md +7 -1
  82. package/docs/en-GB/cli/build.md +8 -0
  83. package/docs/en-GB/cli/index.md +1 -1
  84. package/docs/en-GB/compiler.md +1 -1
  85. package/docs/en-GB/configuration.md +34 -17
  86. package/docs/es/agent_skills.md +7 -1
  87. package/docs/es/cli/build.md +8 -0
  88. package/docs/es/cli/index.md +1 -1
  89. package/docs/es/compiler.md +1 -1
  90. package/docs/es/configuration.md +34 -17
  91. package/docs/fr/agent_skills.md +7 -1
  92. package/docs/fr/cli/build.md +8 -0
  93. package/docs/fr/cli/index.md +1 -1
  94. package/docs/fr/compiler.md +1 -1
  95. package/docs/fr/configuration.md +34 -17
  96. package/docs/hi/agent_skills.md +7 -1
  97. package/docs/hi/cli/build.md +8 -0
  98. package/docs/hi/cli/index.md +1 -1
  99. package/docs/hi/compiler.md +1 -1
  100. package/docs/hi/configuration.md +34 -17
  101. package/docs/id/agent_skills.md +7 -1
  102. package/docs/id/cli/build.md +8 -0
  103. package/docs/id/cli/index.md +1 -1
  104. package/docs/id/compiler.md +1 -1
  105. package/docs/id/configuration.md +34 -17
  106. package/docs/it/agent_skills.md +7 -1
  107. package/docs/it/cli/build.md +8 -0
  108. package/docs/it/cli/index.md +1 -1
  109. package/docs/it/compiler.md +1 -1
  110. package/docs/it/configuration.md +34 -17
  111. package/docs/ja/agent_skills.md +7 -1
  112. package/docs/ja/cli/build.md +8 -0
  113. package/docs/ja/cli/index.md +1 -1
  114. package/docs/ja/compiler.md +1 -1
  115. package/docs/ja/configuration.md +34 -17
  116. package/docs/ko/agent_skills.md +7 -1
  117. package/docs/ko/cli/build.md +8 -0
  118. package/docs/ko/cli/index.md +1 -1
  119. package/docs/ko/compiler.md +1 -1
  120. package/docs/ko/configuration.md +34 -17
  121. package/docs/pl/agent_skills.md +7 -1
  122. package/docs/pl/cli/build.md +8 -0
  123. package/docs/pl/cli/index.md +1 -1
  124. package/docs/pl/compiler.md +1 -1
  125. package/docs/pl/configuration.md +34 -17
  126. package/docs/pt/agent_skills.md +7 -1
  127. package/docs/pt/cli/build.md +8 -0
  128. package/docs/pt/cli/index.md +1 -1
  129. package/docs/pt/compiler.md +1 -1
  130. package/docs/pt/configuration.md +34 -17
  131. package/docs/ru/agent_skills.md +7 -1
  132. package/docs/ru/cli/build.md +8 -0
  133. package/docs/ru/cli/index.md +1 -1
  134. package/docs/ru/compiler.md +1 -1
  135. package/docs/ru/configuration.md +34 -17
  136. package/docs/tr/agent_skills.md +7 -1
  137. package/docs/tr/cli/build.md +8 -0
  138. package/docs/tr/cli/index.md +1 -1
  139. package/docs/tr/compiler.md +1 -1
  140. package/docs/tr/configuration.md +34 -17
  141. package/docs/uk/agent_skills.md +7 -1
  142. package/docs/uk/cli/build.md +8 -0
  143. package/docs/uk/cli/index.md +1 -1
  144. package/docs/uk/compiler.md +1 -1
  145. package/docs/uk/configuration.md +52 -6
  146. package/docs/vi/agent_skills.md +7 -1
  147. package/docs/vi/cli/build.md +8 -0
  148. package/docs/vi/cli/index.md +1 -1
  149. package/docs/vi/compiler.md +1 -1
  150. package/docs/vi/configuration.md +34 -17
  151. package/docs/zh/agent_skills.md +7 -1
  152. package/docs/zh/cli/build.md +8 -0
  153. package/docs/zh/cli/index.md +1 -1
  154. package/docs/zh/compiler.md +1 -1
  155. package/docs/zh/configuration.md +34 -17
  156. package/package.json +11 -12
  157. package/src/common.ts +2 -1
  158. package/src/generated/blog.entry.ts +1 -1
  159. package/src/generated/docs.entry.ts +1 -101
  160. package/src/generated/frequentQuestions.entry.ts +1 -1
  161. package/src/generated/legal.entry.ts +1 -1
  162. package/docs/ar/packages/angular-intlayer.md +0 -50
  163. package/docs/ar/packages/astro-intlayer.md +0 -40
  164. package/docs/ar/packages/intlayer-cli.md +0 -46
  165. package/docs/ar/packages/next-intlayer.md +0 -70
  166. package/docs/ar/packages/vue-intlayer.md +0 -59
  167. package/docs/de/packages/angular-intlayer.md +0 -50
  168. package/docs/de/packages/astro-intlayer.md +0 -37
  169. package/docs/de/packages/intlayer-cli.md +0 -46
  170. package/docs/de/packages/next-intlayer.md +0 -70
  171. package/docs/de/packages/vue-intlayer.md +0 -59
  172. package/docs/en/packages/angular-intlayer.md +0 -50
  173. package/docs/en/packages/astro-intlayer.md +0 -37
  174. package/docs/en/packages/intlayer-cli.md +0 -46
  175. package/docs/en/packages/next-intlayer.md +0 -70
  176. package/docs/en/packages/vue-intlayer.md +0 -59
  177. package/docs/en-GB/packages/angular-intlayer.md +0 -50
  178. package/docs/en-GB/packages/astro-intlayer.md +0 -37
  179. package/docs/en-GB/packages/intlayer-cli.md +0 -46
  180. package/docs/en-GB/packages/next-intlayer.md +0 -70
  181. package/docs/en-GB/packages/vue-intlayer.md +0 -59
  182. package/docs/es/packages/angular-intlayer.md +0 -50
  183. package/docs/es/packages/astro-intlayer.md +0 -37
  184. package/docs/es/packages/intlayer-cli.md +0 -46
  185. package/docs/es/packages/next-intlayer.md +0 -70
  186. package/docs/es/packages/vue-intlayer.md +0 -59
  187. package/docs/fr/packages/angular-intlayer.md +0 -50
  188. package/docs/fr/packages/astro-intlayer.md +0 -37
  189. package/docs/fr/packages/intlayer-cli.md +0 -46
  190. package/docs/fr/packages/next-intlayer.md +0 -70
  191. package/docs/fr/packages/vue-intlayer.md +0 -59
  192. package/docs/hi/packages/angular-intlayer.md +0 -50
  193. package/docs/hi/packages/astro-intlayer.md +0 -37
  194. package/docs/hi/packages/intlayer-cli.md +0 -46
  195. package/docs/hi/packages/next-intlayer.md +0 -70
  196. package/docs/hi/packages/vue-intlayer.md +0 -60
  197. package/docs/id/packages/angular-intlayer.md +0 -50
  198. package/docs/id/packages/astro-intlayer.md +0 -37
  199. package/docs/id/packages/intlayer-cli.md +0 -46
  200. package/docs/id/packages/next-intlayer.md +0 -70
  201. package/docs/id/packages/vue-intlayer.md +0 -59
  202. package/docs/it/packages/angular-intlayer.md +0 -50
  203. package/docs/it/packages/astro-intlayer.md +0 -37
  204. package/docs/it/packages/intlayer-cli.md +0 -46
  205. package/docs/it/packages/next-intlayer.md +0 -70
  206. package/docs/it/packages/vue-intlayer.md +0 -59
  207. package/docs/ja/packages/angular-intlayer.md +0 -50
  208. package/docs/ja/packages/astro-intlayer.md +0 -37
  209. package/docs/ja/packages/intlayer-cli.md +0 -46
  210. package/docs/ja/packages/next-intlayer.md +0 -70
  211. package/docs/ja/packages/vue-intlayer.md +0 -59
  212. package/docs/ko/packages/angular-intlayer.md +0 -50
  213. package/docs/ko/packages/astro-intlayer.md +0 -37
  214. package/docs/ko/packages/intlayer-cli.md +0 -46
  215. package/docs/ko/packages/next-intlayer.md +0 -70
  216. package/docs/ko/packages/vue-intlayer.md +0 -59
  217. package/docs/pl/packages/angular-intlayer.md +0 -50
  218. package/docs/pl/packages/astro-intlayer.md +0 -37
  219. package/docs/pl/packages/intlayer-cli.md +0 -46
  220. package/docs/pl/packages/next-intlayer.md +0 -70
  221. package/docs/pl/packages/vue-intlayer.md +0 -59
  222. package/docs/pt/packages/angular-intlayer.md +0 -50
  223. package/docs/pt/packages/astro-intlayer.md +0 -37
  224. package/docs/pt/packages/intlayer-cli.md +0 -46
  225. package/docs/pt/packages/next-intlayer.md +0 -70
  226. package/docs/pt/packages/vue-intlayer.md +0 -59
  227. package/docs/ru/packages/angular-intlayer.md +0 -50
  228. package/docs/ru/packages/astro-intlayer.md +0 -37
  229. package/docs/ru/packages/intlayer-cli.md +0 -46
  230. package/docs/ru/packages/next-intlayer.md +0 -70
  231. package/docs/ru/packages/vue-intlayer.md +0 -59
  232. package/docs/tr/packages/angular-intlayer.md +0 -50
  233. package/docs/tr/packages/astro-intlayer.md +0 -37
  234. package/docs/tr/packages/intlayer-cli.md +0 -46
  235. package/docs/tr/packages/next-intlayer.md +0 -70
  236. package/docs/tr/packages/vue-intlayer.md +0 -59
  237. package/docs/uk/packages/angular-intlayer.md +0 -50
  238. package/docs/uk/packages/astro-intlayer.md +0 -37
  239. package/docs/uk/packages/intlayer-cli.md +0 -46
  240. package/docs/uk/packages/next-intlayer.md +0 -70
  241. package/docs/uk/packages/vue-intlayer.md +0 -59
  242. package/docs/vi/packages/angular-intlayer.md +0 -50
  243. package/docs/vi/packages/astro-intlayer.md +0 -37
  244. package/docs/vi/packages/intlayer-cli.md +0 -46
  245. package/docs/vi/packages/next-intlayer.md +0 -70
  246. package/docs/vi/packages/vue-intlayer.md +0 -59
  247. package/docs/zh/packages/angular-intlayer.md +0 -50
  248. package/docs/zh/packages/astro-intlayer.md +0 -37
  249. package/docs/zh/packages/intlayer-cli.md +0 -46
  250. package/docs/zh/packages/next-intlayer.md +0 -70
  251. package/docs/zh/packages/vue-intlayer.md +0 -59
@@ -1,70 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: next-intlayer Package Documentation
5
- description: Next.js-specific integration for Intlayer, providing middleware and providers for App Router and Page Router.
6
- keywords:
7
- - next-intlayer
8
- - nextjs
9
- - react
10
- - internationalization
11
- - i18n
12
- slugs:
13
- - doc
14
- - packages
15
- - next-intlayer
16
- history:
17
- - version: 8.0.0
18
- date: 2026-01-21
19
- changes: Unified documentation for all exports
20
- ---
21
-
22
- # next-intlayer Package
23
-
24
- The `next-intlayer` package provides the necessary tools to integrate Intlayer into Next.js applications. It supports both the App Router and the Page Router, and includes middleware for locale-based routing.
25
-
26
- ## Installation
27
-
28
- ```bash
29
- npm install next-intlayer
30
- ```
31
-
32
- ## Exports
33
-
34
- ### Middleware
35
-
36
- | Function | Description |
37
- | -------------------- | ------------------------------------------------------------------- |
38
- | `intlayerMiddleware` | Next.js middleware that handles locale-based routing and redirects. |
39
-
40
- ### Providers
41
-
42
- | Component | Description |
43
- | ------------------------ | ------------------------------------------------------------ |
44
- | `IntlayerClientProvider` | Provider for client-side components in Next.js applications. |
45
- | `IntlayerServerProvider` | Provider for server-side components in Next.js (App Router). |
46
-
47
- ### Hooks (Client-side)
48
-
49
- Re-exports most hooks from `react-intlayer`.
50
-
51
- | Hook | Description |
52
- | --------------- | --------------------------------------------------------------- |
53
- | `useIntlayer` | Selects a single dictionary by its key and returns its content. |
54
- | `useDictionary` | Selects a single dictionary by its key and returns its content. |
55
- | `useLocale` | Returns the current locale and a function to set it. |
56
- | `useI18n` | Returns the current Intlayer context values. |
57
-
58
- ### Functions (Server-side)
59
-
60
- | Function | Description |
61
- | ---------------------- | --------------------------------------------------------------------------- |
62
- | `t` | Server-side version of the translation function for the Next.js App Router. |
63
- | `generateStaticParams` | Generates static parameters for Next.js dynamic routes. |
64
-
65
- ### Types
66
-
67
- | Type | Description |
68
- | -------------------- | ----------------------------------------------- |
69
- | `NextPageIntlayer` | Type for Next.js pages with Intlayer support. |
70
- | `NextLayoutIntlayer` | Type for Next.js layouts with Intlayer support. |
@@ -1,59 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: vue-intlayer Package Documentation
5
- description: Vue-specific integration for Intlayer, providing plugins and composables for Vue applications.
6
- keywords:
7
- - vue-intlayer
8
- - vue
9
- - internationalization
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - vue-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Unified documentation for all exports
19
- ---
20
-
21
- # vue-intlayer Package
22
-
23
- The `vue-intlayer` package provides the necessary tools to integrate Intlayer into Vue applications. It provides a Vue plugin and composables for managing multilingual content.
24
-
25
- ## Installation
26
-
27
- ```bash
28
- npm install vue-intlayer
29
- ```
30
-
31
- ## Exports
32
-
33
- ### Plugin
34
-
35
- | Function | Description |
36
- | ----------------- | --------------------------------------------------- |
37
- | `installIntlayer` | Vue plugin to install Intlayer in your application. |
38
-
39
- ### Composables
40
-
41
- | Composable | Description |
42
- | --------------- | -------------------------------------------------------- |
43
- | `useIntlayer` | Selects a dictionary by its key and returns its content. |
44
- | `useDictionary` | Selects a dictionary by its key and returns its content. |
45
- | `useLocale` | Returns the current locale and a function to set it. |
46
- | `useIntl` | Returns the Intl object for the current locale. |
47
-
48
- ### Functions
49
-
50
- | Function | Description |
51
- | --------------- | ------------------------------------ |
52
- | `getDictionary` | Retrieves a dictionary. |
53
- | `getIntlayer` | Retrieves content from a dictionary. |
54
-
55
- ### Markdown
56
-
57
- | Function | Description |
58
- | ------------------------- | ------------------------------------------------------------ |
59
- | `installIntlayerMarkdown` | Vue plugin to install Intlayer Markdown in your application. |
@@ -1,50 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentación del paquete angular-intlayer
5
- description: Integración específica de Intlayer para Angular, que proporciona providers y servicios para aplicaciones Angular.
6
- keywords:
7
- - angular-intlayer
8
- - angular
9
- - internacionalización
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - angular-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Documentación unificada para todas las exportaciones
19
- ---
20
-
21
- # Paquete angular-intlayer
22
-
23
- El paquete `angular-intlayer` proporciona las herramientas necesarias para integrar Intlayer en aplicaciones Angular. Incluye providers y servicios para manejar contenido multilingüe.
24
-
25
- ## Instalación
26
-
27
- ```bash
28
- npm install angular-intlayer
29
- ```
30
-
31
- ## Exportaciones
32
-
33
- ### Configuración
34
-
35
- | Función | Descripción |
36
- | ----------------- | ------------------------------------------------------------ |
37
- | `provideIntlayer` | Función para proporcionar Intlayer en su aplicación Angular. |
38
-
39
- ### Servicios
40
-
41
- | Servicio | Descripción |
42
- | ----------------- | ---------------------------------------------------------------------------- |
43
- | `IntlayerService` | Servicio que selecciona un diccionario por su clave y devuelve el contenido. |
44
- | `LocaleService` | Servicio que devuelve el locale actual y una función para establecerlo. |
45
-
46
- ### Componentes
47
-
48
- | Componente | Descripción |
49
- | --------------------------- | ---------------------------------------------------- |
50
- | `IntlayerMarkdownComponent` | Componente Angular que renderiza contenido Markdown. |
@@ -1,37 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentación del paquete astro-intlayer
5
- description: Integración de Astro para Intlayer, que configura el enrutamiento basado en locales y la gestión de diccionarios.
6
- keywords:
7
- - astro-intlayer
8
- - astro
9
- - internationalization
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - astro-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Documentación unificada para todas las exportaciones
19
- ---
20
-
21
- # Paquete astro-intlayer
22
-
23
- El paquete `astro-intlayer` proporciona las herramientas necesarias para integrar Intlayer en aplicaciones Astro. Configura el enrutamiento basado en locales y la gestión de diccionarios.
24
-
25
- ## Instalación
26
-
27
- ```bash
28
- npm install astro-intlayer
29
- ```
30
-
31
- ## Exportaciones
32
-
33
- ### Integración
34
-
35
- | Function | Descripción |
36
- | ---------- | ----------------------------------------------------------- |
37
- | `intlayer` | Integración de Astro que configura Intlayer en su proyecto. |
@@ -1,46 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentación del paquete intlayer-cli
5
- description: Herramienta CLI para Intlayer, que proporciona comandos para compilar y auditar diccionarios.
6
- keywords:
7
- - intlayer-cli
8
- - cli
9
- - tools
10
- - internationalization
11
- - i18n
12
- slugs:
13
- - doc
14
- - packages
15
- - intlayer-cli
16
- history:
17
- - version: 8.0.0
18
- date: 2026-01-21
19
- changes: Documentación unificada para todas las exportaciones
20
- ---
21
-
22
- # Paquete intlayer-cli
23
-
24
- El paquete `intlayer-cli` proporciona un conjunto de comandos para gestionar diccionarios y la configuración de Intlayer.
25
-
26
- ## Instalación
27
-
28
- ```bash
29
- npm install intlayer-cli
30
- ```
31
-
32
- ## Exportaciones
33
-
34
- ### Comandos CLI (Funciones)
35
-
36
- El paquete exporta funciones que respaldan los comandos CLI.
37
-
38
- | Función | Descripción |
39
- | ---------- | ----------------------------------------------------------- |
40
- | `build` | Construye los diccionarios de Intlayer. |
41
- | `audit` | Audita los diccionarios en busca de traducciones faltantes. |
42
- | `liveSync` | Sincroniza los diccionarios en tiempo real. |
43
- | `pull` | Descarga los diccionarios desde una fuente remota. |
44
- | `push` | Sube los diccionarios a una fuente remota. |
45
- | `test` | Ejecuta pruebas en los diccionarios. |
46
- | `extract` | Transforma los diccionarios entre formatos. |
@@ -1,70 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentación del paquete next-intlayer
5
- description: Integración específica para Next.js de Intlayer, que proporciona middleware y providers para App Router y Page Router.
6
- keywords:
7
- - next-intlayer
8
- - nextjs
9
- - react
10
- - internationalization
11
- - i18n
12
- slugs:
13
- - doc
14
- - packages
15
- - next-intlayer
16
- history:
17
- - version: 8.0.0
18
- date: 2026-01-21
19
- changes: Documentación unificada para todas las exportaciones
20
- ---
21
-
22
- # Paquete next-intlayer
23
-
24
- El paquete `next-intlayer` proporciona las herramientas necesarias para integrar Intlayer en aplicaciones Next.js. Soporta tanto el App Router como el Page Router, incluyendo middleware para el enrutamiento basado en locale.
25
-
26
- ## Instalación
27
-
28
- ```bash
29
- npm install next-intlayer
30
- ```
31
-
32
- ## Exportaciones
33
-
34
- ### Middleware
35
-
36
- | Función | Descripción |
37
- | -------------------- | ------------------------------------------------------------------------------------ |
38
- | `intlayerMiddleware` | Middleware de Next.js para manejar el enrutamiento basado en locale y redirecciones. |
39
-
40
- ### Proveedores
41
-
42
- | Componente | Descripción |
43
- | ------------------------ | ------------------------------------------------------------------------- |
44
- | `IntlayerClientProvider` | Proveedor para componentes del lado del cliente en Next.js. |
45
- | `IntlayerServerProvider` | Proveedor para componentes del lado del servidor en Next.js (App Router). |
46
-
47
- ### Hooks (lado del cliente)
48
-
49
- Reexporta la mayoría de los hooks desde `react-intlayer`.
50
-
51
- | Hook | Description |
52
- | --------------- | --------------------------------------------------------------- |
53
- | `useIntlayer` | Selecciona un diccionario por su clave y devuelve su contenido. |
54
- | `useDictionary` | Selecciona un diccionario por su clave y devuelve su contenido. |
55
- | `useLocale` | Devuelve la locale actual y una función para establecerla. |
56
- | `useI18n` | Devuelve los valores actuales del contexto de Intlayer. |
57
-
58
- ### Functions (lado del servidor)
59
-
60
- | Function | Description |
61
- | ---------------------- | ---------------------------------------------------------------------------------- |
62
- | `t` | Versión del lado del servidor de la función de traducción para Next.js App Router. |
63
- | `generateStaticParams` | Genera parámetros estáticos para las rutas dinámicas de Next.js. |
64
-
65
- ### Tipos
66
-
67
- | Tipo | Descripción |
68
- | -------------------- | ----------------------------------------------------- |
69
- | `NextPageIntlayer` | Tipo para páginas de Next.js con soporte de Intlayer. |
70
- | `NextLayoutIntlayer` | Tipo para layouts de Next.js con soporte de Intlayer. |
@@ -1,59 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentación del paquete vue-intlayer
5
- description: Integración específica para Vue de Intlayer, proporcionando plugins y composables para aplicaciones Vue.
6
- keywords:
7
- - vue-intlayer
8
- - vue
9
- - internacionalización
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - vue-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Documentación unificada para todas las exportaciones
19
- ---
20
-
21
- # Paquete vue-intlayer
22
-
23
- El paquete `vue-intlayer` proporciona las herramientas necesarias para integrar Intlayer en aplicaciones Vue. Incluye un plugin de Vue y composables para manejar contenido multilingüe.
24
-
25
- ## Instalación
26
-
27
- ```bash
28
- npm install vue-intlayer
29
- ```
30
-
31
- ## Exportaciones
32
-
33
- ### Plugin
34
-
35
- | Función | Descripción |
36
- | ----------------- | ------------------------------------------------------ |
37
- | `installIntlayer` | Plugin de Vue para instalar Intlayer en tu aplicación. |
38
-
39
- ### Composables
40
-
41
- | Composable | Descripción |
42
- | --------------- | --------------------------------------------------------------- |
43
- | `useIntlayer` | Selecciona un diccionario por su clave y devuelve el contenido. |
44
- | `useDictionary` | Selecciona un diccionario por su clave y devuelve el contenido. |
45
- | `useLocale` | Devuelve la locale actual y una función para establecerla. |
46
- | `useIntl` | Devuelve el objeto Intl para la locale actual. |
47
-
48
- ### Funciones
49
-
50
- | Función | Descripción |
51
- | --------------- | ------------------------------------- |
52
- | `getDictionary` | Recupera un diccionario. |
53
- | `getIntlayer` | Recupera contenido de un diccionario. |
54
-
55
- ### Markdown
56
-
57
- | Función | Descripción |
58
- | ------------------------- | --------------------------------------------------------------- |
59
- | `installIntlayerMarkdown` | Plugin de Vue para instalar Intlayer Markdown en tu aplicación. |
@@ -1,50 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentation du package angular-intlayer
5
- description: Intégration spécifique à Angular pour Intlayer, fournissant des providers et des services pour les applications Angular.
6
- keywords:
7
- - angular-intlayer
8
- - angular
9
- - internationalisation
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - angular-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Documentation unifiée pour toutes les exportations
19
- ---
20
-
21
- # Package angular-intlayer
22
-
23
- Le package `angular-intlayer` fournit les outils nécessaires pour intégrer Intlayer dans les applications Angular. Il inclut des providers et des services pour gérer le contenu multilingue.
24
-
25
- ## Installation
26
-
27
- ```bash
28
- npm install angular-intlayer
29
- ```
30
-
31
- ## Exports
32
-
33
- ### Configuration
34
-
35
- | Fonction | Description |
36
- | ----------------- | -------------------------------------------------------------- |
37
- | `provideIntlayer` | Fonction pour fournir Intlayer dans votre application Angular. |
38
-
39
- ### Services
40
-
41
- | Service | Description |
42
- | ----------------- | ------------------------------------------------------------------------- |
43
- | `IntlayerService` | Service qui sélectionne un dictionnaire par sa clé et renvoie le contenu. |
44
- | `LocaleService` | Service qui renvoie la locale courante et une fonction pour la définir. |
45
-
46
- ### Composants
47
-
48
- | Composant | Description |
49
- | --------------------------- | -------------------------------------------------- |
50
- | `IntlayerMarkdownComponent` | Composant Angular qui affiche du contenu Markdown. |
@@ -1,37 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentation du package astro-intlayer
5
- description: Intégration Astro pour Intlayer, fournissant la configuration du routage basé sur la locale et la gestion des dictionnaires.
6
- keywords:
7
- - astro-intlayer
8
- - astro
9
- - internationalisation
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - astro-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Documentation unifiée pour tous les exports
19
- ---
20
-
21
- # Package astro-intlayer
22
-
23
- Le package `astro-intlayer` fournit les outils nécessaires pour intégrer Intlayer dans des applications Astro. Il configure le routage basé sur la locale et la gestion des dictionnaires.
24
-
25
- ## Installation
26
-
27
- ```bash
28
- npm install astro-intlayer
29
- ```
30
-
31
- ## Exports
32
-
33
- ### Intégration
34
-
35
- | Fonction | Description |
36
- | ---------- | ----------------------------------------------------------- |
37
- | `intlayer` | Intégration Astro qui configure Intlayer dans votre projet. |
@@ -1,46 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentation du package intlayer-cli
5
- description: Outil CLI pour Intlayer, fournissant des commandes pour construire et auditer les dictionnaires.
6
- keywords:
7
- - intlayer-cli
8
- - cli
9
- - outils
10
- - internationalisation
11
- - i18n
12
- slugs:
13
- - doc
14
- - packages
15
- - intlayer-cli
16
- history:
17
- - version: 8.0.0
18
- date: 2026-01-21
19
- changes: Documentation unifiée pour tous les exports
20
- ---
21
-
22
- # Package intlayer-cli
23
-
24
- Le package `intlayer-cli` fournit un ensemble de commandes pour gérer les dictionnaires et la configuration d'Intlayer.
25
-
26
- ## Installation
27
-
28
- ```bash
29
- npm install intlayer-cli
30
- ```
31
-
32
- ## Exports
33
-
34
- ### Commandes CLI (fonctions)
35
-
36
- Le package exporte des fonctions qui alimentent les commandes CLI.
37
-
38
- | Fonction | Description |
39
- | ---------- | ------------------------------------------------------------------ |
40
- | `build` | Construit les dictionnaires Intlayer. |
41
- | `audit` | Audite les dictionnaires pour détecter les traductions manquantes. |
42
- | `liveSync` | Synchronise les dictionnaires en temps réel. |
43
- | `pull` | Récupère les dictionnaires depuis une source distante. |
44
- | `push` | Envoie les dictionnaires vers une source distante. |
45
- | `test` | Exécute des tests sur les dictionnaires. |
46
- | `extract` | Transforme les dictionnaires entre différents formats. |
@@ -1,70 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentation du package next-intlayer
5
- description: Intégration spécifique à Next.js pour Intlayer, fournissant un middleware et des providers pour l'App Router et le Page Router.
6
- keywords:
7
- - next-intlayer
8
- - nextjs
9
- - react
10
- - internationalisation
11
- - i18n
12
- slugs:
13
- - doc
14
- - packages
15
- - next-intlayer
16
- history:
17
- - version: 8.0.0
18
- date: 2026-01-21
19
- changes: Documentation unifiée pour toutes les exportations
20
- ---
21
-
22
- # Package next-intlayer
23
-
24
- Le package `next-intlayer` fournit les outils nécessaires pour intégrer Intlayer dans les applications Next.js. Il prend en charge à la fois l'App Router et le Page Router, y compris un middleware pour le routage basé sur la locale.
25
-
26
- ## Installation
27
-
28
- ```bash
29
- npm install next-intlayer
30
- ```
31
-
32
- ## Exportations
33
-
34
- ### Middleware
35
-
36
- | Function | Description |
37
- | -------------------- | --------------------------------------------------------------------------------- |
38
- | `intlayerMiddleware` | Middleware Next.js pour gérer le routage et les redirections basés sur la locale. |
39
-
40
- ### Fournisseurs
41
-
42
- | Composant | Description |
43
- | ------------------------ | ----------------------------------------------------------------------- |
44
- | `IntlayerClientProvider` | Fournisseur pour les composants côté client dans Next.js. |
45
- | `IntlayerServerProvider` | Fournisseur pour les composants côté serveur dans Next.js (App Router). |
46
-
47
- ### Hooks (côté client)
48
-
49
- Réexporte la plupart des hooks de `react-intlayer`.
50
-
51
- | Hook | Description |
52
- | --------------- | -------------------------------------------------------------- |
53
- | `useIntlayer` | Sélectionne un dictionnaire par sa clé et renvoie son contenu. |
54
- | `useDictionary` | Sélectionne un dictionnaire par sa clé et renvoie son contenu. |
55
- | `useLocale` | Renvoie la locale actuelle et une fonction pour la définir. |
56
- | `useI18n` | Renvoie les valeurs du contexte Intlayer actuel. |
57
-
58
- ### Fonctions (côté serveur)
59
-
60
- | Function | Description |
61
- | ---------------------- | -------------------------------------------------------------------------- |
62
- | `t` | Version côté serveur de la fonction de traduction pour Next.js App Router. |
63
- | `generateStaticParams` | Génère des paramètres statiques pour les routes dynamiques de Next.js. |
64
-
65
- ### Types
66
-
67
- | Type | Description |
68
- | -------------------- | -------------------------------------------------------------- |
69
- | `NextPageIntlayer` | Type pour les pages Next.js avec prise en charge d'Intlayer. |
70
- | `NextLayoutIntlayer` | Type pour les layouts Next.js avec prise en charge d'Intlayer. |
@@ -1,59 +0,0 @@
1
- ---
2
- createdAt: 2026-01-21
3
- updatedAt: 2026-01-21
4
- title: Documentation du package vue-intlayer
5
- description: Intégration spécifique à Vue pour Intlayer, fournissant des plugins et des composables pour les applications Vue.
6
- keywords:
7
- - vue-intlayer
8
- - vue
9
- - internationalisation
10
- - i18n
11
- slugs:
12
- - doc
13
- - packages
14
- - vue-intlayer
15
- history:
16
- - version: 8.0.0
17
- date: 2026-01-21
18
- changes: Documentation unifiée pour tous les exports
19
- ---
20
-
21
- # Package vue-intlayer
22
-
23
- Le package `vue-intlayer` fournit les outils nécessaires pour intégrer Intlayer dans des applications Vue. Il inclut un plugin Vue et des composables pour gérer le contenu multilingue.
24
-
25
- ## Installation
26
-
27
- ```bash
28
- npm install vue-intlayer
29
- ```
30
-
31
- ## Exports
32
-
33
- ### Plugin
34
-
35
- | Fonction | Description |
36
- | ----------------- | ---------------------------------------------------------- |
37
- | `installIntlayer` | Plugin Vue pour installer Intlayer dans votre application. |
38
-
39
- ### Composables
40
-
41
- | Composable | Description |
42
- | --------------- | ------------------------------------------------------------- |
43
- | `useIntlayer` | Sélectionne un dictionnaire par sa clé et renvoie le contenu. |
44
- | `useDictionary` | Sélectionne un dictionnaire par sa clé et renvoie le contenu. |
45
- | `useLocale` | Renvoie la locale courante et une fonction pour la définir. |
46
- | `useIntl` | Renvoie l'objet Intl pour la locale courante. |
47
-
48
- ### Fonctions
49
-
50
- | Function | Description |
51
- | --------------- | -------------------------------------- |
52
- | `getDictionary` | Récupère un dictionnaire. |
53
- | `getIntlayer` | Récupère le contenu d'un dictionnaire. |
54
-
55
- ### Markdown
56
-
57
- | Fonction | Description |
58
- | ------------------------- | ------------------------------------------------------------------- |
59
- | `installIntlayerMarkdown` | Plugin Vue pour installer Intlayer Markdown dans votre application. |