With Flex 4 beta 2, I can set dayNames and monthNames to my locale (th)
but not found any property about year's label.
Here is the year's display rules in my locale:
Look into the code of DateChooser.as, in the private method "updateDateDisplay":
yearDisplay.text = displayYear.toString() + yearSymbol;
This line means : the year label cannot modify.
Are there any suggestion or I have to write my own DateChooser?
The following picture shows my expected DateChooser.
if by "yearSymbol" you mean พ.ศ. that's really the "ERA designator" (..and flex
wanders off the i18n reservation once again).
i've heard of a couple of flex non-gregorian calendar libs floating around, not
sure if they handle BE calendar. i haven't looked at DateChooser in some time,
can you simply change the year display like that and not have the calendar
days/weeks display change as well (you can't simply add 543 to an AD date,
you'll still have a gregorian calendar date, just 543 years in the future)?
i guess "roll your own".