Hard code Spanish and Hebrew List Format support in 67.1 until we got CLDR data in place

Description

We are waiting for CLDR to complete https://unicode-org.atlassian.net/browse/CLDR-13563 to have data for Spanish and Hebrew to support list format correct.

For 67.1, we will temp hard code the cases for Spanish and Hebrew in C++ and Java code and later remove them and use the CLDR for a data driven approach. A separate ticket for removal this will be file and reference later.

Activity

Show:
Frank Yung-Fong Tang
March 11, 2020, 6:45 PM
Edited



Spanish

AND

Use `e` instead of `y` in the following cases (exceptions):

  1. Last word starts with hi/i but not with

    1. (`hie` & `hia`)

    2. (for more sophisticated implementations) Last word is a foreign word starting with `h`” where the `H` is pronounced

[Need examples for #1, #2]

Spanish

OR

Use `u` instead of `o` in the following cases (exceptions):

  1. The last word starts with `o/ho`

  2. The last word is a foreign word starting with `ho-` where the `h` stands for `/x/`, e.g. `homeless /xóm.les/`. Thus would lead to severely incorrect false positives. (not too frequent, though)

  3. The last word starts with `8, 8…`

  4. The last word starts with `11, 11.000.000, 11.000, 11.000…….`

[Need examples 1, 3, 4]

Hebrew

AND

The CLDR end/2 patterns should change from “‏{0} ו{1}‏” to "‏{0} ו-{1}‏" (adding hyphen-minus between “ו” and “{1}”) if the value substituted for {1} begins with something other than a Hebrew letter, such as a digit 0-9 or a Latin-script letter.

[Need examples]

Hebrew

OR

No special handling



 

Frank Yung-Fong Tang
March 11, 2020, 7:34 PM

Test data
fascinante e increíblemente
Comunicaciones Industriales e IIoT
España e Italia
volteó e impresionó
clausuró e intervino
hijas intrépidas e hijos solidarios
Durant e Irving
a un hombre e hirieron a otro
oro y hierro

Frank Yung-Fong Tang
March 11, 2020, 7:35 PM

ECMA 402 bug

Frank Yung-Fong Tang
March 15, 2020, 5:46 AM

hijos e hijas

code pending for review in

Fixed

Assignee

Frank Yung-Fong Tang

Reporter

Frank Yung-Fong Tang

Components

Labels

Reviewer

None

Priority

critical

Time Needed

Days

Fix versions

Configure