Skip to content

Commit 4d20f7e

Browse files
authored
A-1208586834272224 | Intl support for micro-frontends (#1016)
1 parent 58673cb commit 4d20f7e

File tree

1 file changed

+1
-1
lines changed
  • micro-frontends/src/next-ui/Components/i18n

1 file changed

+1
-1
lines changed

micro-frontends/src/next-ui/Components/i18n/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const getTranslations = async (locale) => {
1010
const fileName = `locale_${locale}.json`;
1111

1212
try {
13-
return await fetchTranslations(`${NEXT_UI_CONFIG_PATH}${translationsBaseUrl}/micro-frontends-dist/${fileName}`);
13+
return await fetchTranslations(`${NEXT_UI_CONFIG_PATH}${translationsBaseUrl}/micro-frontends-dist/next-ui/${fileName}`);
1414
} catch (error) {
1515
console.warn(`Primary translation file not found, falling back to secondary: ${error.message}`);
1616
return await fetchTranslations(`${BASE_URL}${translationsBaseUrl}/${fileName}`);

0 commit comments

Comments
 (0)