Bug 154538 - Currency icon in LibreOffice Calc displays All States in a country with their language
Summary: Currency icon in LibreOffice Calc displays All States in a country with their...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Toolbars
  Show dependency treegraph
 
Reported: 2023-04-01 09:26 UTC by Basima
Modified: 2024-03-04 14:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
It shows all states in country (24.71 KB, image/png)
2023-04-01 09:26 UTC, Basima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Basima 2023-04-01 09:26:27 UTC
Created attachment 186391 [details]
It shows all states in country

In LibreOffice Calc, The Currency Icon displays All the States in a country with their native language. It supposed to display country with currency symbol. No need to show the states as the money values are remain same all over the country.
Comment 1 Tammy 2023-04-15 11:57:30 UTC
-Verified that the Currency icon does display the native language and the currency symbol next to it 
-Scrolling down the Currency icon list also displays separate currencies without the icons. 

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5e193d854596db714ca786c2a676b5ac9684d5eb
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Tammy 2023-04-15 11:58:50 UTC
Thank you for reporting the bug. I can confirm that the bug is present in
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Eike Rathke 2024-03-04 14:00:44 UTC
That is because the formats may differ and the locale (language+country+...) is encoded in the generated number format code. E.g.

EUR € Dutch (Netherlands)
[$€-413] #,##0.00;[RED][$€-413] #,##0.00-

EUR € German (Austria)
[$€-C07] #,##0.00;[RED]-[$€-C07] #,##0.00

EUR € German (Germany)
#,##0.00 [$€-407];[RED]-#,##0.00 [$€-407]

EUR € Irish
[$€-83C]#,##0.00;[RED]-[$€-83C]#,##0.00

You see that the position of the currency symbol is different, the position of the minus hyphen is different, whether blanks or not are used is different..

So, not a bug. But yes, this is a tad confusing, and the differences are only visible in the full number formatter dialog with its format code and preview.