We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58673cb commit 4d20f7eCopy full SHA for 4d20f7e
micro-frontends/src/next-ui/Components/i18n/utils.js
@@ -10,7 +10,7 @@ export const getTranslations = async (locale) => {
10
const fileName = `locale_${locale}.json`;
11
12
try {
13
- return await fetchTranslations(`${NEXT_UI_CONFIG_PATH}${translationsBaseUrl}/micro-frontends-dist/${fileName}`);
+ return await fetchTranslations(`${NEXT_UI_CONFIG_PATH}${translationsBaseUrl}/micro-frontends-dist/next-ui/${fileName}`);
14
} catch (error) {
15
console.warn(`Primary translation file not found, falling back to secondary: ${error.message}`);
16
return await fetchTranslations(`${BASE_URL}${translationsBaseUrl}/${fileName}`);
0 commit comments