Resolve the language for a table from three sources, in order.
An explicit locale prop, for overriding individual strings.
The surrounding antd ConfigProvider, so a table follows the app.
English, when there is no provider at all.
Step 3 is the one that matters most in practice. antd's components read
their own ConfigProvider, which ProConfigProvider's intl does not
feed, so a table rendered outside any provider showed English chrome from
ProTable next to Chinese pagination and modal buttons from antd. Supplying
an explicit antd locale in that case is what makes the default coherent.
Resolve the language for a table from three sources, in order.
localeprop, for overriding individual strings.ConfigProvider, so a table follows the app.Step 3 is the one that matters most in practice. antd's components read their own
ConfigProvider, whichProConfigProvider'sintldoes not feed, so a table rendered outside any provider showed English chrome from ProTable next to Chinese pagination and modal buttons from antd. Supplying an explicit antd locale in that case is what makes the default coherent.