diff --git a/app/i18n/i18n-types.ts b/app/i18n/i18n-types.ts index 2b244d9bc0..f170b6d2dd 100644 --- a/app/i18n/i18n-types.ts +++ b/app/i18n/i18n-types.ts @@ -27,6 +27,7 @@ export type Locales = | 'pt' | 'qu' | 'ro' + | 'sk' | 'sr' | 'sw' | 'th' diff --git a/app/i18n/i18n-util.async.ts b/app/i18n/i18n-util.async.ts index 94fcb03706..410d2b2e2b 100644 --- a/app/i18n/i18n-util.async.ts +++ b/app/i18n/i18n-util.async.ts @@ -27,6 +27,7 @@ const localeTranslationLoaders = { pt: () => import('./pt'), qu: () => import('./qu'), ro: () => import('./ro'), + sk: () => import('./sk'), sr: () => import('./sr'), sw: () => import('./sw'), th: () => import('./th'), diff --git a/app/i18n/i18n-util.sync.ts b/app/i18n/i18n-util.sync.ts index 01c0c4e013..ae26eb963d 100644 --- a/app/i18n/i18n-util.sync.ts +++ b/app/i18n/i18n-util.sync.ts @@ -26,6 +26,7 @@ import nl from './nl' import pt from './pt' import qu from './qu' import ro from './ro' +import sk from './sk' import sr from './sr' import sw from './sw' import th from './th' @@ -54,6 +55,7 @@ const localeTranslations = { pt, qu, ro, + sk, sr, sw, th, diff --git a/app/i18n/i18n-util.ts b/app/i18n/i18n-util.ts index 28e4d2dc51..647f832203 100644 --- a/app/i18n/i18n-util.ts +++ b/app/i18n/i18n-util.ts @@ -32,6 +32,7 @@ export const locales: Locales[] = [ 'pt', 'qu', 'ro', + 'sk', 'sr', 'sw', 'th', diff --git a/app/i18n/mapping.ts b/app/i18n/mapping.ts index 6e10b9f59b..51ad098720 100644 --- a/app/i18n/mapping.ts +++ b/app/i18n/mapping.ts @@ -23,6 +23,7 @@ import "@formatjs/intl-relativetimeformat/locale-data/ms" import "@formatjs/intl-relativetimeformat/locale-data/pt" import "@formatjs/intl-relativetimeformat/locale-data/qu" import "@formatjs/intl-relativetimeformat/locale-data/ro" +import "@formatjs/intl-relativetimeformat/locale-data/sk" import "@formatjs/intl-relativetimeformat/locale-data/sr" import "@formatjs/intl-relativetimeformat/locale-data/sw" import "@formatjs/intl-relativetimeformat/locale-data/th" @@ -53,6 +54,7 @@ export const LocaleToTranslateLanguageSelector = { pt: "Português", qu: "Quechua", ro: "Română", + sk: "Slovensky", sr: "Српски", sw: "KiSwahili", th: "ไทย", diff --git a/app/i18n/sk/index.ts b/app/i18n/sk/index.ts new file mode 100644 index 0000000000..3ec79db80a --- /dev/null +++ b/app/i18n/sk/index.ts @@ -0,0 +1,9 @@ +import merge from "lodash.merge" + +import en from "../en" +import { Translation } from "../i18n-types" +import rawTranslated from "../raw-i18n/translations/sk.json" + +const translated: Translation = merge({}, en as Translation, rawTranslated) + +export default translated