Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add internationalization (i18n) support#109

Open
domcyrus wants to merge 2 commits into
main from
feat/i18n
Open

feat: add internationalization (i18n) support #109
domcyrus wants to merge 2 commits into
main from
feat/i18n

Conversation

@domcyrus

@domcyrus domcyrus commented Dec 24, 2025

Copy link
Copy Markdown
Owner

Add multi-language support using rust-i18n with 6 locales:

  • English (en) - source of truth
  • Spanish (es)
  • German (de)
  • French (fr)
  • Chinese (zh)
  • Russian (ru)

Features:

  • Automatic system locale detection via sys-locale
  • Manual override via --lang flag or RUSTNET_LANG env var
  • Translated CLI help text, UI labels, error messages
  • CI check to ensure all translation keys are consistent

The locale is detected before CLI parsing so that --help output is displayed in the user's language.

Add multi-language support using rust-i18n with 6 locales:
- English (en) - source of truth
- Spanish (es)
- German (de)
- French (fr)
- Chinese (zh)
- Russian (ru)
Features:
- Automatic system locale detection via sys-locale
- Manual override via --lang flag or RUSTNET_LANG env var
- Translated CLI help text, UI labels, error messages
- CI check to ensure all translation keys are consistent
The locale is detected before CLI parsing so that --help output
is displayed in the user's language.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /