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

CLDR Ticket #11535(accepted)

Opened 4 months ago

Last modified 4 months ago

ST: examples for Currency are incorrect

Reported by: kristi Owned by: emmons
Component: currency Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

es-PE show a space between the currency symbol and the number when the format has no space: http://st.unicode.org/cldr-apps/v#/es_PE/Number_Formatting_Patterns/53687a25c19b6481
es_419 show no example in the information pane.

See attached screenshots

Attachments

Currency format with no exampleJPG.JPG (201.5 KB) - added by kristi 4 months ago.
Currency example with space.JPG (170.3 KB) - added by kristi 4 months ago.

Change History

Changed 4 months ago by kristi

Changed 4 months ago by kristi

comment:1 Changed 4 months ago by roozbeh

This appears to be due to the currencySpacing rules in root.xml:

<beforeCurrency>
    <currencyMatch>[:^S:]</currencyMatch>
    <surroundingMatch>[:digit:]</surroundingMatch>
    <insertBetween> </insertBetween>
 </beforeCurrency>

Since "/" has a general category of "Po", which is not S, a space is inserted.

comment:2 Changed 4 months ago by roozbeh

A solution to avoid confusing the user would be having two examples, one for a currency that ends in a symbol, and one that doesn't.

comment:3 Changed 4 months ago by mark

  • Owner changed from anybody to emmons
  • Priority changed from assess to medium
  • Status changed from new to accepted
  • Component changed from unknown to currency
  • Milestone changed from UNSCH to 35-optional

comment:4 follow-up: ↓ 5 Changed 4 months ago by mark

If people always want a space, put a space in the pattern.
If people never want a space, file a ticket to change beforeCurrency or afterCurrency.
Otherwise they get the default (space gets inserted except between symbols & digits).

Last edited 4 months ago by kristi (previous) (diff)

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

Apparently, the Root condition is only for Latin number system?
If so, we can't use this information to CLDR vetters as a general guidance and would have to specify that this is only for Latin number system. This seems fairly confusing. What can we do to break this clearly between code overrides vs. data?

Replying to mark:

If people always want a space, put a space in the pattern.
If people never want a space, file a ticket to change beforeCurrency or afterCurrency.
Otherwise they get the default (space gets inserted except between symbols & digits).

Last edited 4 months ago by kristi (previous) (diff)
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.