Opened 6 years ago

Last modified 4 years ago

#18738 new defect

Hindi numeral calendar

Reported by: [email protected] 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 [email protected] 6 years ago.
'Problematic' area is highlighted with red color.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by [email protected]

Attachment: CalendarLite.PNG added

'Problematic' area is highlighted with red color.

comment:1 Changed 6 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 6 years ago by Adam Peller

see #3809 (the general case; note that Hebrew digits are generally used only in locale 'he' with the Hebrew Calendar)

Version 0, edited 6 years ago by Adam Peller (next)

comment:3 Changed 6 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 6 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 6 years ago by dylan

Milestone: tbd1.12

comment:6 Changed 4 years ago by dylan

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