mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-02 00:42:49 +00:00
Strip upstream marketing surfaces (logo picture, EXFOLIATE tagline, sponsor block pointing at upstream's OpenAI/Vercel/Blacksmith/Convex relationship) and rewrite refs: openclaw → hanzo-bot (CLI name from package.bin) OpenClaw → Hanzo Bot (display name) openclaw/openclaw → hanzoai/bot openclaw.ai → hanzo.ai docs.openclaw.ai → docs.hanzo.ai discord.gg/clawd → hanzo.ai#community openclaw/nix-openclaw → hanzoai/nix-bot Touches the top-level README plus the in-tree READMEs that carried the same upstream copy (apps/*, assets/chrome-extension, docs/security, docs/.i18n, extensions/*, scripts/shell-helpers, src/hooks/bundled). Residual OPENCLAW_* env-var refs are intentionally left — they document the runtime config keys the code still reads. Renaming those needs a matching code change with a config migration.
754 B
754 B
Hanzo Bot docs i18n assets
This folder stores generated and config files for documentation translations.
Files
glossary.<lang>.json— preferred term mappings (used in prompt guidance).<lang>.tm.jsonl— translation memory (cache) keyed by workflow + model + text hash.
Glossary format
glossary.<lang>.json is an array of entries:
{
"source": "troubleshooting",
"target": "故障排除",
"ignore_case": true,
"whole_word": false
}
Fields:
source: English (or source) phrase to prefer.target: preferred translation output.
Notes
- Glossary entries are passed to the model as prompt guidance (no deterministic rewrites).
- The translation memory is updated by
scripts/docs-i18n.