atwoodcai1991
atwoodcai1991
when i debugger, I found `I18nProvider` not exec, and `lang=''`
thanks your comment, i found that [next-translate-plugin](https://linear.app/vercel/issue/NEXT-translate-plugin)'s template code didn't insert bundle. when work with federation import ${INTERNAL_CONFIG_KEY} from '@next-translate-root/i18n' import __appWithI18n from 'next-translate/appWithI18n' ${pagePkg.getCode()} export default __appWithI18n(${pageVariableName}, { ...${INTERNAL_CONFIG_KEY},...
"next-translate": "^2.5.0", "next-translate-plugin": "^2.4.4",
here is the data of NEXT_DATA: looks like ok! {"props":{"pageProps":{"__lang":"uk-UA","__namespaces":{"common":{"mc_common_footer_about_us":"Про нас","mc_common_footer_about":"Про біржу MEXC",............."mc_common_sidebar_customer_hotline_working_hours":"Working Hours: {{workingHours}}"}}},"__N_SSG":true},"page":"/","query":{},"buildId":"development","isFallback":false,"gsp":true,"locale":"uk-UA","locales":["en-US","ru-RU","tr-TR","vi-VN","id-ID","ja-JP","ko-KR","pt-PT","es-ES","it-IT","zh-TW","zh-CN","fa-IR","de-DE","fil-PH","fr-FR","th-TH","ar-AE","uk-UA"],"defaultLocale":"en-US","scriptLoader":[]} BUT page shows the key words: mc_common_footer_about
i debug the code,i get the resolutions: first, @module-federation/nextjs-mf will insert a template code to `_app.page.js` ``` "use client"; (globalThis || self).placeholderModuleEnsure = () => { throw new Error('should not...