Add turkish translation locale

This commit is contained in:
Meier Lukas
2023-05-04 06:06:39 +02:00
parent 1c0c9cc282
commit a0ad61beb8
2 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ module.exports = {
'el', 'el',
'sk', 'sk',
'no', 'no',
'tk',
], ],
localeDetection: true, localeDetection: true,

View File

@@ -151,6 +151,12 @@ export const languages: Language[] = [
translatedName: 'Greek', translatedName: 'Greek',
emoji: '🇬🇷', emoji: '🇬🇷',
}, },
{
shortName: 'tr',
originalName: 'Türkçe',
translatedName: 'Turkish',
emoji: '🇹🇷',
},
]; ];
export const getLanguageByCode = (code: string | null) => export const getLanguageByCode = (code: string | null) =>