From f0a9d334656c12c2c4fe31f35e5571228d052a5d Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Thu, 12 Jul 2018 13:43:00 -0400 Subject: [PATCH] update supported languages Additional languages for the preview menu --- src/index.js | 6 ++++++ src/supported-locales.js | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a93e90e2..a882ab70 100644 --- a/src/index.js +++ b/src/index.js @@ -7,6 +7,7 @@ import da from 'react-intl/locale-data/da'; import de from 'react-intl/locale-data/de'; import el from 'react-intl/locale-data/el'; import es from 'react-intl/locale-data/es'; +import et from 'react-intl/locale-data/et'; import fi from 'react-intl/locale-data/fi'; import fr from 'react-intl/locale-data/fr'; import ga from 'react-intl/locale-data/ga'; @@ -16,11 +17,13 @@ import he from 'react-intl/locale-data/he'; import id from 'react-intl/locale-data/id'; import it from 'react-intl/locale-data/it'; import ja from 'react-intl/locale-data/ja'; +import ko from 'react-intl/locale-data/ko'; import nl from 'react-intl/locale-data/nl'; import nb from 'react-intl/locale-data/nb'; import nn from 'react-intl/locale-data/nn'; import pt from 'react-intl/locale-data/pt'; import sl from 'react-intl/locale-data/sl'; +import sk from 'react-intl/locale-data/sk'; import sr from 'react-intl/locale-data/sr'; import sv from 'react-intl/locale-data/sv'; import th from 'react-intl/locale-data/th'; @@ -70,6 +73,7 @@ let localeData = [].concat( de, el, es, + et, fi, fr, ga, @@ -79,11 +83,13 @@ let localeData = [].concat( id, it, ja, + ko, nl, nb, nn, pt, sl, + sk, sr, sv, th, diff --git a/src/supported-locales.js b/src/supported-locales.js index 5c925658..d4cd964d 100644 --- a/src/supported-locales.js +++ b/src/supported-locales.js @@ -11,6 +11,7 @@ const locales = { 'cy': {name: 'Cymraeg'}, 'da': {name: 'Dansk'}, 'de': {name: 'Deutsch'}, + 'et': {name: 'Eesti'}, 'el': {name: 'Ελληνικά'}, 'en': {name: 'English'}, 'es': {name: 'Español'}, @@ -19,17 +20,20 @@ const locales = { 'ga': {name: 'Gaeilge'}, 'gd': {name: 'Gàidhlig'}, 'gl': {name: 'Galego'}, + 'ko': {name: '한국어'}, 'he': {name: 'עִבְרִית'}, 'it': {name: 'Italiano'}, - 'ja': {name: '日本語'}, 'mi': {name: 'Maori'}, 'nl': {name: 'Nederlands'}, + 'ja': {name: '日本語'}, + 'ja-Hira': {name: 'にほんご'}, 'nb': {name: 'Norsk Bokmål'}, 'nn': {name: 'Norsk Nynorsk'}, 'th': {name: 'ไทย'}, 'pt': {name: 'Português'}, 'pt-br': {name: 'Português Brasileiro'}, 'sr': {name: 'Српски'}, + 'sk': {name: 'Slovenčina'}, 'sl': {name: 'Slovenščina'}, 'fi': {name: 'Suomi'}, 'sv': {name: 'Svenska'},