Project

Profile

Help

Bug #5324

open

format-integer: French ordinals

Added by Christian Grün 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2022-02-15
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

format-integer(7000, 'w;o', 'fr')

Expected: sept mille

Returned: six mille centième

The number 8000 should be checked, too (and possibly others).

Actions #1

Updated by Christian Grün 5 months ago

Sorry, it should have been format-integer in the title (it seems I don’t have enough permissions to fix this).

Actions #2

Updated by Michael Kay 5 months ago

  • Subject changed from format-date: French ordinals to format-integer: French ordinals
Actions #3

Updated by Michael Kay 5 months ago

Indeed, Saxon-HE produces six mille centième. Saxon-PE and -EE produce sept millième.

(Saxon-PE and -EE use ICU4J; Saxon-HE uses some user-contributed code attributed to Luc Rochefort.

Not sure what to do about this; the use of the old user-contributed numberers in Saxon-HE is an awkward compromise based primarily on commercial rather than technical considerations. We've wanted to get rid of them for years but we've been indecisive about dropping the localisation support entirely, versus supporting ICU4J in Saxon-HE. One way forward might be:

  • drop the user-contributed Numberers

  • for date/time formatting in Saxon-HE, use whatever the JDK gives us - for all languages that the JDK supports

  • for spell-out numbering, drop the feature from Saxon-HE.

This would be consistent with what we do for collation support.

Please register to edit this issue

Also available in: Atom PDF