Skip to content

Add multi-language support (English, German, French, Spanish) - #5

Merged
nilres merged 1 commit into
masterfrom
feature/multilanguage
Oct 21, 2026
Merged

nilres merged 1 commit into
masterfrom
feature/multilanguage

Conversation

@nilres

@nilres nilres commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • New crate openecraft-i18n: language state, tr / tr_fmt! / tr_const! and a tab separated catalog with ~900 texts in English, German, French and Spanish
  • Editor and parts manager UI, generated reports, check messages, title block labels and built-in symbol names are translated
  • View › Language menu (editor) and language menu (parts manager); the choice is persisted, default is the OS / browser language
  • AGENTS.md: every feature must be available in all four languages (others optional)
  • Tests: catalog completeness and placeholders, source coverage, glyphs of translations, no untranslated widget literals

Notes

  • Translations are machine-written and should be reviewed by native speakers
  • Text stored in the project (e.g. page descriptions) and file formats / CSV headers are not translated

Test plan

  • cargo test --workspace
  • cargo clippy --workspace --all-targets and wasm clippy, no warnings
  • Web build checked in German and French

🤖 Generated with Claude Code

- New crate openecraft-i18n: language state, tr / tr_fmt! / tr_const!
  lookup and a tab separated translation catalog (~900 texts)
- Translate the editor and the parts manager UI, generated reports,
  check messages, title block labels and built-in symbol names
- View > Language menu (editor) and language menu (parts manager);
  choice is persisted, default is the OS / browser language
- Tests: catalog completeness, placeholders, source coverage, glyphs
  of translations, and no untranslated widget literals
- AGENTS.md: all features must be available in all four languages
@nilres
nilres merged commit 2b30bc6 into master Oct 21, 2026
6 of 8 checks passed
@nilres
nilres deleted the feature/multilanguage branch October 25, 2026 17:30
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