@intlayer/docs 8.0.5 → 8.1.1

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 (154) hide show
  1. package/dist/cjs/generated/docs.entry.cjs +20 -20
  2. package/dist/cjs/generated/docs.entry.cjs.map +1 -1
  3. package/dist/esm/generated/docs.entry.mjs +20 -20
  4. package/dist/esm/generated/docs.entry.mjs.map +1 -1
  5. package/dist/types/generated/docs.entry.d.ts +1 -1
  6. package/dist/types/generated/docs.entry.d.ts.map +1 -1
  7. package/docs/ar/agent_skills.md +69 -0
  8. package/docs/ar/cli/extract.md +65 -0
  9. package/docs/ar/cli/index.md +1 -1
  10. package/docs/ar/cli/sdk.md +2 -2
  11. package/docs/ar/configuration.md +16 -3
  12. package/docs/ar/packages/intlayer-cli.md +9 -9
  13. package/docs/ar/per_locale_file.md +18 -0
  14. package/docs/de/agent_skills.md +28 -12
  15. package/docs/de/cli/extract.md +65 -0
  16. package/docs/de/cli/index.md +1 -1
  17. package/docs/de/cli/sdk.md +2 -2
  18. package/docs/de/configuration.md +16 -3
  19. package/docs/de/intlayer_with_analog.md +1 -1
  20. package/docs/de/packages/intlayer-cli.md +9 -9
  21. package/docs/de/per_locale_file.md +18 -0
  22. package/docs/en/agent_skills.md +28 -12
  23. package/docs/en/cli/extract.md +65 -0
  24. package/docs/en/cli/index.md +3 -3
  25. package/docs/en/cli/sdk.md +2 -2
  26. package/docs/en/configuration.md +15 -3
  27. package/docs/en/packages/intlayer-cli.md +9 -9
  28. package/docs/en/per_locale_file.md +1 -1
  29. package/docs/en-GB/agent_skills.md +69 -0
  30. package/docs/en-GB/cli/extract.md +65 -0
  31. package/docs/en-GB/cli/index.md +1 -1
  32. package/docs/en-GB/cli/sdk.md +2 -2
  33. package/docs/en-GB/configuration.md +15 -3
  34. package/docs/en-GB/packages/intlayer-cli.md +9 -9
  35. package/docs/en-GB/per_locale_file.md +18 -0
  36. package/docs/es/agent_skills.md +28 -12
  37. package/docs/es/cli/extract.md +65 -0
  38. package/docs/es/cli/index.md +1 -1
  39. package/docs/es/cli/sdk.md +2 -2
  40. package/docs/es/configuration.md +16 -3
  41. package/docs/es/intlayer_with_analog.md +1 -1
  42. package/docs/es/packages/intlayer-cli.md +9 -9
  43. package/docs/es/per_locale_file.md +18 -0
  44. package/docs/fr/agent_skills.md +28 -12
  45. package/docs/fr/cli/extract.md +65 -0
  46. package/docs/fr/cli/index.md +1 -1
  47. package/docs/fr/cli/sdk.md +2 -2
  48. package/docs/fr/configuration.md +16 -3
  49. package/docs/fr/intlayer_with_analog.md +1 -1
  50. package/docs/fr/packages/intlayer-cli.md +9 -9
  51. package/docs/fr/per_locale_file.md +18 -0
  52. package/docs/hi/agent_skills.md +69 -0
  53. package/docs/hi/cli/extract.md +65 -0
  54. package/docs/hi/cli/index.md +1 -1
  55. package/docs/hi/cli/sdk.md +2 -2
  56. package/docs/hi/configuration.md +16 -3
  57. package/docs/hi/packages/intlayer-cli.md +9 -9
  58. package/docs/hi/per_locale_file.md +18 -2
  59. package/docs/id/agent_skills.md +69 -0
  60. package/docs/id/cli/extract.md +65 -0
  61. package/docs/id/cli/index.md +1 -1
  62. package/docs/id/cli/sdk.md +2 -2
  63. package/docs/id/configuration.md +16 -3
  64. package/docs/id/packages/intlayer-cli.md +9 -9
  65. package/docs/id/per_locale_file.md +18 -0
  66. package/docs/it/agent_skills.md +28 -12
  67. package/docs/it/cli/extract.md +65 -0
  68. package/docs/it/cli/index.md +1 -1
  69. package/docs/it/cli/sdk.md +2 -2
  70. package/docs/it/configuration.md +16 -3
  71. package/docs/it/packages/intlayer-cli.md +9 -9
  72. package/docs/it/per_locale_file.md +18 -2
  73. package/docs/ja/agent_skills.md +28 -12
  74. package/docs/ja/cli/extract.md +65 -0
  75. package/docs/ja/cli/index.md +1 -1
  76. package/docs/ja/cli/sdk.md +2 -2
  77. package/docs/ja/configuration.md +16 -3
  78. package/docs/ja/packages/intlayer-cli.md +9 -9
  79. package/docs/ja/per_locale_file.md +18 -0
  80. package/docs/ko/agent_skills.md +28 -12
  81. package/docs/ko/cli/extract.md +65 -0
  82. package/docs/ko/cli/index.md +1 -1
  83. package/docs/ko/cli/sdk.md +2 -2
  84. package/docs/ko/configuration.md +16 -3
  85. package/docs/ko/packages/intlayer-cli.md +9 -9
  86. package/docs/ko/per_locale_file.md +18 -0
  87. package/docs/pl/agent_skills.md +69 -0
  88. package/docs/pl/cli/extract.md +65 -0
  89. package/docs/pl/cli/index.md +1 -1
  90. package/docs/pl/cli/sdk.md +2 -2
  91. package/docs/pl/configuration.md +16 -3
  92. package/docs/pl/packages/intlayer-cli.md +9 -9
  93. package/docs/pl/per_locale_file.md +18 -0
  94. package/docs/pt/agent_skills.md +29 -13
  95. package/docs/pt/cli/extract.md +65 -0
  96. package/docs/pt/cli/index.md +1 -1
  97. package/docs/pt/cli/sdk.md +2 -2
  98. package/docs/pt/configuration.md +16 -3
  99. package/docs/pt/packages/intlayer-cli.md +9 -9
  100. package/docs/pt/per_locale_file.md +18 -0
  101. package/docs/ru/agent_skills.md +69 -0
  102. package/docs/ru/cli/extract.md +65 -0
  103. package/docs/ru/cli/index.md +1 -1
  104. package/docs/ru/cli/sdk.md +2 -2
  105. package/docs/ru/configuration.md +16 -3
  106. package/docs/ru/packages/intlayer-cli.md +9 -9
  107. package/docs/ru/per_locale_file.md +18 -2
  108. package/docs/tr/agent_skills.md +69 -0
  109. package/docs/tr/cli/extract.md +65 -0
  110. package/docs/tr/cli/index.md +1 -1
  111. package/docs/tr/cli/sdk.md +2 -2
  112. package/docs/tr/configuration.md +16 -3
  113. package/docs/tr/packages/intlayer-cli.md +9 -9
  114. package/docs/tr/per_locale_file.md +18 -0
  115. package/docs/uk/agent_skills.md +69 -0
  116. package/docs/uk/cli/extract.md +65 -0
  117. package/docs/uk/cli/index.md +1 -1
  118. package/docs/uk/cli/sdk.md +1 -1
  119. package/docs/uk/configuration.md +15 -3
  120. package/docs/uk/packages/intlayer-cli.md +9 -9
  121. package/docs/vi/agent_skills.md +69 -0
  122. package/docs/vi/cli/extract.md +65 -0
  123. package/docs/vi/cli/index.md +1 -1
  124. package/docs/vi/cli/sdk.md +2 -2
  125. package/docs/vi/configuration.md +16 -3
  126. package/docs/vi/packages/intlayer-cli.md +9 -9
  127. package/docs/vi/per_locale_file.md +18 -0
  128. package/docs/zh/agent_skills.md +28 -12
  129. package/docs/zh/cli/extract.md +65 -0
  130. package/docs/zh/cli/index.md +1 -1
  131. package/docs/zh/cli/sdk.md +2 -2
  132. package/docs/zh/configuration.md +15 -2
  133. package/docs/zh/packages/intlayer-cli.md +9 -9
  134. package/docs/zh/per_locale_file.md +18 -0
  135. package/package.json +7 -7
  136. package/src/generated/docs.entry.ts +20 -20
  137. package/docs/ar/cli/transform.md +0 -65
  138. package/docs/de/cli/transform.md +0 -65
  139. package/docs/en/cli/transform.md +0 -65
  140. package/docs/en-GB/cli/transform.md +0 -65
  141. package/docs/es/cli/transform.md +0 -65
  142. package/docs/fr/cli/transform.md +0 -65
  143. package/docs/hi/cli/transform.md +0 -65
  144. package/docs/id/cli/transform.md +0 -65
  145. package/docs/it/cli/transform.md +0 -65
  146. package/docs/ja/cli/transform.md +0 -65
  147. package/docs/ko/cli/transform.md +0 -65
  148. package/docs/pl/cli/transform.md +0 -65
  149. package/docs/pt/cli/transform.md +0 -65
  150. package/docs/ru/cli/transform.md +0 -65
  151. package/docs/tr/cli/transform.md +0 -65
  152. package/docs/uk/cli/transform.md +0 -65
  153. package/docs/vi/cli/transform.md +0 -65
  154. package/docs/zh/cli/transform.md +0 -65
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2026-02-09
3
- updatedAt: 2026-02-09
3
+ updatedAt: 2026-02-12
4
4
  title: Agent Skills
