theideasaler / calendar_date_picker2

Lightweight and highly customizable calendar picker built on Flutter's original CalendarDatePicker, with support for multi and range modes.
https://pub.dev/packages/calendar_date_picker2
Apache License 2.0
118 stars 141 forks source link

Invalid locale "yue_Hant_HK" when using Cantonese as system language #202

Closed konnanl closed 1 week ago

konnanl commented 2 months ago

iOS now support Cantonese as system language. However intl not supported it yet.

calendar_date_picker2 should provide the method to fallback the locale for any unsupported locale.

sdzfg347 commented 1 week ago

Hi @konnanl, there is no specific locale set by this package. I would recommend to wrap this widget inside your own widget and then you can take care of the fallback logics inside your own wrapper.