Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-language support for cobra keywords. #1519

Closed
dirien opened this issue Oct 26, 2021 · 3 comments
Closed

Multi-language support for cobra keywords. #1519

dirien opened this issue Oct 26, 2021 · 3 comments
Labels
kind/feature A feature request for cobra; new or enhanced behavior

Comments

@dirien
Copy link

dirien commented Oct 26, 2021

I wanted to include go-i18n currently too into my project and quickly found out that its not so easy to translate the cobra usages messages.

I found SetUsageTemplate to complicated if you just want a different lang for:

Usage:
  x [flags]
  x [command]

Available Commands:
  completion  generate the autocompletion script for the specified shell
Flags:
Use "minectl [command] --help" for more information about a command.

Maybe adding go-i18n would be a good thing?

Just preflighting the idea and what the maintainers think about?

@dirien
Copy link
Author

dirien commented Oct 26, 2021

Releated to -> #1134

@github-actions
Copy link

This issue is being marked as stale due to a long period of inactivity

@johnSchnake johnSchnake added the kind/feature A feature request for cobra; new or enhanced behavior label Feb 15, 2022
@dirien
Copy link
Author

dirien commented Feb 23, 2022

Will close this for now.

@dirien dirien closed this as completed Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A feature request for cobra; new or enhanced behavior
Projects
None yet
Development

No branches or pull requests

2 participants