Skip to content

Commit f7d17c9

Browse files
committed
feat: full support for turkish lang
1 parent b984228 commit f7d17c9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/components/dashboard/NavBar.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,14 @@ export const NavBar: React.FC<NavBarProps> = ({
574574
>
575575
Deutsch
576576
</MenuItem>
577+
<MenuItem
578+
onClick={() => {
579+
changeLanguage("tr");
580+
handleMenuClose();
581+
}}
582+
>
583+
Türkçe
584+
</MenuItem>
577585
<MenuItem
578586
onClick={() => {
579587
window.open('https://docs.maxun.dev/development/i18n', '_blank');

src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ i18n
1010
.init({
1111
fallbackLng: 'en',
1212
debug: import.meta.env.DEV,
13-
supportedLngs: ['en', 'es', 'ja', 'zh','de'],
13+
supportedLngs: ['en', 'es', 'ja', 'zh','de', 'tr'],
1414
interpolation: {
1515
escapeValue: false, // React already escapes
1616
},

0 commit comments

Comments
 (0)