5
- description: Learn how to use Intlayer Agent Skills to improve your AI agent's understanding of your project.
5
+ description: Learn how to use Intlayer Agent Skills to improve your AI agent's understanding of your project, including comprehensive setup guides for Metadata, Sitemaps, and Server Actions.
6
6
  keywords:
7
7
  - Intlayer
8
8
  - Agent Skills
@@ -13,7 +13,7 @@ slugs:
13
13
  - doc
14
14
  - agent_skills
15
15
  history:
16
- - version: 8.0.4
16
+ - version: 8.1.0
17
17
  date: 2026-02-09
18
18
  changes: Init history
19
19
  ---
@@ -29,25 +29,41 @@ npx intlayer init skills
29
29
  When you run this command, it will:
30
30
 
31
31
  1. Detect the framework you are using (e.g., Next.js, React, Vite).
32
- 2. Ask you which platforms you want to install skills for (Cursor, VS Code, OpenCode, Claude Code, etc.).
33
- 3. Generate the required configuration files (such as `.cursor/mcp.json`, `.vscode/mcp.json`, or `.intlayer/skills/*.md`).
32
+ 2. Ask you which platforms you want to install skills for (Cursor, Windsurf, VS Code, OpenCode, Claude Code, GitHub Copilot Workspace, etc.).
33
+ 3. Generate the required configuration files (e.g., `.cursor/skills/intlayer_next_js/SKILL.md`, `.windsurf/skills/intlayer_next_js/SKILL.md`, `.opencode/skills/intlayer_next_js/SKILL.md`, `.vscode/mcp.json`, etc.).
34
34
 
