Translate abra output #640
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Abra should be able to detect LANG env var and change the language of the output accordingly. This would help onboard new non-English speaking operators :)
I'm not sure how golang manages translations, but I found a golang gettext port apparently maintained by Canonical.
https://github.com/urfave/cli/issues/980 👀
decentral1se referenced this issue from coop-cloud/backup-bot-two2024-10-28 16:23:40 +00:00
Oh oh, also providing localized dictionaries for secret generation would be cool too
the pr was closed but not sure why
https://github.com/urfave/cli/pull/1789
Just bumped into this elsewhere, the Incus CLI tool has translations baked into and it looks pretty fucking cool. Also, agnostic of the CLI library:
aaad08aa74/po
Annnnd https://github.com/spf13/cobra/issues/1134
Seems to be stuck there.
Many recommend https://github.com/nicksnyder/go-i18n
toolshed/abra#483