From cc1506b4354239418d84e46dfe3871ca110a0a1a Mon Sep 17 00:00:00 2001 From: Nipun Arora Date: Thu, 28 Mar 2024 10:53:52 +0530 Subject: [PATCH] testing localization fix --- micro-ui/web/packages/core/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micro-ui/web/packages/core/src/App.js b/micro-ui/web/packages/core/src/App.js index 248267511eb..7187a926dfa 100644 --- a/micro-ui/web/packages/core/src/App.js +++ b/micro-ui/web/packages/core/src/App.js @@ -44,7 +44,7 @@ registerRemotes(queryClient) const App = () => { const {t} = useTranslation() - console.log(t("CORE_COMMON_LOGIN"),"In Core Module") + console.log(window.i18next.t("CORE_COMMON_LOGIN"),"In Core Module") const { login, history, isSignedIn$, logout } = useAuth(); const { navigate } = useRouter(); const enabledModules=["PT","HRMS","Workbench","DSS","Measurement"]