35
35
  ## Supported Platforms
36
36
 
37
+ Intlayer provides framework-specific documentation (Setup, Usage, Metadata, Sitemap, Server Actions, etc.) to help the AI agent understand how to work with Intlayer in your specific project. These skills are designed to guide the agent through the complexities of internationalization, ensuring it follows the correct patterns and best practices.
38
+
37
39
  Intlayer supports integration with the following platforms:
38
40
 
39
41
  ### 1. Cursor
40
42
 
41
- Cursor supports MCP (Model Context Protocol) servers. Running `intlayer init skills` will create a `.cursor/mcp.json` file that allows Cursor to communicate with the Intlayer MCP server.
43
+ Cursor supports MCP (Model Context Protocol) servers and custom skills. Running `intlayer init skills` will:
44
+
45
+ - Create a `.cursor/mcp.json` file to communicate with the Intlayer MCP server.
46
+ - Install framework-specific skills in the `.cursor/skills` directory.
47
+
48
+ ### 2. Windsurf
49
+
50
+ Windsurf is an AI-powered IDE. Running `intlayer init skills` will install framework-specific skills in the `.windsurf/skills` directory.
51
+
52
+ ### 3. VS Code
53
+
54
+ For VS Code users, especially those using GitHub Copilot or other MCP-compatible extensions, the command:
55
+
56
+ - Creates a `.vscode/mcp.json` configuration.
57
+ - Installs framework-specific skills in the `skills/` directory at the root of your project.
42
58
 
43
- ### 2. VS Code
59
+ ### 4. OpenCode
44
60
 
45
- For VS Code users, especially those using GitHub Copilot or other MCP-compatible extensions, the command creates a `.vscode/mcp.json` configuration.
61
+ OpenCode is an interactive CLI agent designed for software engineering tasks. Intlayer provides specific skills to help OpenCode assist you with internationalization tasks. These are installed in the `.opencode/skills` directory.
46
62
 
47
- ### 3. OpenCode
63
+ ### 5. Claude Code
48
64
 
49
- OpenCode is an interactive CLI agent designed for software engineering tasks. Intlayer provides specific skills to help OpenCode assist you with internationalization tasks.
65
+ Claude Code can be configured to use Intlayer skills. The command installs framework-specific skills in the `.claude/skills` directory.
50
66
 
51
- ### 4. Claude Code
67
+ ### 6. GitHub Copilot Workspace
52
68
 
