v0.6.6
Added
-
Localization. Twelve languages — en, ru, tk, de, fr, es, zh, ja, tr, pt, ar,
he — throughSeedLocalizationsand an ordinaryLocalizationsDelegate, so
the kit follows the app's locale and changes with it at runtime. That is what
makes it work withintl,easy_localization,slangand the rest while
depending on none of them: they all set the app'sLocale, which is all the
delegate reads.ConfigProvider(locale:)overrides the delegate for a subtree, and
copyWithreplaces a single word without forking a language. A widget
property still beats both, and with nothing wired up at all the words fall
back to English rather than throwing — a widget kit has to draw in any
application.Every word but
noMoreItemsis taken from Ant Design's own locale files
rather than translated here.
Changed
Modal.okText,Modal.cancelTextand the same pair onPopconfirmare now
nullable, null meaning the word from the locale in scope. Passing a widget
works exactly as before.