Skip to content

Commit ab02380

Browse files
committed
chore: add i18n config for uikit
1 parent 5cd5de0 commit ab02380

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/containers/App/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import {connect} from 'react-redux';
33
import PropTypes from 'prop-types';
44

5+
import {configure as configureUiKit} from '@yandex-cloud/uikit';
56
import {i18n as YDBComponentsI18N} from 'ydb-ui-components';
67
import {i18n, Lang} from '../../utils/i18n';
78

@@ -27,6 +28,9 @@ class App extends React.Component {
2728
super(props);
2829
i18n.setLang(Lang.En);
2930
YDBComponentsI18N.setLang(Lang.En);
31+
configureUiKit({
32+
lang: Lang.En,
33+
});
3034
}
3135

3236
componentDidMount() {

0 commit comments

Comments
 (0)