53
- Claude Code can be configured to use Intlayer skills by adding the generated configurations to its desktop or CLI settings.
69
+ GitHub Copilot Workspace allows you to define custom skills. The command installs framework-specific skills in the `.github/skills` directory.
@@ -0,0 +1,65 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Extract strings
5
+ description: Learn how to extract strings from your components into a .content file close to the component.
6
+ keywords:
7
+ - Extract
8
+ - Components
9
+ - Migration
10
+ - CLI
11
+ - Intlayer
12
+ slugs:
13
+ - doc
14
+ - concept
15
+ - cli
16
+ - extract
17
+ ---
18
+
19
+ # Extract strings
20
+
21
+ ```bash
22
+ npx intlayer extract
23
+ ```
24
+
25
+ This command analyzes your code files to extract strings from components into a .content file close to the component. It supports interactive file selection or specific file targeting.
26
+
27
+ ## Aliases:
28
+
29
+ - `npx intlayer ext`
30
+
31
+ ## Arguments:
32
+
33
+ **File selection options:**
34
+
35
+ - **`-f, --file [files...]`**: List of specific files to extract. If not provided, the CLI will scan for matching files (`**/*.{tsx,jsx,vue,svelte,ts,js}`) and prompt you to select which ones to extract.
36
+
37
+ > Example: `npx intlayer extract -f src/components/MyComponent.tsx`
38
+
39
+ **Output options:**
40
+
41
+ - **`-o, --output-content-declarations [outputContentDeclarations]`**: Directory to save the generated content declaration files.
42
+
43
+ > Example: `npx intlayer extract -o src/content`
44
+
45
+ - **`--code-only`**: Only extract the component code (do not write content declaration).
46
+
47
+ > Example: `npx intlayer extract --code-only`
48
+
49
+ - **`--declaration-only`**: Only generate content declaration (do not rewrite component).
50
+
51
+ > Example: `npx intlayer extract --declaration-only`
52
+
53
+ **Configuration options:**
54
+
55
+ - **`--base-dir`**: Specify the base directory for the project.
56
+ - **`--env`**: Specify the environment.
57
+ - **`--env-file`**: Provide a custom environment file.
58
+ - **`--verbose`**: Enable verbose logging.
59
+
60
+ **Required plugins:**
61
+
62
+ The extract command works without additional plugin on TypeScript / JSX files. However, it requires the following plugins to be installed for Vue and Svelte projects:
63
+
64
+ - **`@intlayer/vue-transformer`**: For Vue files.
65
+ - **`@intlayer/svelte-transformer`**: For Svelte files.
@@ -28,7 +28,7 @@ history:
28
28
  changes: Add init command
29
29
  - version: 7.2.3
30
30
  date: 2025-11-22
31
- changes: Add transform command
31
+ changes: Add extract command
32
32
  - version: 7.1.0
33
33
  date: 2025-11-05
34
34
  changes: Add skipIfExists option to translate command
