Skip to content

docs: full Spanish translation of the docs site (i18n)#42

Merged
jjuanrivvera99 merged 2 commits into
developfrom
docs/spanish-i18n
Jun 11, 2026
Merged

docs: full Spanish translation of the docs site (i18n)#42
jjuanrivvera99 merged 2 commits into
developfrom
docs/spanish-i18n

Conversation

@jjuanrivvera99

Copy link
Copy Markdown
Member

Alegra is a Spanish-speaking LATAM product, so the docs now ship in Spanish alongside English.

What this adds

  • mkdocs-static-i18n plugin (suffix structure, fallback to English) with a header language switcher and a fully translated nav (nav_translations).
  • All 21 hand-written narrative pages translated to *.es.md: home, getting-started (install / auth / quickstart), cookbook, the 6 guides, the 7 user-guide pages, and the 4 reference pages including the vs-official-MCP comparison.
  • The 381 auto-generated command-reference pages stay English (they mirror the CLI's English --help) and fall back automatically under the Spanish locale — translating them would drift on every make docs-gen.

Translation approach

Six parallel passes, all under one glossary and a strict rule set: only prose / headings / table cells / admonition text / link text were translated; code blocks, command names, flags, env vars, paths, and URLs were left verbatim; internal .md link paths preserved (the plugin resolves the locale). Natural neutral-LATAM Spanish (tuteo), not machine translation.

Config notes

  • git-revision-date-localized moved after i18n (plugin requires it).
  • Dropped navigation.instant — incompatible with the i18n contextual language switcher.
  • docs.yml now installs mkdocs-static-i18n.

Verification

  • mkdocs build --strict passes; the es/ site builds (verified site/es/reference/vs-official-mcp/index.html).
  • Remaining build warnings are git-revision-date notices for the new (uncommitted-at-build-time) files; they clear once committed and do not abort strict mode.

Follow-up (minor, optional)

A few inline code-comment lines inside bash examples were left in English by some passes (quickstart's were translated since that page is mostly comments). Can be swept for full consistency later.

Alegra is a Spanish-speaking (LATAM) product, so the docs now ship in
Spanish alongside English. Adds the mkdocs-static-i18n plugin (suffix
structure, fallback to English) with a header language switcher and a
fully translated nav.

All 21 hand-written narrative pages are translated to *.es.md (home,
getting-started, cookbook, guides, user guide, reference incl. the
vs-official-MCP comparison). The 381 auto-generated command-reference
pages stay English (they mirror the CLI's English --help) and fall back
automatically under the Spanish locale.

- mkdocs.yml: i18n plugin + nav_translations; git-revision-date moved
  after i18n (plugin ordering requirement); dropped navigation.instant
  (incompatible with the i18n language switcher)
- docs.yml: install mkdocs-static-i18n in the build
- mkdocs build --strict passes
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fcd5c8b6-5744-4383-b6c2-3129b7ae2f3f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/spanish-i18n

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Probed mcp.alegra.com/oauth/register: it is a CLOSED allow-list. Only
Alegra's integration-partner callbacks (claude.ai and ChatGPT) are
accepted (201); arbitrary HTTPS, custom URI schemes (vscode://,
cursor://), and all loopback (localhost/127.0.0.1) are rejected (400
invalid_redirect_uri). So no terminal/CLI/self-hosted MCP client
(Claude Code, Cursor, OpenCode, OpenClaw, Hermes) can complete the
flow. Replaced the looser 'rejects loopback' wording and the unverified
'Claude Desktop' with the two confirmed partners. EN + ES.
@jjuanrivvera99 jjuanrivvera99 merged commit ab84253 into develop Jun 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant