Translate abra output #640

Closed
opened 2024-10-02 12:06:43 +00:00 by fauno · 6 comments
Member

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.

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/canonical/go-gettext).
fauno added the
enhancement
label 2024-10-02 12:06:43 +00:00
Owner
https://github.com/urfave/cli/issues/980 👀
Author
Member

Oh oh, also providing localized dictionaries for secret generation would be cool too

Oh oh, also providing localized dictionaries for secret generation would be cool too
Author
Member
> https://github.com/urfave/cli/issues/980 👀 the pr was closed but not sure why https://github.com/urfave/cli/pull/1789
Owner

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

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: https://github.com/lxc/incus/tree/aaad08aa74dd7825d355824a5156d6e2666b013e/po
Owner
Annnnd https://github.com/spf13/cobra/issues/1134 Seems to be stuck there. Many recommend https://github.com/nicksnyder/go-i18n
Owner
https://git.coopcloud.tech/toolshed/abra/issues/483
Sign in to join this conversation.
No description provided.