🌐 Added Catalan

This commit is contained in:
Mawoka
2022-06-24 17:52:59 +02:00
parent 459c44d7c1
commit fba285c9e0
+2
View File
@@ -5,6 +5,7 @@ import de from './locales/de.json';
import fr from './locales/fr.json';
import tr from './locales/tr.json';
import id from './locales/id.json';
import ca from './locales/ca.json';
import LanguageDetector from 'i18next-browser-languagedetector';
import type { i18n, Resource } from 'i18next';
@@ -54,6 +55,7 @@ export class I18nService {
this.i18n.addResourceBundle('fr', 'translation', fr);
this.i18n.addResourceBundle('tr', 'translation', tr);
this.i18n.addResourceBundle('id', 'translation', id);
this.i18n.addResourceBundle('ca', 'translation', ca);
}
changeLanguage(language: string): void {