LFCS · 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. To correct the currency display from '$' to the appropriate French currency symbol, the user must alter the system's locale settings.
Question
Options
- AAlter the locale.
- BSet the timezone correctly.
- CEdit /etc/currency.
- DReinstall the French language pack.
How the community answered
(34 responses)- A88% (30)
- B3% (1)
- C3% (1)
- D6% (2)
Why each option
To correct the currency display from '$' to the appropriate French currency symbol, the user must alter the system's locale settings.
Locale settings define cultural conventions including currency symbols, date and time formats, and numeric separators. Changing the locale to a French-specific one (e.g., `fr_FR.UTF-8`) will apply the correct currency symbol and other regional formatting for spreadsheets and other applications.
Setting the timezone correctly only affects time display and has no impact on currency symbols or other monetary formatting.
`/etc/currency` is not a standard Linux configuration file for currency symbols; locale settings are the appropriate mechanism for this configuration.
Reinstalling the language pack only ensures the language files are present; it does not guarantee the correct locale is activated or applied for specific formatting needs.
Concept tested: Locale configuration for currency
Source: https://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html
Topics
Community Discussion
No community discussion yet for this question.