This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 187
  [PATCH] tr_TR:LC_NUMERIC should use comma decimal point and 3 digit grouping Last modified: 2004-10-31 22:14
     Query page      Enter new bug
Bug#: 187   Hardware:   Reporter: Deniz Akkus Kanca <deniz@arayan.com>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Petter Reinholdtsen <pere@hungry.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
patch.tr_TR.LC_NUMERIC defines grouping as 3, grouping separator as a dot, and decimal point as a comma patch 2004-05-29 15:13 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 187 depends on: Show dependency tree
Show dependency graph
Bug 187 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2004-05-29 15:12
Hi, 
 
Turkish uses a comma (,) for the decimal point and has a grouping of 3, which 
uses a dot (.) as the separator.  
 
I noticed that the LC_NUMERIC section in tr_TR does not reflect this.  
 
Please find the attached small patch which should correct it.  
 
Many thanks and best regards, 
Deniz

------- Additional Comment #1 From Deniz Akkus Kanca 2004-05-29 15:13 -------
Created an attachment (id=95)
defines grouping as 3, grouping separator as a dot, and decimal point as a
comma

------- Additional Comment #2 From Petter Reinholdtsen 2004-07-17 08:46 -------
I've asked the original locale author Keld Simonsen to comment
on this change request.  I aldo tried to reach an earlier
contributor, "Nilg~n Belma Bug~ner", but his email address bounced.

------- Additional Comment #3 From Ulrich Drepper 2004-08-09 07:47 -------
Original poster: Provide references (in official web sites or newspapers) which
shows the behavior you want.

------- Additional Comment #4 From Deniz Akkus Kanca 2004-08-10 06:08 -------
(In reply to comment #2)
> I've asked the original locale author Keld Simonsen to comment
> on this change request.  I aldo tried to reach an earlier
> contributor, "Nilg~n Belma Bug~ner", but his email address bounced.
> 

Nilgun's email address is nilgun-at-belgeler-dot-org . 

------- Additional Comment #5 From Deniz Akkus Kanca 2004-08-10 06:23 -------
(In reply to comment #3)
> Original poster: Provide references (in official web sites or newspapers) which
> shows the behavior you want.

http://www.tuerkisch-lernen-online.de/forum/messages/3958.htm
This provides the relevant excerpt from the official "Imla Kilavuzu" (Spelling
Manual) of the Turk Dil Kurumu (Turkish Language Institute). Unfortunately, the
excerpt is in Turkish, but looking under nokta (.), you can see item 10, which
lists 8.375.562 27.870.197 as usage examples and looking under virgul (,), you
can see item 5, which lists 45,9 999,9 13,5 587,3 as usage examples. 

The Turk Dil Kurumu web site is at http://www.tdk.gov.tr Unfortunately, the web
site is in Turkish and they no longer have the Imla Kilavuzu on-line, which used
to be at http://www.tdk.gov.tr/imla/


------- Additional Comment #6 From Petter Reinholdtsen 2004-08-10 07:11 -------
If you want to check out this document now removed from the web,
have a look at the way back machine, 
<URL: http://web.archive.org/web/*/http://www.tdk.gov.tr/imla/ >.

------- Additional Comment #7 From Deniz Akkus Kanca 2004-08-10 07:25 -------
(In reply to comment #6)
> If you want to check out this document now removed from the web,
> have a look at the way back machine, 
> <URL: http://web.archive.org/web/*/http://www.tdk.gov.tr/imla/ >.
> 

Great! Please look at
http://web.archive.org/web/20030620080225/www.tdk.gov.tr/imla/kur09_01.htm for
usage of nokta (.), item 9 for use of the "dot" as thousands separator. 
Also, please look at:
http://web.archive.org/web/20020617190130/www.tdk.gov.tr/imla/kur09_02.htm
for usage of virgul (,), item 14 for use of the "comma" as the decimal separator.

------- Additional Comment #8 From Nilgün Belma Bugüner 2004-08-14 07:44 -------
(In reply to comment #2)
> I've asked the original locale author Keld Simonsen to comment
> on this change request.  I aldo tried to reach an earlier
> contributor, "Nilg~n Belma Bug~ner", but his email address bounced.
> 

The grammar rules published by the Turkish Language Institution (TDK)
make no distinciton between monetary and numerical representations.
However the monetary representation has gained public recognition 
because of the stress placed on this matter by the Turkish
Ministry of Finance. Nevertheless this representation is not as
well defined as in the documentation of th GNU C libraries
(probably because the related rule set was prepared during the pre-IT era).

On the other hand, due to the international nature of the scientific 
publications, the numerical representation has not been as widely 
accepted as the monetary representation. The fix I have sent you uses 
the publically accepted form of the rules that were left unspecified 
by the Turkish Language Institution.

It is possible not to make any grouping using the strfmon function. 
Therefore the same tersary grouping can be used in the numerical 
representation as in the monetary representation. The substitution of 
period with comma is possible by assigning "C" to the LC_NUMERIC variable. 
Consequently the current number representations adopted by the Turkish
Language Institution can be used both in the numerical and in the monetary 
representations, provided that their grammar rules stay the same 
(if not changed in the grammar rules currently being revised).

In order to end the current debate, the patch sent in can be assumed 
valid a priori.


------- Additional Comment #9 From Petter Reinholdtsen 2004-10-31 13:22 -------
*** Bug 422 has been marked as a duplicate of this bug. ***

------- Additional Comment #10 From Petter Reinholdtsen 2004-10-31 14:06 -------
I've just sent a patch fixing this and bug #421 to the
libc-hacker mailing list.  Now we wait for the glibc
maintainers to accept or reject that patch.

------- Additional Comment #11 From cvs-commit@gcc.gnu.org 2004-10-31 20:48 -------
Subject: Bug 187

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2004-10-31 20:48:25

Modified files:
	localedata/locales: tr_TR 

Log message:
	2004-10-31  Petter Reinholdtsen  <pere@hungry.com>
	
	[BZ #337]
	* locales/af_ZA: Change contact address from bug-glibc@gnu.org
	to libc-locales@sources.redhat.com.
	* locales/an_ES: Likewise.
	* locales/ar_AE: Likewise.
	* locales/ar_BH: Likewise.
	* locales/ar_DZ: Likewise.
	* locales/ar_EG: Likewise.
	* locales/ar_IN: Likewise.
	* locales/ar_IQ: Likewise.
	* locales/ar_JO: Likewise.
	* locales/ar_KW: Likewise.
	* locales/ar_LB: Likewise.
	* locales/ar_LY: Likewise.
	* locales/ar_MA: Likewise.
	* locales/ar_OM: Likewise.
	* locales/ar_QA: Likewise.
	* locales/ar_SA: Likewise.
	* locales/ar_SD: Likewise.
	* locales/ar_SY: Likewise.
	* locales/ar_TN: Likewise.
	* locales/ar_YE: Likewise.
	* locales/be_BY: Likewise.
	* locales/bn_IN: Likewise.
	* locales/br_FR@euro: Likewise.
	* locales/ca_ES: Likewise.
	* locales/ca_ES@euro: Likewise.
	* locales/cs_CZ: Likewise.
	* locales/da_DK: Likewise.
	* locales/de_AT: Likewise.
	* locales/de_AT@euro: Likewise.
	* locales/de_BE: Likewise.
	* locales/de_BE@euro: Likewise.
	* locales/de_CH: Likewise.
	* locales/de_DE: Likewise.
	* locales/de_DE@euro: Likewise.
	* locales/de_LU: Likewise.
	* locales/de_LU@euro: Likewise.
	* locales/el_GR: Likewise.
	* locales/el_GR@euro: Likewise.
	* locales/en_AU: Likewise.
	* locales/en_BW: Likewise.
	* locales/en_CA: Likewise.
	* locales/en_DK: Likewise.
	* locales/en_GB: Likewise.
	* locales/en_HK: Likewise.
	* locales/en_IE: Likewise.
	* locales/en_IE@euro: Likewise.
	* locales/en_IN: Likewise.
	* locales/en_NZ: Likewise.
	* locales/en_PH: Likewise.
	* locales/en_SG: Likewise.
	* locales/en_US: Likewise.
	* locales/en_ZW: Likewise.
	* locales/es_AR: Likewise.
	* locales/es_BO: Likewise.
	* locales/es_CL: Likewise.
	* locales/es_CO: Likewise.
	* locales/es_CR: Likewise.
	* locales/es_DO: Likewise.
	* locales/es_EC: Likewise.
	* locales/es_ES: Likewise.
	* locales/es_ES@euro: Likewise.
	* locales/es_GT: Likewise.
	* locales/es_HN: Likewise.
	* locales/es_MX: Likewise.
	* locales/es_NI: Likewise.
	* locales/es_PA: Likewise.
	* locales/es_PE: Likewise.
	* locales/es_PR: Likewise.
	* locales/es_PY: Likewise.
	* locales/es_SV: Likewise.
	* locales/es_US: Likewise.
	* locales/es_UY: Likewise.
	* locales/es_VE: Likewise.
	* locales/et_EE: Likewise.
	* locales/eu_ES: Likewise.
	* locales/eu_ES@euro: Likewise.
	* locales/fi_FI: Likewise.
	* locales/fi_FI@euro: Likewise.
	* locales/fo_FO: Likewise.
	* locales/fr_BE: Likewise.
	* locales/fr_BE@euro: Likewise.
	* locales/fr_CA: Likewise.
	* locales/fr_CH: Likewise.
	* locales/fr_FR: Likewise.
	* locales/fr_FR@euro: Likewise.
	* locales/fr_LU: Likewise.
	* locales/fr_LU@euro: Likewise.
	* locales/ga_IE: Likewise.
	* locales/ga_IE@euro: Likewise.
	* locales/gl_ES: Likewise.
	* locales/gl_ES@euro: Likewise.
	* locales/gu_IN: Likewise.
	* locales/gv_GB: Likewise.
	* locales/he_IL: Likewise.
	* locales/hi_IN: Likewise.
	* locales/hr_HR: Likewise.
	* locales/hu_HU: Likewise.
	* locales/id_ID: Likewise.
	* locales/is_IS: Likewise.
	* locales/it_CH: Likewise.
	* locales/it_IT: Likewise.
	* locales/it_IT@euro: Likewise.
	* locales/iw_IL: Likewise.
	* locales/ja_JP: Likewise.
	* locales/kk_KZ: Likewise.
	* locales/kl_GL: Likewise.
	* locales/kn_IN: Likewise.
	* locales/ko_KR: Likewise.
	* locales/kw_GB: Likewise.
	* locales/lo_LA: Likewise.
	* locales/lt_LT: Likewise.
	* locales/lv_LV: Likewise.
	* locales/ml_IN: Likewise.
	* locales/mn_MN: Likewise.
	* locales/mr_IN: Likewise.
	* locales/ms_MY: Likewise.
	* locales/mt_MT: Likewise.
	* locales/nb_NO: Likewise.
	* locales/nl_BE: Likewise.
	* locales/nl_BE@euro: Likewise.
	* locales/nl_NL: Likewise.
	* locales/nl_NL@euro: Likewise.
	* locales/nn_NO: Likewise.
	* locales/pa_IN: Likewise.
	* locales/pl_PL: Likewise.
	* locales/pt_BR: Likewise.
	* locales/pt_PT: Likewise.
	* locales/pt_PT@euro: Likewise.
	* locales/ro_RO: Likewise.
	* locales/ru_RU: Likewise.
	* locales/ru_UA: Likewise.
	* locales/sk_SK: Likewise.
	* locales/sl_SI: Likewise.
	* locales/sq_AL: Likewise.
	* locales/sv_FI: Likewise.
	* locales/sv_FI@euro: Likewise.
	* locales/sv_SE: Likewise.
	* locales/ta_IN: Likewise.
	* locales/te_IN: Likewise.
	* locales/th_TH: Likewise.
	* locales/tr_TR: Likewise.
	* locales/uk_UA: Likewise.
	* locales/ur_PK: Likewise.
	* locales/vi_VN: Likewise.
	* locales/wa_BE@euro: Likewise.
	* locales/zh_CN: Likewise.
	* locales/zh_HK: Likewise.
	* locales/zh_SG: Likewise.
	* locales/zh_TW: Likewise.
	[BZ #187]
	* locales/tr_TR: Add 'yY' and 'nN' to yesexpr and noexpr, to avoid
	surprises when using untranslated program.
	* locales/tr_TR: Remove trailing '.*' from yesexpr and noexpr to
	make it more like the structure of the POSIX locale values.
	* locales/tr_TR: Correct numeric decimal point to use comma, and
	correct grouping.
	Based on patches from Deniz Akkus Kanca and Nilgün Belma Bugüner.
	[BZ #421]
	* locales/tr_TR: Update with new currency symbol valid from
	2005-01-01.  Patch from Nilgün Belma Bugüner.
	* locales/tr_TR: Convert UTF-8 comment to <U#> notation.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/localedata/locales/tr_TR.diff?cvsroot=glibc&r1=1.18&r2=1.19


------- Additional Comment #12 From Petter Reinholdtsen 2004-10-31 22:14 -------
This problem is fixed in glibc CVS.  Resolving as fixed.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In