From 2c2aa49e50cdb4d864b1e4cb070158fbd78623bc Mon Sep 17 00:00:00 2001 From: Mawoka Date: Wed, 11 May 2022 17:38:34 +0200 Subject: [PATCH] Added turkish configurations --- frontend/src/lib/i18n/i18n-service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/lib/i18n/i18n-service.ts b/frontend/src/lib/i18n/i18n-service.ts index a47011d..79e0e47 100644 --- a/frontend/src/lib/i18n/i18n-service.ts +++ b/frontend/src/lib/i18n/i18n-service.ts @@ -3,6 +3,7 @@ import translations from './translations'; import en from './locales/en.json'; import de from './locales/de.json'; import fr from './locales/fr.json'; +import tr from './locales/tr.json'; import LanguageDetector from 'i18next-browser-languagedetector'; import type { i18n, Resource } from 'i18next'; @@ -48,6 +49,7 @@ export class I18nService { this.i18n.addResourceBundle('en', 'translation', en); this.i18n.addResourceBundle('de', 'translation', de); this.i18n.addResourceBundle('fr', 'translation', fr); + this.i18n.addResourceBundle('tr', 'translation', tr); } changeLanguage(language: string): void {