Skip to content

feat(i18n): add Spanish as a built-in language - #107

Merged
joshunrau merged 1 commit into
mainfrom
feat/spanish-support
Jul 27, 2026
Merged

feat(i18n): add Spanish as a built-in language#107
joshunrau merged 1 commit into
mainfrom
feat/spanish-support

Conversation

@thomasbeaudry

Copy link
Copy Markdown
Collaborator

Summary

  • Add es: true to the base LanguageOptions type, making Spanish a first-class language alongside English and French.
  • Provide Spanish translations for all libui-internal UI strings (libui.json).
  • Add TRANSLATIONS.md documenting the translation system architecture and extension mechanism for downstream consumers.
  • Add a test for Spanish translation resolution.

All language keys remain optional — consumers that don't use Spanish are unaffected. The LanguageToggle component only shows languages explicitly passed to its options prop, so no UI changes occur unless the consumer opts in.

Test plan

  • All 178 existing tests pass
  • New Spanish translation test passes
  • Lint passes

🤖 Generated with Claude Code

Add `es` to the base `LanguageOptions` type and provide Spanish
translations for all libui-internal UI strings. Document the
translation system in TRANSLATIONS.md for downstream consumers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@thomasbeaudry
thomasbeaudry requested a review from joshunrau as a code owner July 23, 2026 23:27
@joshunrau
joshunrau merged commit 059164a into main Jul 27, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 6.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants