Update supported languages

Add newly completely languages to the menu:
* Azerbaijani - was already importing locale as parent of Abkhaz, changed comment
* Hungarian, Pollish, Russian,
This commit is contained in:
chrisgarrity 2018-07-19 09:31:11 -04:00
parent 76b7864a36
commit a9813026e4
2 changed files with 11 additions and 1 deletions

View file

@ -1,5 +1,5 @@
import en from 'react-intl/locale-data/en'; import en from 'react-intl/locale-data/en';
import az from 'react-intl/locale-data/az'; // parent for Abkahz import az from 'react-intl/locale-data/az'; // also parent for Abkahz
import ca from 'react-intl/locale-data/ca'; import ca from 'react-intl/locale-data/ca';
import cs from 'react-intl/locale-data/cs'; import cs from 'react-intl/locale-data/cs';
import cy from 'react-intl/locale-data/cy'; import cy from 'react-intl/locale-data/cy';
@ -14,6 +14,7 @@ import ga from 'react-intl/locale-data/ga';
import gd from 'react-intl/locale-data/gd'; import gd from 'react-intl/locale-data/gd';
import gl from 'react-intl/locale-data/gl'; import gl from 'react-intl/locale-data/gl';
import he from 'react-intl/locale-data/he'; import he from 'react-intl/locale-data/he';
import hu from 'react-intl/locale-data/hu';
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';
@ -21,7 +22,9 @@ 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 pl from 'react-intl/locale-data/pl';
import pt from 'react-intl/locale-data/pt'; import pt from 'react-intl/locale-data/pt';
import ru from 'react-intl/locale-data/ru';
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 sk from 'react-intl/locale-data/sk';
import sr from 'react-intl/locale-data/sr'; import sr from 'react-intl/locale-data/sr';
@ -80,6 +83,7 @@ let localeData = [].concat(
gd, gd,
gl, gl,
he, he,
hu,
id, id,
it, it,
ja, ja,
@ -87,11 +91,13 @@ let localeData = [].concat(
nl, nl,
nb, nb,
nn, nn,
pl,
pt, pt,
sl, sl,
sk, sk,
sr, sr,
sv, sv,
ru,
th, th,
tr, tr,
uk, uk,

View file

@ -5,6 +5,7 @@
const locales = { const locales = {
'ab': {name: 'Аҧсшәа'}, 'ab': {name: 'Аҧсшәа'},
'az': {name: 'Azeri'},
'id': {name: 'Bahasa Indonesia'}, 'id': {name: 'Bahasa Indonesia'},
'ca': {name: 'Català'}, 'ca': {name: 'Català'},
'cs': {name: 'Česky'}, 'cs': {name: 'Česky'},
@ -27,11 +28,14 @@ const locales = {
'nl': {name: 'Nederlands'}, 'nl': {name: 'Nederlands'},
'ja': {name: '日本語'}, 'ja': {name: '日本語'},
'ja-Hira': {name: 'にほんご'}, 'ja-Hira': {name: 'にほんご'},
'hu': {name: 'Magyar'},
'nb': {name: 'Norsk Bokmål'}, 'nb': {name: 'Norsk Bokmål'},
'nn': {name: 'Norsk Nynorsk'}, 'nn': {name: 'Norsk Nynorsk'},
'th': {name: 'ไทย'}, 'th': {name: 'ไทย'},
'pl': {name: 'Polski'},
'pt': {name: 'Português'}, 'pt': {name: 'Português'},
'pt-br': {name: 'Português Brasileiro'}, 'pt-br': {name: 'Português Brasileiro'},
'ru': {name: 'Русский'},
'sr': {name: 'Српски'}, 'sr': {name: 'Српски'},
'sk': {name: 'Slovenčina'}, 'sk': {name: 'Slovenčina'},
'sl': {name: 'Slovenščina'}, 'sl': {name: 'Slovenščina'},