102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 24


Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to

Portuguese (pt)?

Show Answer
Correct Answer: B

The correct command to change the language of messages for an internationalized program to Portuguese (pt) when starting a login shell is 'export LC_MESSAGES="pt"'. This is because the LC_MESSAGES environment variable specifically controls the localization of messages in programs, and setting it to 'pt' will ensure that messages are displayed in Portuguese.

Discussion

2 comments
Sign in to comment
d3iroOption: B
Sep 5, 2022

Correct answer: LC_MESSAGES= Source: https://www.ibm.com/docs/en/aix/7.1?topic=locales-understanding-locale-environment-variables

d3iro
Sep 5, 2022

LC_MESSAGES=pt

rakeshjha18Option: B
Jul 7, 2023

ryt ans b