@@ -137,7 +137,7 @@ To see how to configure available locales, or other parameters, refer to the [co
137
137
 
138
138
  ### Component Management
139
139
 
140
- - **[Transform Components](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/transform.md)** - Transform existing components to use Intlayer
140
+ - **[Extract Strings](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/extract.md)** - Extract strings from components into a .content file close to the component
141
141
 
142
142
  ### Configuration
143
143
 
@@ -176,7 +176,7 @@ To see how to configure available locales, or other parameters, refer to the [co
176
176
  "intlayer:fill": "npx intlayer fill",
177
177
  "intlayer:list": "npx intlayer content list",
178
178
  "intlayer:test": "npx intlayer content test",
179
- "intlayer:transform": "npx intlayer transform",
179
+ "intlayer:extract": "npx intlayer extract",
180
180
  "intlayer:projects": "npx intlayer projects list",
181
181
  "intlayer:doc:translate": "npx intlayer doc translate",
182
182
  "intlayer:doc:review": "npx intlayer doc review"
@@ -47,7 +47,7 @@ import {
47
47
  testMissingTranslations,
48
48
  docTranslate,
49
49
  docReview,
50
- transform,
50
+ extract,
51
51
  } from "@intlayer/cli";
52
52
 
53
53
  push();
@@ -66,6 +66,6 @@ docTranslate();
66
66
  // ...
67
67
  docReview();
68
68
  // ...
69
- transform();
69
+ extract();
70
70
  // ...
71
71
  ```
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2024-08-13
3
- updatedAt: 2026-01-24
3
+ updatedAt: 2026-02-12
4
4
  title: Configuration
5
5
  description: Learn how to configure Intlayer for your application. Understand the various settings and options available to customize Intlayer to your needs.
6
6
  keywords:
@@ -14,6 +14,9 @@ slugs:
14
14
  - concept
15
15
  - configuration
16
16
  history:
17
+ - version: 8.0.6
18
+ date: 2026-02-12
19
+ changes: Add support for Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face, and Together.ai providers
17
20
  - version: 8.0.5
18
21
  date: 2026-02-06
19
22
  changes: Add `dataSerialization` to the AI configuration
@@ -314,7 +317,7 @@ const config: IntlayerConfig = {
314
317
  ai: {
315
318
  /**
316
319
  * AI provider to use.
317
- * Options: 'openai', 'anthropic', 'mistral', 'deepseek', 'gemini', 'ollama'
320
+ * Options: 'openai', 'anthropic', 'mistral', 'deepseek', 'gemini', 'ollama', 'openrouter', 'alibaba', 'fireworks', 'groq', 'huggingface', 'bedrock', 'googlevertex', 'togetherai'
318
321
  * Default: 'openai'
319
322
  */
320
323
  provider: "openai",
@@ -1028,8 +1031,17 @@ Intlayer supports multiple AI providers for enhanced flexibility and choice. Cur
1028
1031
  - **Mistral AI**
1029
1032
  - **DeepSeek**
1030
1033
  - **Google Gemini**
1034
+ - **Google AI Studio**
1035
+ - **Google Vertex**
1031
1036
  - **Meta Llama**
1032
1037
  - **Ollama**
1038
+ - **OpenRouter**
1039
+ - **Alibaba Cloud**
1040
+ - **Fireworks**
1041
+ - **Hugging Face**
1042
+ - **Groq**
1043
+ - **Amazon Bedrock**
1044
+ - **Together.ai**
1033
1045
  - **ollama**
1034
1046
 
1035
1047
  #### Properties
@@ -1038,7 +1050,7 @@ Intlayer supports multiple AI providers for enhanced flexibility and choice. Cur
1038
1050
  - _Type_: `string`
1039
1051
  - _Default_: `'openai'`
1040
1052
  - _Description_: The provider to use for the AI features of Intlayer.
1041
- - _Options_: `'openai'`, `'anthropic'`, `'mistral'`, `'deepseek'`, `'gemini'`, `'ollama'`
1053
+ - _Options_: `'openai'`, `'anthropic'`, `'mistral'`, `'deepseek'`, `'gemini'`, `'ollama'`, `'openrouter'`, `'alibaba'`, `'fireworks'`, `'groq'`, `'huggingface'`, `'bedrock'`, `'googleaistudio'`, `'googlevertex'`, `'togetherai'`
1042
1054
  - _Example_: `'anthropic'`
1043
1055
  - _Note_: Different providers may require different API keys and have different pricing models.
1044
1056
 
@@ -35,12 +35,12 @@ npm install intlayer-cli
35
35
 
36
36
  The package exports functions that power the CLI commands.
37
37
 
38
- | Function | Description |
39
- | ----------- | ------------------------------------------------- |
40
- | `build` | Builds the Intlayer dictionaries. |
41
- | `audit` | Audits the dictionaries for missing translations. |
42
- | `liveSync` | Synchronizes 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
- | `transform` | Transforms dictionaries between formats. |
38
+ | Function | Description |
39
+ | ---------- | ----------------------------------------------------- |
40
+ | `build` | Builds the Intlayer dictionaries. |
41
+ | `audit` | Audits the dictionaries for missing translations. |
42
+ | `liveSync` | Synchronizes 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` | Extract strings from components into a .content file. |
@@ -167,7 +167,7 @@ const config: IntlayerConfig = {
167
167
  export default config;
168
168
  ```
169
169
 
170
- Using this configuration, all per-locale files will be generated with the default locale set to English. It also include generation of `.content` files using the `transform` command, and the compiler. (See [Compiler](https://intlayer.org/doc/compiler) or [Transform](https://intlayer.org/doc/concept/cli/transform) for more information.)
170
+ Using this configuration, all per-locale files will be generated with the default locale set to English. It also include generation of `.content` files using the `extract` command, and the compiler. (See [Compiler](https://intlayer.org/doc/compiler) or [Extract](https://intlayer.org/doc/concept/cli/extract) for more information.)
171
171
 
172
172
  ## Single File with Multiple Translations
173
173
 
@@ -0,0 +1,69 @@
1
+ ---
2
+ createdAt: 2026-02-09
3
+ updatedAt: 2026-02-12
4
+ title: Agent Skills
5
+ description: Learn how to use Intlayer Agent Skills to improve your AI agent's understanding of your project, including comprehensive setup guides for Metadata, Sitemaps, and Server Actions.
6
+ keywords:
7
+ - Intlayer
8
+ - Agent Skills
9
+ - AI Agent
10
+ - Internationalization
11
+ - Documentation
12
+ slugs:
13
+ - doc
14
+ - agent_skills
15
+ history:
16
+ - version: 8.1.0
17
+ date: 2026-02-09
18
+ changes: Init history
19
+ ---
20
+
21
+ ## The `intlayer init skills` Command
22
+
23
+ The `intlayer init skills` command is the simplest way to set up agent skills in your project. It detects your environment and installs the necessary configuration files for your preferred platforms.
24
+
25
+ ```bash
26
+ npx intlayer init skills
27
+ ```
28
+
29
+ When you run this command, it will:
30
+
31
+ 1. Detect the framework you are using (e.g., Next.js, React, Vite).
32
+ 2. Ask which platforms you want to install skills for (Cursor, Windsurf, VS Code, OpenCode, Claude Code, GitHub Copilot Workspace, etc.).
33
+ 3. Generate the required configuration files (e.g., `.cursor/skills/intlayer_next_js/SKILL.md`, `.windsurf/skills/intlayer_next_js/SKILL.md`, `.opencode/skills/intlayer_next_js/SKILL.md`, `.vscode/mcp.json`, etc.).
34
+
35
+ ## Supported Platforms
36
+
37
+ Intlayer provides framework-specific documentation (Setup, Usage, Metadata, Sitemap, Server Actions, etc.) to help the AI agent understand how to work with Intlayer in your specific project. These skills are designed to guide the agent through the complexities of internationalisation, ensuring it follows the correct patterns and best practices.
38
+
39
+ Intlayer supports integration with the following platforms:
40
+
41
+ ### 1. Cursor
42
+
43
+ Cursor supports MCP (Model Context Protocol) servers and custom skills. Running `intlayer init skills` will:
44
+
45
+ - Create a `.cursor/mcp.json` file to communicate with the Intlayer MCP server.
46
+ - Install framework-specific skills in the `.cursor/skills` directory.
47
+
48
+ ### 2. Windsurf
49
+
50
+ Windsurf is an AI-powered IDE. Running `intlayer init skills` will install framework-specific skills in the `.windsurf/skills` directory.
51
+
52
+ ### 3. VS Code
53
+
54
+ For VS Code users, especially those using GitHub Copilot or other MCP-compatible extensions, the command:
55
+
56
+ - Creates a `.vscode/mcp.json` configuration.
57
+ - Installs framework-specific skills in the `skills/` directory at the root of your project.
58
+
59
+ ### 4. OpenCode
60
+
61
+ OpenCode is an interactive CLI agent designed for software engineering tasks. Intlayer provides specific skills to help OpenCode assist you with internationalisation tasks. These are installed in the `.opencode/skills` directory.
62
+
63
+ ### 5. Claude Code
64
+
65
+ Claude Code can be configured to use Intlayer skills. The command installs framework-specific skills in the `.claude/skills` directory.
66
+
67
+ ### 6. GitHub Copilot Workspace
68
+
69
+ GitHub Copilot Workspace allows you to define custom skills. The command installs framework-specific skills in the `.github/skills` directory.
@@ -0,0 +1,65 @@
1
+ ---
2
+ createdAt: 2024-08-11
3
+ updatedAt: 2025-11-22
4
+ title: Extract strings
5
+ description: Learn how to extract strings from your components into a .content file adjacent to the component.
6
+ keywords:
7
+ - Extract
8
+ - Components
9
+ - Migration
10
+ - CLI
11
+ - Intlayer
12
+ slugs:
13
+ - doc
14
+ - concept
15
+ - cli
16
+ - extract
17
+ ---
18
+
19
+ # Extract strings
20
+
21
+ ```bash
22
+ npx intlayer extract
23
+ ```
24
+
25
+ This command analyses your code files to extract strings from components into a .content file adjacent to the component. It supports interactive file selection or targeting specific files.
26
+
27
+ ## Aliases:
28
+
29
+ - `npx intlayer ext`
30
+
31
+ ## Arguments:
32
+
33
+ **File selection options:**
34
+
35
+ /// **`-f, --file [files...]`**: List of specific files to extract. If not provided, the CLI will scan for matching files (`**/*.{tsx,jsx,vue,svelte,ts,js}`) and prompt you to select which to extract.
36
+
37
+ > Example: `npx intlayer extract -f src/components/MyComponent.tsx`
38
+
39
+ **Output options:**
40
+
41
+ - **`-o, --output-content-declarations [outputContentDeclarations]`**: Directory in which to save the generated content declaration files.
42
+
43
+ > Example: `npx intlayer extract -o src/content`
44
+
45
+ - **`--code-only`**: Only extract the component code (do not write content declarations).
46
+
47
+ > Example: `npx intlayer extract --code-only`
48
+
49
+ - **`--declaration-only`**: Only generate content declarations (do not rewrite the component).
50
+
51
+ > Example: `npx intlayer extract --declaration-only`
52
+
53
+ **Configuration options:**
54
+
55
+ - **`--base-dir`**: Specify the base directory for the project.
56
+ - **`--env`**: Specify the environment.
57
+ - **`--env-file`**: Provide a custom environment file.
58
+ - **`--verbose`**: Enable verbose logging.
59
+
60
+ **Required plugins:**
61
+
62
+ The extract command works without additional plugins on TypeScript/JSX files. However, it requires the following plugins to be installed for Vue and Svelte projects:
63
+
64
+ - **`@intlayer/vue-transformer`**: For Vue files.
65
+ - **`@intlayer/svelte-transformer`**: For Svelte files.
@@ -169,7 +169,7 @@ To see how to configure available locales, or other parameters, refer to the [co
169
169
  "intlayer:fill": "npx intlayer fill",
170
170
  "intlayer:list": "npx intlayer content list",
171
171
  "intlayer:test": "npx intlayer content test",
172
- "intlayer:transform": "npx intlayer transform",
172
+ "intlayer:extract": "npx intlayer extract",
173
173
  "intlayer:projects": "npx intlayer projects list",
174
174
  "intlayer:doc:translate": "npx intlayer doc translate",
175
175
  "intlayer:doc:review": "npx intlayer doc review"
@@ -47,7 +47,7 @@ import {
47
47
  testMissingTranslations,
48
48
  docTranslate,
49
49
  docReview,
50
- transform,
50
+ extract,
51
51
  } from "@intlayer/cli";
52
52
 
53
53
  push();
@@ -66,6 +66,6 @@ docTranslate();
66
66
  // ...
67
67
  docReview();
68
68
  // ...
69
- transform();
69
+ extract();
70
70
  // ...
71
71
  ```
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  createdAt: 2024-08-13
3
- updatedAt: 2026-01-24
3
+ updatedAt: 2026-02-12
4
4
  title: Configuration
5
5
  description: Learn how to configure Intlayer for your application. Understand the various settings and options available to customise Intlayer to your needs.
6
6
  keywords:
@@ -14,6 +14,9 @@ slugs:
14
14
  - concept
15
15
  - configuration
16
16
  history:
17
+ - version: 8.0.6
18
+ date: 2026-02-12
19
+ changes: Add support for Open Router, Alibaba, Amazon, Google Vertex Bedrock, Fireworks, Groq, Hugging Face, and Together.ai providers
17
20
  - version: 8.0.5
18
21
  date: 2026-02-06
19
22
  changes: Add `dataSerialization` to the AI configuration
@@ -290,7 +293,7 @@ const config: IntlayerConfig = {
290
293
  ai: {
291
294
  /**
292
295
  * AI provider to use.
293
- * Options: 'openai', 'anthropic', 'mistral', 'deepseek', 'gemini', 'ollama'
296
+ * Options: 'openai', 'anthropic', 'mistral', 'deepseek', 'gemini', 'ollama', 'openrouter', 'alibaba', 'fireworks', 'groq', 'huggingface', 'bedrock', 'googlevertex', 'togetherai'
294
297
  * Default: 'openai'
295
298
  */
296
299
  provider: "openai",
@@ -855,8 +858,17 @@ Intlayer supports multiple AI providers for enhanced flexibility and choice. Cur
855
858
  - **Mistral AI**
856
859
  - **DeepSeek**
857
860
  - **Google Gemini**
861
+ - **Google AI Studio**
862
+ - **Google Vertex**
858
863
  - **Meta Llama**
859
864
  - **Ollama**
865
+ - **OpenRouter**
866
+ - **Alibaba Cloud**
867
+ - **Fireworks**
868
+ - **Hugging Face**
869
+ - **Groq**
870
+ - **Amazon Bedrock**
871
+ - **Together.ai**
860
872
  - **ollama**
861
873
 
862
874
  #### Properties
@@ -865,7 +877,7 @@ Intlayer supports multiple AI providers for enhanced flexibility and choice. Cur
865
877
  - _Type_: `string`
866
878
  - _Default_: `'openai'`
867
879
  - _Description_: The provider to use for the AI features of Intlayer.
868
- - _Options_: `'openai'`, `'anthropic'`, `'mistral'`, `'deepseek'`, `'gemini'`, `'ollama'`
880
+ - _Options_: `'openai'`, `'anthropic'`, `'mistral'`, `'deepseek'`, `'gemini'`, `'ollama'`, `'openrouter'`, `'alibaba'`, `'fireworks'`, `'groq'`, `'huggingface'`, `'bedrock'`, `'googleaistudio'`, `'googlevertex'`, `'togetherai'`
869
881
  - _Example_: `'anthropic'`
870
882
  - _Note_: Different providers may require different API keys and have different pricing models.
871
883
 
@@ -35,12 +35,12 @@ npm install intlayer-cli
35
35
 
36
36
  The package exports functions that power the CLI commands.
37
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
- | `transform` | Transforms dictionaries between formats. |
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. |
@@ -110,6 +110,24 @@ module.exports = helloWorldContent;
110
110
 
111
111
  > Recommended: This format is best when using Intlayer's visual editor or managing translations directly in the code.
112
112
 
113
+ ### Global Configuration for Per-Locale Files
114
+
115
+ You can configure the global configuration for per-locale files by adding the following to your `intlayer.config.ts` file:
116
+
117
+ ```ts
118
+ import { Locales, type IntlayerConfig } from "intlayer";
119
+
120
+ const config: IntlayerConfig = {
121
+ dictionary: {
122
+ locale: Locales.ENGLISH,
123
+ },
124
+ };
125
+
126
+ export default config;
127
+ ```
128
+
129
+ Using this configuration, all per-locale files will be generated with the default locale set to English. It also includes generation of `.content` files using the `extract` command, and the compiler. (See [Compiler](https://intlayer.org/doc/compiler) or [Extract](https://intlayer.org/doc/concept/cli/extract) for more information.)
130
+
113
131
  ## Per-Locale Format
114
132
 
115
133
  This format is useful when:
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  createdAt: 2026-02-09
3
- updatedAt: 2026-02-09
3
+ updatedAt: 2026-02-12
4
4
  title: Habilidades del Agente
5
- description: Aprende a usar las habilidades del agente Intlayer para mejorar la comprensión de tu proyecto por parte de tu agente de IA.
5
+ description: Aprenda a usar las habilidades del agente Intlayer para mejorar la comprensión de su proyecto por parte de su agente de IA, incluyendo guías de configuración completas para metadatos, mapas del sitio y acciones del servidor.
6
6
  keywords:
7
7
  - Intlayer
8
8
  - Habilidades del Agente
@@ -13,7 +13,7 @@ slugs:
13
13
  - doc
14
14
  - agent_skills
15
15
  history:
16
- - version: 8.0.4
16
+ - version: 8.1.0
17
17
  date: 2026-02-09
18
18
  changes: Inicializar historial
19
19
  ---
@@ -29,25 +29,41 @@ npx intlayer init skills
29
29
  Cuando ejecutas este comando, este:
30
30
 
31
31
  1. Detectará el framework que estás usando (por ejemplo, Next.js, React, Vite).
32
- 2. Te preguntará para qué plataformas quieres instalar las habilidades (Cursor, VS Code, OpenCode, Claude Code, etc.).
33
- 3. Generará los archivos de configuración necesarios (como `.cursor/mcp.json`, `.vscode/mcp.json` o `.intlayer/skills/*.md`).
32
+ 2. Te preguntará para qué plataformas quieres instalar las habilidades (Cursor, Windsurf, VS Code, OpenCode, Claude Code, GitHub Copilot Workspace, etc.).
33
+ 3. Generará los archivos de configuración necesarios (p. ej., `.cursor/skills/intlayer_next_js/SKILL.md`, `.windsurf/skills/intlayer_next_js/SKILL.md`, `.opencode/skills/intlayer_next_js/SKILL.md`, `.vscode/mcp.json`, etc.).
34
34
 
35
35
  ## Plataformas Soportadas
36
36
 
37
+ Intlayer proporciona documentación específica para el framework (Configuración, Uso, Metadatos, Mapa del sitio, Acciones del servidor, etc.) para ayudar al agente de IA a entender cómo trabajar con Intlayer en su proyecto específico. Estas habilidades están diseñadas para guiar al agente a través de las complejidades de la internacionalización, asegurando que siga los patrones y las mejores prácticas correctas.
38
+
37
39
  Intlayer admite la integración con las siguientes plataformas:
38
40
 
39
41
  ### 1. Cursor
40
42
 
41
- Cursor admite servidores MCP (Model Context Protocol). Al ejecutar `intlayer init skills` se creará un archivo `.cursor/mcp.json` que permite a Cursor comunicarse con el servidor MCP de Intlayer.
43
+ Cursor admite servidores MCP (Model Context Protocol) y habilidades personalizadas. Al ejecutar `intlayer init skills`:
44
+
45
+ - Se creará un archivo `.cursor/mcp.json` para comunicarse con el servidor MCP de Intlayer.
46
+ - Se instalarán habilidades específicas del framework en el directorio `.cursor/skills`.
47
+
48
+ ### 2. Windsurf
49
+
50
+ Windsurf es un IDE impulsado por IA. Al ejecutar `intlayer init skills` se instalarán habilidades específicas del framework en el directorio `.windsurf/skills`.
51
+
52
+ ### 3. VS Code
53
+
54
+ Para los usuarios de VS Code, especialmente aquellos que usan GitHub Copilot u otras extensiones compatibles con MCP, el comando:
55
+
56
+ - Crea una configuración `.vscode/mcp.json`.
57
+ - Instala habilidades específicas del framework en el directorio `skills/` en la raíz de tu proyecto.
42
58
 
43
- ### 2. VS Code
59
+ ### 4. OpenCode
44
60
 
45
- Para los usuarios de VS Code, especialmente aquellos que usan GitHub Copilot u otras extensiones compatibles con MCP, el comando crea una configuración `.vscode/mcp.json`.
61
+ OpenCode es un agente de CLI interactivo diseñado para tareas de ingeniería de software. Intlayer proporciona habilidades específicas para ayudar a OpenCode a asistirte en tus tareas de internacionalización. Estas se instalan en el directorio `.opencode/skills`.
46
62
 
47
- ### 3. OpenCode
63
+ ### 5. Claude Code
48
64
 
49
- OpenCode es un agente de CLI interactivo diseñado para tareas de ingeniería de software. Intlayer proporciona habilidades específicas para ayudar a OpenCode a asistirte en las tareas de internacionalización.
65
+ Claude Code se puede configurar para usar las habilidades de Intlayer. El comando instala habilidades específicas del framework en el directorio `.claude/skills`.
50
66
 
51
- ### 4. Claude Code
67
+ ### 6. GitHub Copilot Workspace
52
68
 
53
- Claude Code se puede configurar para usar las habilidades de Intlayer agregando las configuraciones generadas a sus ajustes de escritorio o CLI.
69
+ GitHub Copilot Workspace te permite definir habilidades personalizadas. El comando instala habilidades específicas del framework en el directorio `.github/skills`.