feat: implement core-i18n package with decentralized namespace support and integrate into landing and web apps

This commit is contained in:
Firman Ramdhani
2026-05-22 23:30:41 +07:00
parent 255704f867
commit 4655362ff4
25 changed files with 932 additions and 13 deletions
+14 -5
View File
@@ -15,10 +15,19 @@ initTelemetry({
import './main.css';
import { lazy, StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { setupI18n } from '@repo/core-i18n';
const App = lazy(() => import('./apps'));
createRoot(document.getElementById('app')!).render(
<StrictMode>
<App />
</StrictMode>,
);
async function bootstrap() {
// Initialize i18next and load language from secureStorage
await setupI18n();
createRoot(document.getElementById('app')!).render(
<StrictMode>
<App />
</StrictMode>,
);
}
bootstrap();