Opened 4 years ago

Last modified 23 months ago

#18738 new defect

Hindi numeral calendar

Reported by: fira@… Owned by: Adam Peller
Priority: undecided Milestone: 1.14
Component: Dojox Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

Numerals in dijit.CalendarLite? should be Hindi when lang is set to 'ar' (Arabic)

Attachments (1)

CalendarLite.PNG (5.2 KB) - added by fira@… 4 years ago.
'Problematic' area is highlighted with red color.

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by fira@…

Attachment: CalendarLite.PNG added

'Problematic' area is highlighted with red color.

comment:1 Changed 4 years ago by bill

Component: GeneralDojox
Owner: set to Adam Peller
Summary: Numerals in dijit.CalendarLite widget should be Hindi when lang is set to 'ar'Hindi numeral calendar

I think the idea is to do that in dojox/date rather than dijit. Like http://download.dojotoolkit.org/release-1.10.4/dojo-release-1.10.4/dojox/date/tests/test_DateTextBoxNewHebrewGreg.html.

Dijit itself isn't supporting any calendars with non-western digits.

comment:2 Changed 4 years ago by Adam Peller

see #3809 This is the general case; note that Hebrew digits are generally used only in locale 'he' with the Hebrew Calendar, whereas Hindi numerals should be used throughout? There's been some browser support for this in IE and FF.

Last edited 4 years ago by Adam Peller (previous) (diff)

comment:3 Changed 4 years ago by bill

Thanks for the link. I guess there's also #18623. Would the changes needed to dojo.number be non-trivial? It seems like a simple regex replacement. But that might be too drastic, if it started affecting inputting values into (for example) dijit/form/NumberTextBox.

comment:4 Changed 4 years ago by Adam Peller

IIRC, I had a patch that attempted to substitute a locale-specific regexp representing the new digits. Appropriate hooks had to be placed to do the substitutions. It was non-trivial.

comment:5 Changed 4 years ago by dylan

Milestone: tbd1.12

comment:6 Changed 23 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.