LX0-104 · Question #294
A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in spreadsheets. Which of the following must be done to fix this?
The correct answer is A. Alter the locale.. Currency display, including the symbol and formatting, is determined by the system's locale settings, so changing the locale to a French-specific setting is necessary to correct the currency symbol.
Question
Options
- AAlter the locale.
- BSet the timezone correctly.
- CEdit /etc/currency.
- DReinstall the French language pack.
How the community answered
(18 responses)- A78% (14)
- B6% (1)
- C6% (1)
- D11% (2)
Why each option
Currency display, including the symbol and formatting, is determined by the system's locale settings, so changing the locale to a French-specific setting is necessary to correct the currency symbol.
Locale settings dictate regional formats for currency, numbers, dates, and language. Even with a French language pack installed, if the `LC_MONETARY` or overall `LANG` locale isn't set to a French-specific locale, the currency symbol might default to a generic or system-wide setting. Altering the locale variables ensures the correct currency symbol is used.
Setting the timezone correctly affects time display, not currency symbols or other locale-specific formatting.
There is no standard `/etc/currency` file in Linux that directly controls the currency symbol for applications like spreadsheets; locale settings are the primary mechanism.
Reinstalling the language pack is unlikely to fix the issue, as the language pack provides the translations, but the active locale configuration determines how those translations and regional formats are applied.
Concept tested: Linux locale currency configuration
Source: https://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html
Topics
Community Discussion
No community discussion yet for this question.