LX0-104 · Question #537
Which of the following is NOT contained in the locale setting of the operating system?
The correct answer is C. Timezone. While timezone is crucial for localization, it is typically managed separately from locale settings, which primarily define cultural conventions for language, formatting, and character sets.
Question
Options
- ACurrency symbol
- BLanguage
- CTimezone
- DThousands separator
How the community answered
(48 responses)- B2% (1)
- C94% (45)
- D4% (2)
Why each option
While timezone is crucial for localization, it is typically managed separately from locale settings, which primarily define cultural conventions for language, formatting, and character sets.
The currency symbol (e.g., `$` for USD) is part of the `LC_MONETARY` locale category.
Language (e.g., en_US.UTF-8) is a fundamental aspect of locale settings, influencing messages and text processing.
Locale settings (like `LC_ALL`, `LC_CTYPE`, `LC_NUMERIC`, `LANG`) primarily define language, character encoding, numeric formatting (e.g., thousands separator, decimal point), currency symbols, date and time formats, and collation order. Timezone is handled by separate system configuration, often via `/etc/timezone` or `/etc/localtime` linked to `/usr/share/zoneinfo`.
The thousands separator (e.g., comma in 1,000) is part of the `LC_NUMERIC` locale category.
Concept tested: Locale vs. Timezone configuration
Source: https://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html
Topics
Community Discussion
No community discussion yet for this question.