Skip to content

feat: add Spanish (es) locale for Dashboard and CLI - #1

Open
xunilzita-git wants to merge 1 commit into
vbgate:mainfrom
xunilzita-git:feat/spanish-i18n
Open

feat: add Spanish (es) locale for Dashboard and CLI#1
xunilzita-git wants to merge 1 commit into
vbgate:mainfrom
xunilzita-git:feat/spanish-i18n

Conversation

@xunilzita-git

Copy link
Copy Markdown

Summary

Adds full Spanish (es) i18n alongside English and Chinese so SuperTask can be used natively by Spanish-speaking operators.

Dashboard

  • Full ES message catalog (same keys as EN/ZH)
  • Language switcher button ES
  • Cookie supertask_locale, ?lang=es, and Accept-Language negotiation for es
  • Intl formatting via es-ES

CLI

  • --lang es / SUPERTASK_LANG=es
  • Auto-detect from Spanish system locales (es_*)
  • Human-readable help, doctor, and database summaries in Spanish
  • cliText(zh, en, es) with English fallback when ES is omitted

Docs & tests

  • README.es.md and cross-links from EN/ZH docs
  • CHANGELOG + operations notes
  • CLI language tests and browser smoke for the ES switcher

Test plan

  • bun run typecheck
  • bun run lint
  • bun test tests/cli-language.test.ts
  • bun run build
  • supertask --lang es --help shows Spanish
  • Dashboard with supertask_locale=es renders «Cola de tareas»
  • CI green on this PR

Add full Spanish i18n alongside English and Chinese so SuperTask can be
used natively by Spanish-speaking operators without losing upgrades.

- Dashboard: ES message catalog, language switcher, Accept-Language/cookie
- CLI: --lang es / SUPERTASK_LANG=es and Spanish system locale auto-detect
- Docs: README.es.md, changelog, operations notes
- Tests: CLI language coverage and browser language switch smoke
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.

2 participants