Update index.js to include Ukrainian localisation file
This commit is contained in:
committed by
Mészáros Mihály
parent
ef6e521272
commit
8f4a5aff4e
+3
-1
@@ -36,6 +36,7 @@ import messagesSpanish from './translations/es';
|
||||
import messagesCroatian from './translations/hr';
|
||||
import messagesCzech from './translations/cs';
|
||||
import messagesItalian from './translations/it';
|
||||
import messagesUkrainian from './translations/uk';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -59,7 +60,8 @@ const messages =
|
||||
'es' : messagesSpanish,
|
||||
'hr' : messagesCroatian,
|
||||
'cs' : messagesCzech,
|
||||
'it' : messagesItalian
|
||||
'it' : messagesItalian,
|
||||
'uk' : messagesUkrainian
|
||||
};
|
||||
|
||||
const locale = navigator.language.split(/[-_]/)[0]; // language without region code
|
||||
|
||||
Reference in New Issue
Block a user