@intlayer/docs 8.1.1 → 8.1.2
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.
- package/blog/ar/vue-i18n_vs_intlayer.md +1 -1
- package/blog/de/vue-i18n_vs_intlayer.md +1 -1
- package/blog/en/vue-i18n_vs_intlayer.md +1 -1
- package/blog/en-GB/vue-i18n_vs_intlayer.md +1 -1
- package/blog/es/vue-i18n_vs_intlayer.md +1 -1
- package/blog/fr/vue-i18n_vs_intlayer.md +1 -1
- package/blog/hi/vue-i18n_vs_intlayer.md +1 -1
- package/blog/id/vue-i18n_vs_intlayer.md +1 -1
- package/blog/it/vue-i18n_vs_intlayer.md +1 -1
- package/blog/ja/vue-i18n_vs_intlayer.md +1 -1
- package/blog/ko/vue-i18n_vs_intlayer.md +1 -1
- package/blog/pl/vue-i18n_vs_intlayer.md +1 -1
- package/blog/pt/vue-i18n_vs_intlayer.md +1 -1
- package/blog/ru/vue-i18n_vs_intlayer.md +1 -1
- package/blog/tr/vue-i18n_vs_intlayer.md +1 -1
- package/blog/uk/vue-i18n_vs_intlayer.md +1 -1
- package/blog/vi/vue-i18n_vs_intlayer.md +1 -1
- package/blog/zh/vue-i18n_vs_intlayer.md +1 -1
- package/dist/cjs/generated/docs.entry.cjs +0 -100
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +0 -100
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +0 -5
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/agent_skills.md +6 -0
- package/docs/de/agent_skills.md +6 -0
- package/docs/en/agent_skills.md +6 -0
- package/docs/en-GB/agent_skills.md +6 -0
- package/docs/es/agent_skills.md +6 -0
- package/docs/fr/agent_skills.md +6 -0
- package/docs/hi/agent_skills.md +6 -0
- package/docs/id/agent_skills.md +6 -0
- package/docs/it/agent_skills.md +6 -0
- package/docs/ja/agent_skills.md +6 -0
- package/docs/ko/agent_skills.md +6 -0
- package/docs/pl/agent_skills.md +6 -0
- package/docs/pt/agent_skills.md +6 -0
- package/docs/ru/agent_skills.md +6 -0
- package/docs/tr/agent_skills.md +6 -0
- package/docs/uk/agent_skills.md +6 -0
- package/docs/vi/agent_skills.md +6 -0
- package/docs/zh/agent_skills.md +6 -0
- package/package.json +7 -7
- package/src/generated/docs.entry.ts +0 -100
- package/docs/ar/packages/angular-intlayer.md +0 -50
- package/docs/ar/packages/astro-intlayer.md +0 -40
- package/docs/ar/packages/intlayer-cli.md +0 -46
- package/docs/ar/packages/next-intlayer.md +0 -70
- package/docs/ar/packages/vue-intlayer.md +0 -59
- package/docs/de/packages/angular-intlayer.md +0 -50
- package/docs/de/packages/astro-intlayer.md +0 -37
- package/docs/de/packages/intlayer-cli.md +0 -46
- package/docs/de/packages/next-intlayer.md +0 -70
- package/docs/de/packages/vue-intlayer.md +0 -59
- package/docs/en/packages/angular-intlayer.md +0 -50
- package/docs/en/packages/astro-intlayer.md +0 -37
- package/docs/en/packages/intlayer-cli.md +0 -46
- package/docs/en/packages/next-intlayer.md +0 -70
- package/docs/en/packages/vue-intlayer.md +0 -59
- package/docs/en-GB/packages/angular-intlayer.md +0 -50
- package/docs/en-GB/packages/astro-intlayer.md +0 -37
- package/docs/en-GB/packages/intlayer-cli.md +0 -46
- package/docs/en-GB/packages/next-intlayer.md +0 -70
- package/docs/en-GB/packages/vue-intlayer.md +0 -59
- package/docs/es/packages/angular-intlayer.md +0 -50
- package/docs/es/packages/astro-intlayer.md +0 -37
- package/docs/es/packages/intlayer-cli.md +0 -46
- package/docs/es/packages/next-intlayer.md +0 -70
- package/docs/es/packages/vue-intlayer.md +0 -59
- package/docs/fr/packages/angular-intlayer.md +0 -50
- package/docs/fr/packages/astro-intlayer.md +0 -37
- package/docs/fr/packages/intlayer-cli.md +0 -46
- package/docs/fr/packages/next-intlayer.md +0 -70
- package/docs/fr/packages/vue-intlayer.md +0 -59
- package/docs/hi/packages/angular-intlayer.md +0 -50
- package/docs/hi/packages/astro-intlayer.md +0 -37
- package/docs/hi/packages/intlayer-cli.md +0 -46
- package/docs/hi/packages/next-intlayer.md +0 -70
- package/docs/hi/packages/vue-intlayer.md +0 -60
- package/docs/id/packages/angular-intlayer.md +0 -50
- package/docs/id/packages/astro-intlayer.md +0 -37
- package/docs/id/packages/intlayer-cli.md +0 -46
- package/docs/id/packages/next-intlayer.md +0 -70
- package/docs/id/packages/vue-intlayer.md +0 -59
- package/docs/it/packages/angular-intlayer.md +0 -50
- package/docs/it/packages/astro-intlayer.md +0 -37
- package/docs/it/packages/intlayer-cli.md +0 -46
- package/docs/it/packages/next-intlayer.md +0 -70
- package/docs/it/packages/vue-intlayer.md +0 -59
- package/docs/ja/packages/angular-intlayer.md +0 -50
- package/docs/ja/packages/astro-intlayer.md +0 -37
- package/docs/ja/packages/intlayer-cli.md +0 -46
- package/docs/ja/packages/next-intlayer.md +0 -70
- package/docs/ja/packages/vue-intlayer.md +0 -59
- package/docs/ko/packages/angular-intlayer.md +0 -50
- package/docs/ko/packages/astro-intlayer.md +0 -37
- package/docs/ko/packages/intlayer-cli.md +0 -46
- package/docs/ko/packages/next-intlayer.md +0 -70
- package/docs/ko/packages/vue-intlayer.md +0 -59
- package/docs/pl/packages/angular-intlayer.md +0 -50
- package/docs/pl/packages/astro-intlayer.md +0 -37
- package/docs/pl/packages/intlayer-cli.md +0 -46
- package/docs/pl/packages/next-intlayer.md +0 -70
- package/docs/pl/packages/vue-intlayer.md +0 -59
- package/docs/pt/packages/angular-intlayer.md +0 -50
- package/docs/pt/packages/astro-intlayer.md +0 -37
- package/docs/pt/packages/intlayer-cli.md +0 -46
- package/docs/pt/packages/next-intlayer.md +0 -70
- package/docs/pt/packages/vue-intlayer.md +0 -59
- package/docs/ru/packages/angular-intlayer.md +0 -50
- package/docs/ru/packages/astro-intlayer.md +0 -37
- package/docs/ru/packages/intlayer-cli.md +0 -46
- package/docs/ru/packages/next-intlayer.md +0 -70
- package/docs/ru/packages/vue-intlayer.md +0 -59
- package/docs/tr/packages/angular-intlayer.md +0 -50
- package/docs/tr/packages/astro-intlayer.md +0 -37
- package/docs/tr/packages/intlayer-cli.md +0 -46
- package/docs/tr/packages/next-intlayer.md +0 -70
- package/docs/tr/packages/vue-intlayer.md +0 -59
- package/docs/uk/packages/angular-intlayer.md +0 -50
- package/docs/uk/packages/astro-intlayer.md +0 -37
- package/docs/uk/packages/intlayer-cli.md +0 -46
- package/docs/uk/packages/next-intlayer.md +0 -70
- package/docs/uk/packages/vue-intlayer.md +0 -59
- package/docs/vi/packages/angular-intlayer.md +0 -50
- package/docs/vi/packages/astro-intlayer.md +0 -37
- package/docs/vi/packages/intlayer-cli.md +0 -46
- package/docs/vi/packages/next-intlayer.md +0 -70
- package/docs/vi/packages/vue-intlayer.md +0 -59
- package/docs/zh/packages/angular-intlayer.md +0 -50
- package/docs/zh/packages/astro-intlayer.md +0 -37
- package/docs/zh/packages/intlayer-cli.md +0 -46
- package/docs/zh/packages/next-intlayer.md +0 -70
- package/docs/zh/packages/vue-intlayer.md +0 -59
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
createdAt: 2026-01-21
|
|
3
|
-
updatedAt: 2026-01-21
|
|
4
|
-
title: angular-intlayer Package Documentation
|
|
5
|
-
description: Angular-specific integration for Intlayer, providing providers and services for Angular applications.
|
|
6
|
-
keywords:
|
|
7
|
-
- angular-intlayer
|
|
8
|
-
- angular
|
|
9
|
-
- internationalization
|
|
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: Unified documentation for all exports
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
# angular-intlayer Package
|
|
22
|
-
|
|
23
|
-
The `angular-intlayer` package provides the necessary tools to integrate Intlayer into Angular applications. It includes providers and services for handling multilingual content.
|
|
24
|
-
|
|
25
|
-
## Installation
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
npm install angular-intlayer
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Exports
|
|
32
|
-
|
|
33
|
-
### Setup
|
|
34
|
-
|
|
35
|
-
| Function | Description |
|
|
36
|
-
| ----------------- | --------------------------------------------------------- |
|
|
37
|
-
| `provideIntlayer` | Function to provide Intlayer in your Angular application. |
|
|
38
|
-
|
|
39
|
-
### Services
|
|
40
|
-
|
|
41
|
-
| Service | Description |
|
|
42
|
-
| ----------------- | --------------------------------------------------------------------- |
|
|
43
|
-
| `IntlayerService` | Service that selects a dictionary by its key and returns its content. |
|
|
44
|
-
| `LocaleService` | Service that returns the current locale and a function to set it. |
|
|
45
|
-
|
|
46
|
-
### Components
|
|
47
|
-
|
|
48
|
-
| Component | Description |
|
|
49
|
-
| --------------------------- | ------------------------------------------------ |
|
|
50
|
-
| `IntlayerMarkdownComponent` | Angular component that renders Markdown content. |
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
createdAt: 2026-01-21
|
|
3
|
-
updatedAt: 2026-01-21
|
|
4
|
-
title: astro-intlayer package documentation
|
|
5
|
-
description: Astro integration for Intlayer, providing set-up for locale-based routing and dictionary management.
|
|
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: Unified documentation for all exports
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
# astro-intlayer Package
|
|
22
|
-
|
|
23
|
-
The `astro-intlayer` package provides the necessary tools to integrate Intlayer into Astro applications. It configures locale-based routing and dictionary management.
|
|
24
|
-
|
|
25
|
-
## Installation
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
npm install astro-intlayer
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Exports
|
|
32
|
-
|
|
33
|
-
### Integration
|
|
34
|
-
|
|
35
|
-
| Function | Description |
|
|
36
|
-
| ---------- | ------------------------------------------------------------ |
|
|
37
|
-
| `intlayer` | Astro integration that sets up Intlayer within your project. |
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
createdAt: 2026-01-21
|
|
3
|
-
updatedAt: 2026-01-21
|
|
4
|
-
title: intlayer-cli Package Documentation
|
|
5
|
-
description: CLI utility for Intlayer, providing commands for building and auditing dictionaries.
|
|
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: Unified documentation for all exports
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
# intlayer-cli Package
|
|
23
|
-
|
|
24
|
-
The `intlayer-cli` package provides a set of commands to manage Intlayer dictionaries and configuration.
|
|
25
|
-
|
|
26
|
-
## Installation
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
npm install intlayer-cli
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Exports
|
|
33
|
-
|
|
34
|
-
### CLI Commands (Functions)
|
|
35
|
-
|
|
36
|
-
The package exports functions that power the CLI commands.
|
|
37
|
-
|
|
38
|
-
| Function | Description |
|
|
39
|
-
| ---------- | ------------------------------------------------- |
|
|
40
|
-
| `build` | Builds the Intlayer dictionaries. |
|
|
41
|
-
| `audit` | Audits the dictionaries for missing translations. |
|
|
42
|
-
| `liveSync` | Synchronises dictionaries in real-time. |
|
|
43
|
-
| `pull` | Pulls dictionaries from a remote source. |
|
|
44
|
-
| `push` | Pushes dictionaries to a remote source. |
|
|
45
|
-
| `test` | Runs tests on dictionaries. |
|
|
46
|
-
| `extract` | Transforms dictionaries between formats. |
|
|
@@ -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. |
|