diff --git a/src/i18n/languages.js b/src/i18n/languages.js index 33a98f8e133450819e6c0a4ecf18ad677a9e5a33..475bf5ac2b38df1cf5f1bb612cb7bfaf535f8dd0 100644 --- a/src/i18n/languages.js +++ b/src/i18n/languages.js @@ -22,6 +22,7 @@ const languages = [ 'nl', 'oc', 'pl', + 'pdc', 'pt', 'ro', 'ru', diff --git a/src/i18n/service_worker_messages.js b/src/i18n/service_worker_messages.js index f691f1c48d9570ea28d72a1b3ab4d678f513199f..a4e6d60ad02d0c53078bebea349e3907f3739c50 100644 --- a/src/i18n/service_worker_messages.js +++ b/src/i18n/service_worker_messages.js @@ -25,6 +25,7 @@ const messages = { oc: require('../lib/notification-i18n-loader.js!./oc.json'), pl: require('../lib/notification-i18n-loader.js!./pl.json'), pt: require('../lib/notification-i18n-loader.js!./pt.json'), + pdc: require('../lib/notification-i18n-loader.js!./pdc.json'), ro: require('../lib/notification-i18n-loader.js!./ro.json'), ru: require('../lib/notification-i18n-loader.js!./ru.json'), sk: require('../lib/notification-i18n-loader.js!./sk.json'), diff --git a/src/services/locale/locale.service.js b/src/services/locale/locale.service.js index 24ed3cdb724056bb150142ccc1bb47b75e380113..9a96cf012128b36e42697c9173c727d580b76328 100644 --- a/src/services/locale/locale.service.js +++ b/src/services/locale/locale.service.js @@ -3,6 +3,7 @@ import ISO6391 from 'iso-639-1' import _ from 'lodash' const specialLanguageCodes = { + pdc: 'en', ja_easy: 'ja', zh_Hant: 'zh-HANT', zh: 'zh-Hans' @@ -18,6 +19,7 @@ const internalToBackendLocaleMulti = codes => { const getLanguageName = (code) => { const specialLanguageNames = { + pdc: 'Pennsilfaanisch-Deitsch', ja_easy: 'ã‚„ã•ã—ã„ã«ã»ã‚“ã”', 'nan-TW': '臺語(閩å—語)', zh: '简体ä¸æ–‡',