🌐 Added Catalan
This commit is contained in:
@@ -5,6 +5,7 @@ import de from './locales/de.json';
|
|||||||
import fr from './locales/fr.json';
|
import fr from './locales/fr.json';
|
||||||
import tr from './locales/tr.json';
|
import tr from './locales/tr.json';
|
||||||
import id from './locales/id.json';
|
import id from './locales/id.json';
|
||||||
|
import ca from './locales/ca.json';
|
||||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||||
|
|
||||||
import type { i18n, Resource } from 'i18next';
|
import type { i18n, Resource } from 'i18next';
|
||||||
@@ -54,6 +55,7 @@ export class I18nService {
|
|||||||
this.i18n.addResourceBundle('fr', 'translation', fr);
|
this.i18n.addResourceBundle('fr', 'translation', fr);
|
||||||
this.i18n.addResourceBundle('tr', 'translation', tr);
|
this.i18n.addResourceBundle('tr', 'translation', tr);
|
||||||
this.i18n.addResourceBundle('id', 'translation', id);
|
this.i18n.addResourceBundle('id', 'translation', id);
|
||||||
|
this.i18n.addResourceBundle('ca', 'translation', ca);
|
||||||
}
|
}
|
||||||
|
|
||||||
changeLanguage(language: string): void {
|
changeLanguage(language: string): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user