translate-kit 0.4.1 → 0.5.0
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 +2 -5
- package/dist/cli.js +3474 -3369
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +17 -2
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +80 -77
package/README.md
CHANGED
|
@@ -16,14 +16,11 @@ In 2026, manually writing i18n JSON files key by key is obsolete. translate-kit
|
|
|
16
16
|
## Quick Start
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
# Install
|
|
20
|
-
npm install translate-kit @ai-sdk/openai
|
|
21
|
-
|
|
22
19
|
# Interactive setup — scaffolds config, installs next-intl, runs the full pipeline
|
|
23
20
|
npx translate-kit init
|
|
24
21
|
```
|
|
25
22
|
|
|
26
|
-
That's it. The `init` wizard creates your config, sets up locales, and optionally scans + transforms + translates your entire codebase in one step.
|
|
23
|
+
That's it. No global install needed — just run it with `npx` (or `bunx`). The `init` wizard creates your config, sets up locales, and optionally scans + transforms + translates your entire codebase in one step.
|
|
27
24
|
|
|
28
25
|
> See the full [Getting Started](https://translate-kit.com/docs/getting-started) guide for detailed setup.
|
|
29
26
|
|
|
@@ -58,7 +55,7 @@ Translation happens before your app ships. No client-side SDK, no loading spinne
|
|
|
58
55
|
Works with any [Vercel AI SDK](https://sdk.vercel.ai/) provider. You pick the model, you control the cost.
|
|
59
56
|
|
|
60
57
|
```bash
|
|
61
|
-
npm install @ai-sdk/openai # OpenAI
|
|
58
|
+
npm install @ai-sdk/openai # OpenAI (install as devDependency)
|
|
62
59
|
npm install @ai-sdk/anthropic # Anthropic
|
|
63
60
|
npm install @ai-sdk/google # Google
|
|
64
61
|
npm install @ai-sdk/mistral # Mistral
|