antd-crud-table API
    Preparing search index...

    Function useResolvedLocale

    • Resolve the language for a table from three sources, in order.

      1. An explicit locale prop, for overriding individual strings.
      2. The surrounding antd ConfigProvider, so a table follows the app.
      3. 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.

      Parameters

      Returns ResolvedLocale