diff --git a/package.json b/package.json index ba932c90..c3a8b02b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scratch-l10n", - "version": "3.2.0", + "version": "3.3.0", "description": "Localization for the Scratch 3.0 components", "main": "./dist/l10n.js", "browser": "./src/index.js", diff --git a/src/index.js b/src/index.js index 8e4465e1..c779f9d1 100644 --- a/src/index.js +++ b/src/index.js @@ -48,6 +48,7 @@ import sv from 'react-intl/locale-data/sv'; import th from 'react-intl/locale-data/th'; import tr from 'react-intl/locale-data/tr'; import uk from 'react-intl/locale-data/uk'; +import uz from 'react-intl/locale-data/uz'; import vi from 'react-intl/locale-data/vi'; import zh from 'react-intl/locale-data/zh'; import zu from 'react-intl/locale-data/zu'; @@ -131,6 +132,7 @@ let localeData = [].concat( th, tr, uk, + uz, vi, zh, zu diff --git a/src/supported-locales.js b/src/supported-locales.js index d5881fb9..0e6fcf38 100644 --- a/src/supported-locales.js +++ b/src/supported-locales.js @@ -43,10 +43,12 @@ const locales = { 'ja-Hira': {name: 'にほんご'}, 'nb': {name: 'Norsk Bokmål'}, 'nn': {name: 'Norsk Nynorsk'}, + 'uz': {name: 'Oʻzbekcha'}, 'th': {name: 'ไทย'}, 'pl': {name: 'Polski'}, 'pt': {name: 'Português'}, 'pt-br': {name: 'Português Brasileiro'}, + 'rap': {name: 'Rapa Nui'}, 'ro': {name: 'Română'}, 'ru': {name: 'Русский'}, 'sr': {name: 'Српски'}, @@ -66,6 +68,10 @@ const customLocales = { locale: 'ab', parentLocale: 'az' }, + 'rap': { + locale: 'rap', + parentLocale: 'es' + }, // TODO: replace zh-cn, zh-tw with zh-Hans and zh-Hant 'zh-cn': { locale: 'zh-cn',