PrepAway - Latest Free Exam Questions & Answers

Which command should be added to ~/.bash_profile to change the language of messages from an internationalised

Which command should be added to ~/.bash_profile to change the language of messages from an internationalised program to Portuguese (pt)?

(Select TWO correct answers)

PrepAway - Latest Free Exam Questions & Answers

A.
export LANGUAGE="pt"

B.
export MESSAGE="pt"

C.
export LANG="pt"

D.
export LC_MESSAGES="pt"

E.
export ALL_MESSAGES="pt"

Explanation:
From the man pages:
LANG Used to determine the locale category for any category not specifically selected with a variable starting with LC_.
LC_MESSAGES This variable determines the locale used to translate double-quoted strings preceded by a $.

A,B,E) are not valid internal bash variables.


Leave a Reply