Update index.js to include Ukrainian localisation file
This commit is contained in:
+3
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user