From 45855681d58b212a703b2c8a6feda62176170474 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Mon, 17 Aug 2020 15:29:11 +0200 Subject: [PATCH] setup i18n for the application fixes: #23 --- src/index.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index e8e582d650..5740f822a3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,7 @@ import React from 'react'; import ReactDom from 'react-dom'; +import { I18nextProvider } from 'react-i18next'; +import { i18n } from './i18n'; import { App } from './App'; import init from './auth/keycloak'; @@ -11,11 +13,13 @@ import { HttpClient } from './http-service/http-client'; init().then((keycloak) => { const keycloakService = new KeycloakService(keycloak); ReactDom.render( - - - - - , + + + + + + + , document.getElementById('app') ); });