[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #10718(accepted)

Opened 13 months ago

Last modified 3 weeks ago

Sign position in nl inconsistent between standard and compact notation

Reported by: shane Owned by: kristi
Component: fix-in-survey-tool Data Locale:
Phase: dsub Review: mellie
Weeks: Data Xpath:
Xref:

Description

Locale nl, en_NL, and es_PY have the following pattern for currency.

¤ #,##0.00;¤ -#,##0.00

However, none of these locales have explicit negative subpatterns in compact currency notation. This results in the following output for negative currencies when following all formatting rules (example in nl):

€ -98
€ -981
-€ 9,8K
-€ 98K

Presumably it would be better if the entries with the thousands suffix also put the sign after the currency symbol. In other words, the compact patterns should get the appropriate negative subpatterns.

I'm using nl as an example, but the same problem probably applies to the dozen other locales with nonstandard positions for their sign.

Attachments

Change History

comment:1 Changed 7 months ago by mark

That seems simply wrong. I suggest adding a test for consistency of currency pattern with compact currency patterns.

comment:2 Changed 7 months ago by mark

  • Keywords google added

Add google keyword: should also add GoogleIssue:XXX if available

comment:3 Changed 5 months ago by mark

  • Owner changed from anybody to SurveyTool
  • Priority changed from assess to major
  • Status changed from new to accepted
  • Review set to mellie
  • Milestone changed from UNSCH to 34

comment:4 follow-up: ↓ 5 Changed 5 months ago by jslingerland@…

Hi,

In the patterns above, there are two aspects I'd like to address:

1). As opposed to the English notation, Dutch takes a period sign to clarify numbers that exceed 9999, and a comma sign to express decimals. Therefore I think the pattern should rather be ¤ #.##0,00;¤ -#.##0,00.

2). Considering the request: indeed, the negative/minus sign should always be located after the € sign (and a space), so:
€ -98K/€ -9,8K/€ -98.560,12.

I cannot explain why the pattern does not result in this outcome (with respect to the minus sign). But then again, I am just a simple translator.

comment:5 in reply to: ↑ 4 Changed 5 months ago by shane

  • Cc jslingerland@… added

Replying to jslingerland@…:

1). As opposed to the English notation, Dutch takes a period sign to clarify numbers that exceed 9999, and a comma sign to express decimals. Therefore I think the pattern should rather be ¤ #.##0,00;¤ -#.##0,00.

Patterns always use ',' for grouping and '.' for decimal, and the implementation substitutes in the correct locale symbol at runtime. See the spec:

http://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns

2). Considering the request: indeed, the negative/minus sign should always be located after the € sign (and a space), so:
€ -98K/€ -9,8K/€ -98.560,12.

I cannot explain why the pattern does not result in this outcome (with respect to the minus sign). But then again, I am just a simple translator.

I did't post the compact currency data in the OP. Here it is in CLDR 33.1:

https://unicode.org/cldr/trac/browser/tags/release-33-1/common/main/nl.xml#L10431

For example:

<pattern type="1000" count="one">¤ 0K</pattern>

comment:6 Changed 4 weeks ago by pedberg

  • Milestone changed from 34 to upcoming

CLDR 34 BRS closing item, move all open 34 → upcoming

comment:7 Changed 3 weeks ago by mark

  • Owner changed from SurveyTool to kristi
  • Component changed from currency to survey-submit

comment:8 Changed 3 weeks ago by mark

  • Milestone changed from upcoming to 35-optional
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.