From f7d17c9e907f68d285235eb42fefddb408e7adc0 Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 28 Jul 2025 22:21:06 +0530 Subject: [PATCH] feat: full support for turkish lang --- src/components/dashboard/NavBar.tsx | 8 ++++++++ src/i18n.ts | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index 42a533f8..2b2bd3cc 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -574,6 +574,14 @@ export const NavBar: React.FC = ({ > Deutsch + { + changeLanguage("tr"); + handleMenuClose(); + }} + > + Türkçe + { window.open('https://docs.maxun.dev/development/i18n', '_blank'); diff --git a/src/i18n.ts b/src/i18n.ts index c5e84364..96a84a6b 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -10,7 +10,7 @@ i18n .init({ fallbackLng: 'en', debug: import.meta.env.DEV, - supportedLngs: ['en', 'es', 'ja', 'zh','de'], + supportedLngs: ['en', 'es', 'ja', 'zh','de', 'tr'], interpolation: { escapeValue: false, // React already escapes },