From 2ebd8603f672ecd6b118666286d6e9e0060f8188 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Thu, 19 Aug 2021 22:10:13 +0200 Subject: [PATCH] Fixed order of supportedLocales to have 'en' as fallback again --- src/services/i18n.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/i18n.service.ts b/src/services/i18n.service.ts index bd77991cf2..8bb867f570 100644 --- a/src/services/i18n.service.ts +++ b/src/services/i18n.service.ts @@ -8,8 +8,9 @@ export default class I18nService extends BaseI18nService { return await file.json(); }); + // Please leave 'en' where it is, as it's our fallback language in case no translation can be found this.supportedTranslationLocales = [ - 'az', 'en', 'be', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-IN', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', + 'en', 'az', 'be', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-IN', 'es', 'et', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lv', 'ml', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW', ];