Update index.js to include Ukrainian localisation file
parent
ef6e521272
commit
8f4a5aff4e
|
|
@ -36,6 +36,7 @@ import messagesSpanish from './translations/es';
|
||||||
import messagesCroatian from './translations/hr';
|
import messagesCroatian from './translations/hr';
|
||||||
import messagesCzech from './translations/cs';
|
import messagesCzech from './translations/cs';
|
||||||
import messagesItalian from './translations/it';
|
import messagesItalian from './translations/it';
|
||||||
|
import messagesUkrainian from './translations/uk';
|
||||||
|
|
||||||
import './index.css';
|
import './index.css';
|
||||||
|
|
||||||
|
|
@ -59,7 +60,8 @@ const messages =
|
||||||
'es' : messagesSpanish,
|
'es' : messagesSpanish,
|
||||||
'hr' : messagesCroatian,
|
'hr' : messagesCroatian,
|
||||||
'cs' : messagesCzech,
|
'cs' : messagesCzech,
|
||||||
'it' : messagesItalian
|
'it' : messagesItalian,
|
||||||
|
'uk' : messagesUkrainian
|
||||||
};
|
};
|
||||||
|
|
||||||
const locale = navigator.language.split(/[-_]/)[0]; // language without region code
|
const locale = navigator.language.split(/[-_]/)[0]; // language without region code
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue