|
|
@@ -5,6 +5,9 @@ import { Provider } from 'react-redux';
|
|
5
|
5
|
import { compose, createStore } from 'redux';
|
|
6
|
6
|
import Thunk from 'redux-thunk';
|
|
7
|
7
|
|
|
|
8
|
+import { I18nextProvider } from 'react-i18next';
|
|
|
9
|
+import { i18n } from '../../base/translation';
|
|
|
10
|
+
|
|
8
|
11
|
import {
|
|
9
|
12
|
localParticipantJoined,
|
|
10
|
13
|
localParticipantLeft
|
|
|
@@ -134,11 +137,13 @@ export class AbstractApp extends Component {
|
|
134
|
137
|
|
|
135
|
138
|
if (route) {
|
|
136
|
139
|
return (
|
|
137
|
|
- <Provider store = { this._getStore() }>
|
|
138
|
|
- {
|
|
139
|
|
- this._createElement(route.component)
|
|
140
|
|
- }
|
|
141
|
|
- </Provider>
|
|
|
140
|
+ <I18nextProvider i18n = { i18n }>
|
|
|
141
|
+ <Provider store = { this._getStore() }>
|
|
|
142
|
+ {
|
|
|
143
|
+ this._createElement(route.component)
|
|
|
144
|
+ }
|
|
|
145
|
+ </Provider>
|
|
|
146
|
+ </I18nextProvider>
|
|
142
|
147
|
);
|
|
143
|
148
|
}
|
|
144
|
149
|
|