You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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:Maybe adding
go-i18n
would be a good thing?Just preflighting the idea and what the maintainers think about?
The text was updated successfully, but these errors were encountered: