update supported languages

Additional languages for the preview menu
This commit is contained in:
chrisgarrity 2018-07-12 13:43:00 -04:00
parent 6f638e28b0
commit f0a9d33465
2 changed files with 11 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import da from 'react-intl/locale-data/da';
import de from 'react-intl/locale-data/de'; import de from 'react-intl/locale-data/de';
import el from 'react-intl/locale-data/el'; import el from 'react-intl/locale-data/el';
import es from 'react-intl/locale-data/es'; 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 fi from 'react-intl/locale-data/fi';
import fr from 'react-intl/locale-data/fr'; import fr from 'react-intl/locale-data/fr';
import ga from 'react-intl/locale-data/ga'; 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 id from 'react-intl/locale-data/id';
import it from 'react-intl/locale-data/it'; import it from 'react-intl/locale-data/it';
import ja from 'react-intl/locale-data/ja'; 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 nl from 'react-intl/locale-data/nl';
import nb from 'react-intl/locale-data/nb'; import nb from 'react-intl/locale-data/nb';
import nn from 'react-intl/locale-data/nn'; import nn from 'react-intl/locale-data/nn';
import pt from 'react-intl/locale-data/pt'; import pt from 'react-intl/locale-data/pt';
import sl from 'react-intl/locale-data/sl'; 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 sr from 'react-intl/locale-data/sr';
import sv from 'react-intl/locale-data/sv'; import sv from 'react-intl/locale-data/sv';
import th from 'react-intl/locale-data/th'; import th from 'react-intl/locale-data/th';
@ -70,6 +73,7 @@ let localeData = [].concat(
de, de,
el, el,
es, es,
et,
fi, fi,
fr, fr,
ga, ga,
@ -79,11 +83,13 @@ let localeData = [].concat(
id, id,
it, it,
ja, ja,
ko,
nl, nl,
nb, nb,
nn, nn,
pt, pt,
sl, sl,
sk,
sr, sr,
sv, sv,
th, th,

View file

@ -11,6 +11,7 @@ const locales = {
'cy': {name: 'Cymraeg'}, 'cy': {name: 'Cymraeg'},
'da': {name: 'Dansk'}, 'da': {name: 'Dansk'},
'de': {name: 'Deutsch'}, 'de': {name: 'Deutsch'},
'et': {name: 'Eesti'},
'el': {name: 'Ελληνικά'}, 'el': {name: 'Ελληνικά'},
'en': {name: 'English'}, 'en': {name: 'English'},
'es': {name: 'Español'}, 'es': {name: 'Español'},
@ -19,17 +20,20 @@ const locales = {
'ga': {name: 'Gaeilge'}, 'ga': {name: 'Gaeilge'},
'gd': {name: 'Gàidhlig'}, 'gd': {name: 'Gàidhlig'},
'gl': {name: 'Galego'}, 'gl': {name: 'Galego'},
'ko': {name: '한국어'},
'he': {name: 'עִבְרִית'}, 'he': {name: 'עִבְרִית'},
'it': {name: 'Italiano'}, 'it': {name: 'Italiano'},
'ja': {name: '日本語'},
'mi': {name: 'Maori'}, 'mi': {name: 'Maori'},
'nl': {name: 'Nederlands'}, 'nl': {name: 'Nederlands'},
'ja': {name: '日本語'},
'ja-Hira': {name: 'にほんご'},
'nb': {name: 'Norsk Bokmål'}, 'nb': {name: 'Norsk Bokmål'},
'nn': {name: 'Norsk Nynorsk'}, 'nn': {name: 'Norsk Nynorsk'},
'th': {name: 'ไทย'}, 'th': {name: 'ไทย'},
'pt': {name: 'Português'}, 'pt': {name: 'Português'},
'pt-br': {name: 'Português Brasileiro'}, 'pt-br': {name: 'Português Brasileiro'},
'sr': {name: 'Српски'}, 'sr': {name: 'Српски'},
'sk': {name: 'Slovenčina'},
'sl': {name: 'Slovenščina'}, 'sl': {name: 'Slovenščina'},
'fi': {name: 'Suomi'}, 'fi': {name: 'Suomi'},
'sv': {name: 'Svenska'}, 'sv': {name: 'Svenska'},