We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d6a8d3 commit 5684524Copy full SHA for 5684524
src/containers/App/App.js
@@ -2,6 +2,7 @@ import React from 'react';
2
import {connect} from 'react-redux';
3
import PropTypes from 'prop-types';
4
5
+import {i18n as YDBComponentsI18N} from 'ydb-ui-components/build/components/i18n';
6
import {I18N, i18n} from '../../utils/i18n';
7
8
import ContentWrapper, {Content} from './Content';
@@ -25,7 +26,7 @@ class App extends React.Component {
25
26
constructor(props) {
27
super(props);
28
i18n.setLang(I18N.LANGS.en);
- I18N.setDefaultLang(I18N.LANGS.en); // for the peer dependency ydb-ui-components, should match the language above
29
+ YDBComponentsI18N.setLang(I18N.LANGS.en);
30
}
31
32
componentDidMount() {
0 commit comments