LFCS · Question #75
What is NOT contained in the locale setting of the operating system?
The correct answer is C. timezone. Locale settings define language, cultural conventions, and formatting, but they do not include the system's timezone.
Question
Options
- Acurrency symbol
- Blanguage
- Ctimezone
- Dthousands separator
How the community answered
(22 responses)- B5% (1)
- C91% (20)
- D5% (1)
Why each option
Locale settings define language, cultural conventions, and formatting, but they do not include the system's timezone.
The currency symbol is part of the `LC_MONETARY` locale category, which dictates monetary formatting.
The language (e.g., messages, collation rules) is a primary component of locale settings, influenced by `LANG` and `LC_MESSAGES`.
The timezone setting is configured separately, typically via `/etc/localtime` or tools like `timedatectl`, and is not part of the standard locale categories (LC_*) like LC_TIME or LC_MONETARY.
The thousands separator is part of the `LC_NUMERIC` locale category, which dictates numeric formatting.
Concept tested: Linux locale components
Source: https://man7.org/linux/man-pages/man7/locale.7.html
Topics
Community Discussion
No community discussion yet for this question.