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

Fix locale env var LANG to LANGUAGE #215

Merged
merged 1 commit into from
Oct 12, 2016
Merged

Fix locale env var LANG to LANGUAGE #215

merged 1 commit into from
Oct 12, 2016

Conversation

kotakanbe
Copy link
Member

LANGUAGE is more priority than LANG.

http://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html

2.3.2 Locale Environment Variables

A locale is composed of several locale categories, see Aspects. When a program looks up locale dependent values, it does this according to the following environment variables, in priority order:

 LANGUAGE
 LC_ALL
 LC_xxx, according to selected locale category: LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES, ...
 LANG

@kotakanbe kotakanbe merged commit b964d19 into master Oct 12, 2016
@kotakanbe kotakanbe deleted the lang-to-language branch October 12, 2016 11:08
@kotakanbe kotakanbe added the bug label Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant