diff --git a/src/index.js b/src/index.js index 790b370e..b8cc4f82 100644 --- a/src/index.js +++ b/src/index.js @@ -7,6 +7,7 @@ import ar from 'react-intl/locale-data/ar'; import az from 'react-intl/locale-data/az'; // also parent for Abkahz import bg from 'react-intl/locale-data/bg'; import ca from 'react-intl/locale-data/ca'; +import ckb from 'react-intl/locale-data/ckb'; import cs from 'react-intl/locale-data/cs'; import cy from 'react-intl/locale-data/cy'; import da from 'react-intl/locale-data/da'; @@ -15,6 +16,7 @@ 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 eu from 'react-intl/locale-data/eu'; +import fa from 'react-intl/locale-data/fa'; import fi from 'react-intl/locale-data/fi'; import fr from 'react-intl/locale-data/fr'; import ga from 'react-intl/locale-data/ga'; @@ -86,6 +88,7 @@ let localeData = [].concat( az, // parent for Abkahz bg, ca, + ckb, cs, cy, da, @@ -94,6 +97,7 @@ let localeData = [].concat( es, et, eu, + fa, fi, fr, ga, diff --git a/src/supported-locales.js b/src/supported-locales.js index 934f78ee..a0804741 100644 --- a/src/supported-locales.js +++ b/src/supported-locales.js @@ -21,6 +21,7 @@ const locales = { 'es': {name: 'Español'}, 'es-419': {name: 'Español Latinoamericano'}, 'eu': {name: 'Euskara'}, + 'fa': {name: 'فارسی'}, 'fr': {name: 'Français'}, 'ga': {name: 'Gaeilge'}, 'gd': {name: 'Gàidhlig'}, @@ -31,6 +32,7 @@ const locales = { 'zu': {name: 'isiZulu'}, 'is': {name: 'Íslenska'}, 'it': {name: 'Italiano'}, + 'ckb': {name: 'کوردیی ناوەندی'}, 'lv': {name: 'Latviešu'}, 'lt': {name: 'Lietuvių'}, 'hu': {name: 'Magyar'}, @@ -93,6 +95,8 @@ const localeMap = { // list of RTL locales supported, and a function to check whether a locale is RTL const rtlLocales = [ 'ar', + 'ckb', + 'fa', 'he' ];