Closed mhf-ir closed 5 years ago
https://github.com/tc39/ecma402/issues/6
What is "other stuff"? Vague requests usually never get implemented.
Here some of useful implementation: Multiple calendar step for many countries: Demo: https://www.time.ir/ In Iran we use three calendar. As CLDR data many countries has more than one calendars. https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/calendarPreferenceData.json statistics: https://mhf-ir.github.io/i18nplease/
I am still not sure exactly what you are requesting with this issue.
I don't think it's very likely that we will implement some mechanism of pulling relevant data from CLDR directly. If something gets implemented in JS like the spec Kael linked to, that's another story. It's up to the developer to use appropriate values with the props we expose.
persian gregorian islamic islamic-civil islamic-tbla
order or in Japan they use gregorian japanese
and other stuff.Many component need i18n process dont repeat your self and follow the standards like angular team. I donno about other components but datetime picker is always problem for us. many comonent like measurements or etc may be same follow
Thank you.
This issue is being closed due to:
Problem to solve
Add standard CLDR Data for i18n for many usecases
Proposed solution
For example if locale select
fa-IR
cldr json for getfirst-day-of-week
see: https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json#L130 As saturday.And other stuff.
You could just add build process to extract useful data from cldr repository. https://github.com/unicode-cldr/cldr-json