@babelize/mcp 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -173,6 +173,47 @@ The server resolves configuration in this priority order:
|
|
|
173
173
|
| `--api-url` / `BABELIZE_API_URL` | API base URL | `https://api.babelize.co/api` |
|
|
174
174
|
| `--api-base` | API base path (without `/api` suffix) | — |
|
|
175
175
|
|
|
176
|
+
## Workflow Examples
|
|
177
|
+
|
|
178
|
+
### Translate a GitHub project in one command
|
|
179
|
+
|
|
180
|
+
Ask your AI agent:
|
|
181
|
+
|
|
182
|
+
> "Translate my-project to French and Spanish."
|
|
183
|
+
|
|
184
|
+
The agent will:
|
|
185
|
+
1. `babelize_project_list` — find your project
|
|
186
|
+
2. `babelize_project_language_add` — add French + Spanish
|
|
187
|
+
3. `babelize_run_and_wait` — start + wait for completion
|
|
188
|
+
4. `babelize_project_download` — download the translated ZIP
|
|
189
|
+
|
|
190
|
+
### Translate local code without GitHub
|
|
191
|
+
|
|
192
|
+
> "Scan my local project and translate it to German."
|
|
193
|
+
|
|
194
|
+
1. `babelize_scan` — find all hardcoded strings (no API key needed)
|
|
195
|
+
2. `babelize_project_create` — create a project (no GitHub URL)
|
|
196
|
+
3. `babelize_project_language_add` — add German
|
|
197
|
+
4. `babelize_run_and_wait` — translate and wait
|
|
198
|
+
5. `babelize_project_download` — get the translated files
|
|
199
|
+
|
|
200
|
+
### Check translation quality
|
|
201
|
+
|
|
202
|
+
> "Review the translation quality for my project."
|
|
203
|
+
|
|
204
|
+
1. `babelize_tm_get` — check translation memory entries
|
|
205
|
+
2. `babelize_glossary_get` — review glossary for consistent terminology
|
|
206
|
+
3. `babelize_babel_get` — inspect detailed run logs
|
|
207
|
+
4. `babelize_glossary_set` — add missing glossary entries for consistent translations
|
|
208
|
+
|
|
209
|
+
### Audit i18n readiness
|
|
210
|
+
|
|
211
|
+
> "Scan my codebase for i18n issues."
|
|
212
|
+
|
|
213
|
+
1. `babelize_scan` — detect all hardcoded strings (free, no API key)
|
|
214
|
+
2. `babelize_scan_strings` — test specific code snippets for translatable patterns
|
|
215
|
+
3. `babelize_engine_analyze` — analyze framework and i18n library usage
|
|
216
|
+
|
|
176
217
|
## Links
|
|
177
218
|
|
|
178
219
|
- [Website](https://babelize.co)
|