Skip to content

feat: Add multi-language (i18n) support for CLI commands and error messages - #305

Open
Ozod1208 wants to merge 1 commit into
azimjohn:masterfrom
Ozod1208:master
Open

feat: Add multi-language (i18n) support for CLI commands and error messages#305
Ozod1208 wants to merge 1 commit into
azimjohn:masterfrom
Ozod1208:master

Conversation

@Ozod1208

@Ozod1208 Ozod1208 commented Aug 1, 2026

Copy link
Copy Markdown

Summary of Changes

  • Added internationalization (i18n) support using go:embed and standard JSON translation files.
  • Supported languages: English (en), Uzbek (uz), and Russian (ru).
  • Added jprq lang <uz|en|ru> command to allow users to switch CLI languages dynamically.
  • Refactored error handling and help commands to display translated messages based on user config.
  • Preserved existing CLI structure and configuration fields without breaking changes.

Testing

  • Tested jprq lang <lang> configuration persistence in ~/.jprq-config.
  • Verified help menu rendering and error message output in all supported languages (uz, ru, en).

@Ozod1208

Ozod1208 commented Aug 1, 2026

Copy link
Copy Markdown
Author

if you have any message:
tg:@hellolvg

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