Const I18nProvider
I18nProvider: (Anonymous function) = observer(({messagesMapping, antdLocaleMapping, children}: I18nProviderProps) => {const mainStore = getMainStore();if (!mainStore || !mainStore.locale) {return null;}return (<IntlProvider locale={mainStore.locale} messages={messagesMapping[mainStore.locale]}><ConfigProvider locale={antdLocaleMapping[mainStore.locale]}>{children}</ConfigProvider></IntlProvider>);})