hr_HR locale file has wrong thousands separator

Bug #1765422 reported by Krešimir Kovačević
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

/usr/share/i18n/locales/hr_HR file has wrong values for thousands_sep and mon_thousands_sep.
Current value is "<U202F>" it should be "."

Affected file is in locales package.

BR,
Krešimir

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: locales 2.27-0ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: MATE
Date: Thu Apr 19 16:21:23 2018
InstallationDate: Installed on 2018-04-16 (3 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
PackageArchitecture: all
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Krešimir Kovačević (kkovacev) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report. However, Ubuntu uses glibc's locale definitions, and this request really belongs there.

I did some research, and found that a plain space character was used in hr_HR previously. mon_thousands_sep was changed to "<U202F>" as a result of this bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=20756

Then thousands_sep was changed accordingly as part of the fix of this bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=10580

Please note that the patch with the latter change was written by a fellow-contryman of yours. He had previously suggested "." as you do now, but apparently accepted "<U202F>" as a proper separator for hr_HR.

I'd suggest that you get in touch with Dragan Stanojevic and discuss it with him. If the two of you agree that "." is more correct, then please file a new bug at sourceware.org.

Closing this bug.

Changed in glibc (Ubuntu):
status: New → Opinion
Revision history for this message
Krešimir Kovačević (kkovacev) wrote :

Hi Gunnar,

Thanks on detailed info.
I will contact Dragan Stanojević as you suggested.

FYI:
My background for changing " " => "." as thousands separator:

All CNB (Croatian National Bank) reports has . as thousands separator (www.hnb.hr).
All receipts that you will see in Croatia has . as thousands separator.
All banking apps use . as thousands separator (just checked few random banks).
Just browsed through Croatian Constitution, again ".".
Croatian Ministry of Finance use ".".
And most unpopular reason that I can think of: Windows 10 (and all previous versions) has "." as thousands and "," for decimal separator (numeric and monetary). You just forced me to find pc with windows :D

I do not know from where " " as thousands separator comes from.

BR,
Krešimir

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I'll give you another argument, which the glibc folks usually listen to: CLDR uses "." for grouping and "," as the decimal point. (That's probably where Windows got it.)

Good luck! :)

Revision history for this message
Krešimir Kovačević (kkovacev) wrote :

Hi,

Thanks Gunnar.
Seems it worked :D
https://sourceware.org/bugzilla/show_bug.cgi?id=23094

BR,
Krešimir

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Yeah, saw it, looks promising. Hopefully it will be committed soon and then included in Ubuntu 18.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.