-
Notifications
You must be signed in to change notification settings - Fork 40.6k
Makes kubectl respect the LC_ALL
and LC_MESSAGES
env vars
#69500
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
Conversation
/ok-to-test |
While you're at it I guess yeah it would be nice to support /kind feature |
Implements the following locale lookup priority order: `LC_MESSAGES`, `LC_ALL`, `LANG`.
LC_MESSAGES
env varLC_ALL
and LC_MESSAGES
env vars
/retest |
@soltysh I added support for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: m1kola, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
The
LC_ALL
andLC_MESSAGES
env vars can now be used to set desired locale forkubectl
while keepingLANG
unchanged.Which issue(s) this PR fixes:
Fixes kubernetes/kubectl#476
Special notes for your reviewer:
UPD: This PR now also implements support of
LC_ALL
(see #69500 (comment))I'm not sure if we want to support
LANGUAGE
andLC_ALL
to implement the priority order described here. See my question in the original issue.Release note:
/sig cli