glotfile 0.2.0 → 0.3.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.
- package/README.md +4 -3
- package/dist/server/cli.js +640 -231
- package/dist/server/server.js +540 -189
- package/dist/ui/assets/en-BZRN_IpI.svg +25 -0
- package/dist/ui/assets/index-DVTJ7ZX_.css +1 -0
- package/dist/ui/assets/index-LjEnW4jC.js +1847 -0
- package/dist/ui/index.html +2 -2
- package/package.json +2 -2
- package/dist/ui/assets/index-BqcYDTXL.css +0 -1
- package/dist/ui/assets/index-DB5e5FME.js +0 -1819
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ to make.
|
|
|
8
8
|
|
|
9
9
|
- **One source of truth** — every string and translation lives in `glotfile.json`, committed alongside your code. Versioning, review, and rollback come from git. For large catalogs, run `glotfile split` to store the catalog as a `glotfile/` directory with one file per locale — so a one-locale change is a one-file `git diff` instead of a multi-megabyte one. The in-app experience is identical.
|
|
10
10
|
- **Local web UI** — run one command, edit in the browser, changes save straight back to the file.
|
|
11
|
-
- **AI translation** — fill in missing languages with Anthropic, OpenAI, AWS Bedrock, or
|
|
11
|
+
- **AI translation** — fill in missing languages with Anthropic, OpenAI, AWS Bedrock, OpenRouter, or a local Ollama model, using per-key context, a glossary, and screenshots.
|
|
12
12
|
- **Export anywhere** — generate Flutter ARB, Laravel PHP, i18next JSON, gettext `.po`, and Apple `.stringsdict` from the same source.
|
|
13
13
|
|
|
14
14
|
---
|
|
@@ -181,8 +181,9 @@ in the project directory. For example:
|
|
|
181
181
|
ANTHROPIC_API_KEY=sk-ant-...
|
|
182
182
|
```
|
|
183
183
|
|
|
184
|
-
|
|
185
|
-
(Amazon Nova, Claude, and Meta Llama),
|
|
184
|
+
Five providers are supported — Anthropic (default), OpenAI, AWS Bedrock
|
|
185
|
+
(Amazon Nova, Claude, and Meta Llama), OpenRouter, and Ollama (local,
|
|
186
|
+
no API key needed). For the full setup of
|
|
186
187
|
each — required env vars, model ids, regions, and the optional SDKs to install — see
|
|
187
188
|
**[docs/ai-providers.md](docs/ai-providers.md)**.
|
|
188
189
|
|