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

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)

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)

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 0

Your email address will not be published. Required fields are marked *