feat: full support for turkish lang

This commit is contained in:
Rohit
2025-07-28 22:21:06 +05:30
parent b984228003
commit f7d17c9e90
2 changed files with 9 additions and 1 deletions

View File

@@ -574,6 +574,14 @@ export const NavBar: React.FC<NavBarProps> = ({
>
Deutsch
</MenuItem>
<MenuItem
onClick={() => {
changeLanguage("tr");
handleMenuClose();
}}
>
Türkçe
</MenuItem>
<MenuItem
onClick={() => {
window.open('https://docs.maxun.dev/development/i18n', '_blank');

View File

@@ -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
},