Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my Linux there are some outdated translated mans installed. I want to prohibit man utility from showing them.

I want to do this permanently, while saving a current locale.

What environment settings should I change (setenv in .profile) to limit man to one language?

I have no root and can't just delete outdated mans or to strace a man utility.

share|improve this question
    
in the future, use the edit button to add details to your answer. :) –  studiohack Apr 27 '11 at 17:20

1 Answer 1

up vote 4 down vote accepted

Set LANG to C or to en_US. This will be affect of all programs unless you add an alias for man that sets the variable accordingly.

alias man='LANG=C man'

[edit: I tested it, LC_MESSAGES changed the error message language, but not the manpage language]

share|improve this answer
    
Hi, please look in the Q: "I want to do this permanently, while saving a current locale." - LANG is a locale. –  osgx Apr 27 '11 at 18:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.