feat: full support for turkish lang
This commit is contained in:
@@ -574,6 +574,14 @@ export const NavBar: React.FC<NavBarProps> = ({
|
|||||||
>
|
>
|
||||||
Deutsch
|
Deutsch
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
<MenuItem
|
||||||
|
onClick={() => {
|
||||||
|
changeLanguage("tr");
|
||||||
|
handleMenuClose();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Türkçe
|
||||||
|
</MenuItem>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
window.open('https://docs.maxun.dev/development/i18n', '_blank');
|
window.open('https://docs.maxun.dev/development/i18n', '_blank');
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ i18n
|
|||||||
.init({
|
.init({
|
||||||
fallbackLng: 'en',
|
fallbackLng: 'en',
|
||||||
debug: import.meta.env.DEV,
|
debug: import.meta.env.DEV,
|
||||||
supportedLngs: ['en', 'es', 'ja', 'zh','de'],
|
supportedLngs: ['en', 'es', 'ja', 'zh','de', 'tr'],
|
||||||
interpolation: {
|
interpolation: {
|
||||||
escapeValue: false, // React already escapes
|
escapeValue: false, // React already escapes
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user