Documentation Localization
Documentation Localization
Section titled “Documentation Localization”Clawdie localizes documentation in two layers:
- authored source files in the git repo
- translated pages pulled from Crowdin and rendered by the shared Astro/Starlight docs project
This section describes the current workflow, not the older standalone astro-docs setup.
Current source of truth
Section titled “Current source of truth”- English source docs live in
docs/public/ - additional locales can live under
docs/public/<lang>/ - English is currently the default live docs locale for simplicity
The live docs site is built from the Astro project at:
- repo source:
bootstrap/cms/clawdie-site/ - cms jail runtime path:
/usr/home/<tenant>/<tenant>-site/
Current pipeline
Section titled “Current pipeline”1. Edit docs/public/*.md on the host2. Push source strings to Crowdin3. Translators work in Crowdin4. Pull translated markdown back into docs/public/<lang>/5. Run npm run deploy inside the cms jail Astro project6. docs.clawdie.si serves the new static outputWhat Crowdin is responsible for
Section titled “What Crowdin is responsible for”Crowdin manages translation strings and translated markdown content.
It does not:
- deploy the docs site
- build Astro output
- write directly into the live webroot
What Astro is responsible for
Section titled “What Astro is responsible for”The shared Astro/Starlight docs project:
- reads canonical markdown from
docs/public/ - syncs that content into the docs content tree
- builds locale-aware static pages
- deploys into the cms jail webroot
Supported current deploy path
Section titled “Supported current deploy path”The current supported docs deploy flow is:
cd /usr/home/<tenant>/<tenant>-sitenpm run deployThat deploy path runs the content sync and Astro build steps before publishing the result.
For the complete operator workflow, see Docs and tenant-site publishing.
Recommended usage
Section titled “Recommended usage”Use this section when you need to:
- understand where translations belong in git
- push source strings to Crowdin
- pull translated content back into the repo
- troubleshoot localization-specific build issues
Do not use older instructions that assume:
/home/clawdie/astro-docs/- direct
cporrsyncinto a host webroot - a separate standalone Astro deployment outside the
cmsjail