clawdie-ai/crowdin.yml
Clawdie AI b54a945775 Make Git the source of record; Strapi becomes optional
- Add all 30 static English docs to repo (architecture, install, operate,
  reference, roadmap) — these are the Crowdin source files
- Rename sync-strapi.mjs → export-strapi.mjs: explicit snapshot step
  (run manually, review diff, commit) rather than mandatory pre-build
- Build no longer requires Strapi to be running (astro build uses
  committed .md files directly)
- Add guides/ and en/guides/ snapshot dirs with .gitkeep
- Update crowdin.yml to map en/**/*.md → sl root (excluding guides/)
- npm run export-strapi: fetch Strapi content and write committed snapshot
- npm run build: pure offline build from committed content

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---
Build: pass | Tests: pass — Tests  942 passed (942)
2026-04-13 21:01:43 +00:00

29 lines
985 B
YAML

# Crowdin configuration for Clawdie docs
# Source language: English (en)
# Target language: Slovenian (sl) — served at root URLs in Starlight
#
# Setup:
# 1. Verify/update project_id below
# 2. Install CLI: npm install -g @crowdin/cli
# 3. Set CROWDIN_PERSONAL_TOKEN env var
# 4. crowdin upload sources
# 5. Translate in Crowdin
# 6. crowdin download translations
#
# Scope: repo-owned static docs only.
# Strapi-exported guides (guides/ and en/guides/) are excluded — managed
# via npm run export-strapi and committed as a snapshot, not translated here.
project_id: 883714
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: "."
base_url: "https://api.crowdin.com"
files:
- source: /bootstrap/cms/clawdie-site/src/content/docs/en/**/*.md
translation: /bootstrap/cms/clawdie-site/src/content/docs/%original_path%/%original_file_name%
ignore:
- /bootstrap/cms/clawdie-site/src/content/docs/en/guides/**
languages_mapping:
locale:
sl: ""