Issue 30568 - South African locale number format uses comma instead of period for decimal point
Summary: South African locale number format uses comma instead of period for decimal p...
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@l10n
URL:
Keywords:
: 31056 34559 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-06-22 14:07 UTC by craigaa
Modified: 2018-08-30 21:24 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description craigaa 2004-06-22 14:07:42 UTC
When the default langauge is set to English (South Africa) the default decimal
point is a comma when it should be a period.

See http://www.123hostnow.com/articles/LCID.asp?LCID=7177#SHOW for the correct
format.

Traditionally, I have always set my locale to English (UK), so this bug may have
been in existance for a while.

Additional Note:
Whilst the 123HostNow site indicates the official date format for South Africa
being YYYY/MM/DD, the actual common usage in the country is DD/MM/YYYY.
Comment 1 craigaa 2004-06-22 14:16:56 UTC
Added David Fraser to cc.
Comment 2 frank 2004-06-22 16:08:15 UTC
Hi Eike,

according to this URL

http://www.southafrica.co.za/forex/

South Africa uses a dot as decimal separator.

Frank
Comment 3 ooo 2004-06-28 12:25:41 UTC
Some comments: the LCID listing from the URL above just replicates the Windows
regional settings. For the forex page Frank mentioned I would just guess that
they use some English settings to display data, and I wouldn't rely on that.
Note that
http://oss.software.ibm.com/cvs/icu/~checkout~/locale/diff/main/af_ZA.html lists
only Windows to use the separators you suggest, others don't and use decimal=,
group=[space]. On the other hand, according to
http://oss.software.ibm.com/cvs/icu/~checkout~/locale/diff/main/en_ZA.html, this
is different from the en_ZA locale, where all systems use the suggested
separators. So it seems we should change both, af_ZA and en_ZA, locale data to
use decimal=. and group=, Is this correct? Btw: it seems a bit strange to me
that according to Windows also the list/pattern separator should be a comma, in
most cases it's different from other separators and a semicolon.

For the date order mentioned please see
http://www.openoffice.org/issues/show_bug.cgi?id=26462 respectively it's parent
issue http://www.openoffice.org/issues/show_bug.cgi?id=22190, implementation now
follows the official YYYY/MM/DD order.
Comment 4 frank 2004-07-05 10:39:29 UTC
*** Issue 31056 has been marked as a duplicate of this issue. ***
Comment 5 frank 2004-09-24 09:11:59 UTC
*** Issue 34559 has been marked as a duplicate of this issue. ***
Comment 6 ooo 2004-10-27 16:49:31 UTC
On branch cws_src680_localedatafixes:
i18npool/source/localedata/data/af_ZA.xml 1.7.18.1
i18npool/source/localedata/data/en_ZA.xml 1.5.18.1

Both use decimal separator '.' point and group separator ',' comma now.
Comment 7 ooo 2004-11-03 13:47:46 UTC
Reopen to reassign.
Comment 8 ooo 2004-11-03 14:27:19 UTC
Reassign to QA.
Comment 9 ooo 2004-11-03 14:30:45 UTC
Restore status.
Comment 10 kla 2004-11-08 11:41:33 UTC
tk: Verified on branch cws_src680_localedatafixes
Comment 11 oc 2004-11-23 11:15:23 UTC
closed because fix available in OOo1.9m62
Comment 12 Gert van den Berg 2018-08-30 19:17:50 UTC
The official decimal separator for South Africa is a comma, however due to Windows having incorrect defaults until Windows 7, decimal points are in common use.

A comma should NEVER be used as a thousands separator in South Africa.

This post links to several official sources. https://sadev.co.za/content/how-correctly-format-currency-south-africa (THere is a SANS standard as well, can't quickly find the number)
Comment 13 Gert van den Berg 2018-08-30 19:20:09 UTC
To save the extra click, search for decimal separator in this document: http://www.gcis.gov.za/sites/default/files/editorial_styleguide_2011.pdf