exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 3 question 17 discussion

Actual exam question from CompTIA's LX0-104
Question #: 17
Topic #: 3
[All LX0-104 Questions]

Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to
Portuguese (pt)?

  • A. export LANGUAGE="pt"
  • B. export MESSAGE="pt"
  • C. export UI_MESSAGES="pt"
  • D. export LC_MESSAGES="pt"
  • E. export ALL_MESSAGES="pt"
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
The export LC_MESSAGES="pt" command sets the locale-specific information for the LC_MESSAGES environment variable to Portuguese (denoted by "pt"). This locale-specific information determines the language and cultural information used by various system tools, such as the gettext utility, to translate messages and other texts into the local language. When this environment variable is set, all subsequent programs that are executed in the same shell environment will use the specified locale for LC_MESSAGES.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago